agent-skills
AGENTS.md0 starsChanged 7 months agoMITView on GitHub
This file is the contributor guide for AI agents (and humans) working on the skills themselves — not for the skills' end users. End-user documentation lives in the top-level README.md and in each skill's SKILL.md. These skills are codebase-hygiene disciplines, not technology-specific cookbooks. A skill earns its place here when: - It addresses a problem that recurs across languages and stacks. - The discipline is non-obvious enough that a competent agent without the skill loaded would produce noticeably worse output.…
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 repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
The file
We split this AGENTS.md into the rules it gives an agent
11 rules. About 0 are common, 5 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 26
Justify the skill on its own merits: Don't add a skill because the collection "feels incomplete" — that's the same anti-pattern the …
- Very specific: line 29
Confirm scope doesn't overlap an existing skill: If a new skill would partially duplicate intent-encoding or architecture-decisions, …
- Distinctive: line 33
Sketch the failure mode: Write down what a session *without* the skill would produce on a realistic task, and what the skill would change.
- Very specific: line 39
Follow the existing skill format.
- Very specific: line 46
Keep SKILL.md under ~500 lines.
- Distinctive: line 51
Test it on a realistic scenario.
- Distinctive: line 53
Update the top-level README.md with the new skill's section.
- Very specific: line 59
From
intent-encoding: if you're tempted to add a section explaining *why* the skill is structured a certain way, first see if the … - Very specific: line 62
From
architecture-decisions: if you're substantially changing a skill's approach (not a typo or clarification), consider whether the … - Distinctive: line 67
When in doubt, the skill body is the user-facing spec.
- Distinctive: line 78
Speculative skills: If a skill exists only because "we might want this someday," delete it.
≈ “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
Working on this repository
This file is the contributor guide for AI agents (and humans) working on the skills
themselves — not for the skills' end users. End-user documentation lives in the
top-level README.md and in each skill's SKILL.md.
Repository philosophy
These skills are codebase-hygiene disciplines, not technology-specific cookbooks. A skill earns its place here when:
- It addresses a problem that recurs across languages and stacks.
- The discipline is non-obvious enough that a competent agent without the skill loaded would produce noticeably worse output.
- The discipline can be tested — there should be a realistic scenario where you can compare with-skill and without-skill outputs and see a meaningful difference.
Skills that fail any of those tests don't belong here. Narrow, technology-specific guidance is better as project documentation or a dedicated skill in a separate repository.
Adding a new skill
Before drafting:
- Justify the skill on its own merits. Don't add a skill because the collection
"feels incomplete" — that's the same anti-pattern the
intent-encodingskill warns against in code. - Confirm scope doesn't overlap an existing skill. If a new skill would partially
duplicate
intent-encodingorarchitecture-decisions, consider extending one of those instead. A monorepo with two well-tested skills is more valuable than one with five overlapping ones. - Sketch the failure mode. Write down what a session without the skill would produce on a realistic task, and what the skill would change. If you can't name a clear difference, the skill isn't ready.
When drafting:
- Follow the existing skill format. YAML frontmatter with
nameanddescription, Markdown body, optionalreferences/for content loaded on demand. - The description is the trigger surface. Make it specific about when to trigger and explicit about when not to trigger.
- Bias against prescription. A skill that says "always do X" is brittle; one that says "here's how to think about X, here's when X applies, here's the failure mode if you skip X" survives.
- Keep
SKILL.mdunder ~500 lines. Push deeper material intoreferences/. - Crosslink to other skills in this collection when scopes meet.
After drafting:
- Test it on a realistic scenario. Write the with-skill and without-skill outputs for at least one task; verify the difference is real.
- Update the top-level
README.mdwith the new skill's section.
Modifying an existing skill
Apply the skills' own disciplines to the skills themselves:
- From
intent-encoding: if you're tempted to add a section explaining why the skill is structured a certain way, first see if the structure can be made self-evident. Reorganize before annotating. - From
architecture-decisions: if you're substantially changing a skill's approach (not a typo or clarification), consider whether the change deserves a record. Skills don't have ADRs of their own, but a commit message should carry the rationale at minimum.
When in doubt, the skill body is the user-facing spec. Edit it as carefully as you'd edit a user-facing API.
What does NOT belong here
- Project-specific conventions. "Our team uses tabs not spaces" or "all our
React components use this naming pattern" belongs in the project's
CLAUDE.md, not in a skill. - Tooling instructions. "How to run our test suite" is project documentation.
- Tutorials. Skills are reference material loaded into context during work, not learning material.
- Speculative skills. If a skill exists only because "we might want this someday," delete it. A skill that doesn't trigger doesn't help anyone.
Testing a skill
The minimum viable test is a side-by-side comparison: pick a realistic task, run it once without the skill loaded and once with the skill loaded, and check that the outputs differ in the way the skill predicts.
For skills with verifiable outputs, follow the broader test methodology in
Anthropic's skill-creator skill (evals/, grading, benchmarking). For
discipline-style skills like the ones in this collection, qualitative comparison
is usually enough — but it should be written down, not just felt.
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.

