claude-codex-skills-assembly / templates
AGENTS.md1 starsChanged 3 months agoMITView on GitHub
This is an optional starting point. Keep repository-specific conventions in the repository that owns them.
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,700 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 repository12 other files it gives its agents.
- templates/CLAUDE.mdCLAUDE.md
- adversarial-reviewSkill
- architect-reviewSkill
- delivery-loopSkill
- fast-pr-workflowSkill
- orchestratorSkill
- post-merge-cleanupSkill
- qa-automationSkill
- security-reviewSkill
- see-it-liveSkill
- task-researchSkill
- web-devSkill
The file
We split this AGENTS.md into the rules it gives an agent
8 rules. About 0 are common, 8 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 7
Check the installed skill list before inventing a workflow.
- Distinctive: line 9
Follow repository-local instructions when they are more specific than generic guidance.
- Distinctive: line 20
Do not push directly to a protected branch unless the current request explicitly names that branch and asks for the direct push.
- Distinctive: line 21
Do not merge a pull request unless the current request explicitly names the target branch and asks for the merge.
- Distinctive: line 26
Default to zero comments. Code and tests carry the meaning.
- Distinctive: line 27
Never write comments that restate the code, reference a ticket or PR, note provenance, or narrate a change.
- Distinctive: line 34
Prefer a short list to a paragraph of narrative.
- Distinctive: line 38
Run checks appropriate to the change and report their actual results.
≈ “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
Agent working rules
This is an optional starting point. Keep repository-specific conventions in the repository that owns them.
Use relevant skills
- Check the installed skill list before inventing a workflow.
- Load a matching skill when the request names it or clearly falls within its description.
- Follow repository-local instructions when they are more specific than generic guidance.
- Claude Code can preload skills declared by an agent definition. Codex dispatch must explicitly tell each subagent which
SKILL.mdfiles to read completely before acting.
Preserve repository state
- Inspect the branch, worktree, and diff before changing or staging files.
- Preserve unrelated changes and generated local state.
- Stage only reviewed files that belong to the current task.
Protect release boundaries
- Do not push directly to a protected branch unless the current request explicitly names that branch and asks for the direct push.
- Do not merge a pull request unless the current request explicitly names the target branch and asks for the merge.
- Confirm before publishing, deploying, releasing, or creating tags.
Comment sparingly
- Default to zero comments. Code and tests carry the meaning; a comment earns its place only by stating a non-obvious why.
- Never write comments that restate the code, reference a ticket or PR, note provenance, or narrate a change.
- See the
architect-reviewskill for the full guidance.
Report concisely
- Lead with the outcome. Add detail only when it changes what the reader does next.
- Skip the preamble, the recap of the request, and the closing summary of what was just said.
- Prefer a short list to a paragraph of narrative.
Report evidence
- Run checks appropriate to the change and report their actual results.
- State failures, skipped checks, and remaining risks plainly.
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.

