ai-context
AGENTS.md1 starsChanged 8 months agoMITView on GitHub
This repository packages reusable AI context for coding agents. Keep it small, auditable, and easy to install across supported tools. Run these checks before opening or updating a pull request:
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,337 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.
The file
We split this AGENTS.md into the rules it gives an agent
12 rules. About 0 are common, 7 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Add each skill under skills/<skill-name>/.
- Distinctive: line 16
Keep skill names short, action-led, and kebab-case.
- Very specific: line 17
Every skill directory must include both SKILL.md and README.md.
- Very specific: line 19
Add references/ or other support files only when they materially improve accuracy or execution.
- Distinctive: line 20
Update the root README.md whenever a skill is added, removed, or renamed.
- Very specific: line 24
Add each reusable agent under agents/<agent-name>/.
- Distinctive: line 26
Keep agents reusable across projects.
- Distinctive: line 27
Update the root README.md when an agent becomes part of the repo's main surface area.
- Distinctive: line 31
Keep shared installable assets under the existing top-level surfaces instead of creating duplicate plugin copies elsewhere in the repo.
- Very specific: line 32
When names, install paths, or packaging metadata change, update .claude-plugin/plugin.json, .claude-plugin/marketplace.json, …
- Distinctive: line 33
Prefer structural improvements that fit this repo cleanly over copying larger plugin layouts wholesale.
- Distinctive: line 37
Run these checks before opening or updating a pull request:
≈ “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
AI Context Repository Guide
This repository packages reusable AI context for coding agents. Keep it small, auditable, and easy to install across supported tools.
Repository Surfaces
skills/holds reusable skills shared by the plugin manifests.agents/holds reusable custom agent definitions and related docs._template/is the starter layout for new skills.docs/holds supporting brainstorms, plans, and other working notes when they add value..claude-plugin/and.codex-plugin/hold packaging metadata and must stay aligned with the repo structure.
Skill Rules
- Add each skill under
skills/<skill-name>/. - Keep skill names short, action-led, and kebab-case.
- Every skill directory must include both
SKILL.mdandREADME.md. SKILL.mdmust includenameanddescriptionfrontmatter, and thenamemust match the directory name.- Add
references/or other support files only when they materially improve accuracy or execution. - Update the root
README.mdwhenever a skill is added, removed, or renamed.
Agent Rules
- Add each reusable agent under
agents/<agent-name>/. - Include a human-facing
README.mdin every concrete agent directory. - Keep agents reusable across projects; avoid one-off repo-specific helpers unless clearly documented.
- Update the root
README.mdwhen an agent becomes part of the repo's main surface area.
Packaging Rules
- Keep shared installable assets under the existing top-level surfaces instead of creating duplicate plugin copies elsewhere in the repo.
- When names, install paths, or packaging metadata change, update
.claude-plugin/plugin.json,.claude-plugin/marketplace.json,.codex-plugin/plugin.json, andREADME.mdtogether. - Prefer structural improvements that fit this repo cleanly over copying larger plugin layouts wholesale.
Validation
Run these checks before opening or updating a pull request:
python3 scripts/validate_repo.py
git diff --checkDoes 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.

