create-ai-agent / templates
AGENTS.md0 starsChanged 55 days agoMITView on GitHub
One capability, one job. This file is the org chart: it routes work and sets the rules. A skill file is an employee. An eval is a performance review.
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 31,774 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 repository2 other files it gives its agents.
- create-ai-agentSkill
- <skill_name>Skill
The file
We split this AGENTS.md into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
No side effects (external writes, sends, deploys) until the verification step passes.
- Very specific: line 33
Before any risky/state-changing action, checkpoint via .checkpoint/ (see checkpoint helper).
- Distinctive: line 38
Start at 2–3x, not 100x.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 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 — <AGENT_NAME>
One capability, one job. This file is the org chart: it routes work and sets the rules. A skill file is an employee. An eval is a performance review.
Mandate (one line)
<ONE_SENTENCE_CAPABILITY>
Resolver table (org chart: task → handler)
| Task type | Handler (skill file / sub-agent / tool) | Notes |
<task A> | skills/<task_a>.md | <when> |
<task B> | sub-agent: <name> | isolated slice only |
<mechanical> | tool: <function> | deterministic, in code |
Filing rules (internal process)
- Results worth keeping are written to the brain with provenance (source + timestamp).
- On contradiction, the librarian decides; the older fact is not silently overwritten.
- No side effects (external writes, sends, deploys) until the verification step passes.
Context budget (which three books are open)
- Smart zone cap: ~
<N>k tokens per turn (hard ceiling 200k even on 1M windows). - Hot memory (always loaded):
<list>. - Cold memory (retrieved on demand):
<list>. - Compaction: allowed; rely on the brain for long-term state, not the context window.
Verification (performance review)
- Deterministic gate: <types/tests/simulator/ontology>.
- Agent-as-judge on traces:
<what failure modes to catch>. - Human-in-the-loop for:
<decisions the agent must not make alone>.
Save Button
Before any risky/state-changing action, checkpoint via .checkpoint/ (see checkpoint helper).
Accept/revert on evidence (diff-decide).
Operating mode
- One strong loop, small and verified. Expand only after it earns trust.
- Start at 2–3x, not 100x.
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.

