claude-skills
AGENTS.md4 starsChanged 8 days agoMITView on GitHub
Canonical project instructions for coding agents. Maintain shared guidance here. Guidance for Claude Code (claude.ai/code) when working in this repository. The Claude Agent Skills Stack: a collection of self-contained skills, each bundling the tools, references, and validation scripts an autonomous agent needs to operate independently. Historical: the skill once named helm-chart-generator became helm-bjw-s-chart (renamed in v3.0.0). Update any lingering reference to the old name (directory, asset filename, or skill name). Every entry-point script runs via uv run and declares its…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,266 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository5 other files it gives its agents.
- apple-shortcutsSkill
- automode-configSkill
- cheap-orchestrationSkill
- dockerfile-best-practicesSkill
- helm-bjw-s-chartSkill
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 35
Every entry-point script runs via uv run and declares its dependencies inline as a PEP 723 header (# /// script block), so uv run <script> …
- Very specific: line 70
POSIX text: every text file ends with a newline (\n) and uses LF line endings.
- Very specific: line 71
Python via uv: use uv for dependency management.
- Very specific: line 100
Python Scripts: Use uv for dependency management whenever possible.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
Canonical project instructions for coding agents. Maintain shared guidance here.
Guidance for Claude Code (claude.ai/code) when working in this repository.
Repository Overview
The Claude Agent Skills Stack: a collection of self-contained skills, each bundling the tools, references, and validation scripts an autonomous agent needs to operate independently.
Architecture
skills/<skill-name>/
├── SKILL.md # Entry point with YAML front-matter (name, description, metadata.version)
├── scripts/ # Python validation and analysis tools
├── assets/ # Templates and static resources
└── references/ # Documentation and best practicesCurrent skills
| Skill | Entry point | Validators |
| dockerfile-best-practices | skills/dockerfile-best-practices/SKILL.md | analyze_dockerfile.py, analyze_compose.py |
| helm-bjw-s-chart | skills/helm-bjw-s-chart/SKILL.md | validate_chart.py |
| automode-config | skills/automode-config/SKILL.md | scan_project.py, inspect_automode.py, apply_automode.py --dry-run |
| apple-shortcuts | skills/apple-shortcuts/SKILL.md | validate-shortcut.py, inspect-shortcut.py, list-app-intents.py |
| cheap-orchestration | skills/cheap-orchestration/SKILL.md | setup_crew.py --check |
Historical: the skill once named
helm-chart-generatorbecamehelm-bjw-s-chart(renamed in v3.0.0). Update any lingering reference to the old name (directory, asset filename, or skill name).
Commands
Every entry-point script runs via uv run and declares its dependencies inline as a PEP 723 header (# /// script block), so uv run <script> resolves and caches them with no requirements.txt step.
# Dockerfile / Compose analysis
uv run skills/dockerfile-best-practices/scripts/analyze_dockerfile.py <path/to/Dockerfile>
uv run skills/dockerfile-best-practices/scripts/analyze_compose.py <path/to/compose.yaml>
# Helm bjw-s chart validation
uv run skills/helm-bjw-s-chart/scripts/validate_chart.py <path/to/chart/>
# autoMode: inspect the three settings files, scan for adoption candidates
uv run skills/automode-config/scripts/inspect_automode.py
uv run skills/automode-config/scripts/scan_project.pyautoMode proposals flow through a dry-run (which prints the canonical sha256) then a hash-gated commit:
uv run skills/automode-config/scripts/apply_automode.py --proposal proposal.json --mode auto --dry-run
uv run skills/automode-config/scripts/apply_automode.py --proposal proposal.json --mode auto --approved-canonical-hash <sha256>Natural-language editing is the /automode-edit slash command (e.g. add a hard_deny rule that forbids pushing to main). Full contract: skills/automode-config/commands/automode-edit.md.
Mandatory Requirements
- SKILL.md front-matter needs
name,description, andmetadata.version:--- name: my-skill description: "Skill description" metadata: version: "1.0.0" --- - POSIX text: every text file ends with a newline (
\n) and uses LF line endings. - Python via uv: use
uvfor dependency management.
Release and Versioning
Two version spaces, kept decoupled:
- Per-skill
metadata.versionis SemVer, bumped for changes to that one skill. - Repo release tags are CalVer (
vYYYY.MM.MICRO, e.g.v2026.06.1). A tag means "a publish happened", not a skill version.
To cut a release, run uv run scripts/release.py locally (--dry-run to preview). It tags origin/main with the next micro for the current month (v$(date +%Y.%m).N, N starting at 0; legacy SemVer tags such as v4.1.0 are ignored), as an annotated GPG-signed tag, and pushes it. It does nothing when skills/ is unchanged since the last tag (--force overrides), so it is safe to run on a schedule after Dependabot auto-merges. scripts/release-agent.sh wraps it for a weekly local launchd job: headless Claude follows scripts/release-agent.md to write the summary, watch Publish Skills, add release highlights, and notify over ntfy. The Publish Skills workflow triggers on v* and builds the .skill assets.
Key Design Decisions
- Pin runtimes, not the OS:
python:3.12-slim, notpython:3.12-slim-bookworm, so security updates land. - Non-root users, UID/GID > 10000: avoids clashes with host users across orchestration platforms.
- BuildKit directive: Dockerfiles start with
# syntax=docker/dockerfile:1. - Compose V2: no
version:field, nevercontainer_name:(it blocks scaling). - bjw-s common library v4+: charts use
https://bjw-s-labs.github.io/helm-charts.
Additional agent and contributor instructions
This file provides guidance to agents when working with code in this repository.
Overview: Claude Agent Skills Stack
This repository implements a decentralized "Claude Agent Skills" architecture. Each skill is self-contained and provides tools, references, and validation scripts for agents.
Execution Environment
- Python Scripts: Use
uvfor dependency management whenever possible. Scripts should be executable viapython <script_path>. - Mandatory Requirements:
- All
SKILL.mdfiles MUST contain a YAML front-matter withname,description, andtools(as a YAML list). - POSIX compliance: All text files must end with a newline (
\n) and use LF line endings. - Example front-matter:
--- name: my-skill description: "Skill description" tools: - Read - Write ---
- All
Key Paths
skills/<skill-name>/SKILL.md: Main entry point for a skill.skills/<skill-name>/scripts/: Validation and analysis scripts.skills/<skill-name>/assets/: Templates and static resources.skills/<skill-name>/references/: Documentation and best practices.
Release & Versioning
Two decoupled version spaces — never align one to the other:
- Per-skill version → SemVer. Each skill carries its own
metadata.versioninSKILL.md(e.g.4.0.0), bumped major/minor/patch according to the change in that skill. Independent across skills. - Repo release tags → CalVer. Git tags use
vYYYY.MM.MICRO(e.g.v2026.05.0, thenv2026.05.1for a second release the same month,v2026.06.0the next month). A tag means "a publish happened" — it is not the version of any skill.
Tagging procedure, automated by uv run scripts/release.py (run locally so
the tag is GPG-signed; --dry-run previews, --force releases even when
skills/ is unchanged since the last tag, otherwise it is a no-op):
- Next tag =
v$(date +%Y.%m).<micro>where<micro>is the highest existingvYEAR.MONTH.*tag + 1, or0if none this month. Legacy SemVer tags (v4.1.0and earlier) are ignored for this calculation. - Pre-checks: the tag targets the fetched
origin/maincommit (the localmainis never used), andgit ls-remote --tags originshows the tag is free. ThePublish Skillsworkflow (triggerv*) is destructive if a published tag is rewritten. - Annotated + GPG-signed tag, message
vYYYY.MM.MICRO - <summary>. - The
Publish Skillsworkflow needs no change:v*still matches, the tag is only used as the GitHub release name, and the.skillfilename strip targets the skill's SemVer in the filename, not the tag.
Transition note: the last legacy SemVer repo tag is v4.1.0
(helm-bjw-s-chart common-5.x release). CalVer starts from the next release.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

