agent2
CLAUDE.md36 starsChanged 7 months agoMITView on GitHub
Use /brain-clone for new domain expert agents. It should produce agents that look more like agents/procurement-compliance-officer than example-agent. Keep this file short. Project-wide rules live in AGENTS.md; detailed framework context lives in llms.txt, llms-full.txt, and docs/brain-clone-pattern.md. When editing skills, preserve the Brain Clone concept. Only update skills to point at current canonical examples, runtime behavior, and docs. When the user's request matches an available skill, invoke it via the Skill tool. When in doubt, invoke the skill — a false…
In this repository28 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- llms-full.txtllms.txt
- llms.txtllms.txt
- adding-capabilitiesSkill
- adding-knowledgeSkill
- agent-qaSkill
- brain-cloneSkill
- building-domain-expertsSkill
- creating-agentsSkill
- debugging-agentsSkill
- scandal-market-agent-builderSkill
- adding-capabilitiesSkill
- adding-knowledgeSkill
- agent-qaSkill
- brain-cloneSkill
- building-domain-expertsSkill
- creating-agentsSkill
- debugging-agentsSkill
- scandal-market-agent-builderSkill
- adding-capabilitiesSkill
- adding-knowledgeSkill
- agent-qaSkill
- brain-cloneSkill
- building-domain-expertsSkill
- creating-agentsSkill
- debugging-agentsSkill
- scandal-market-agent-builderSkill
The file
We split this CLAUDE.md into the rules it gives an agent
7 rules. About 0 are common, 2 are distinctive, and 5 are 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.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 5
Use /brain-clone for new domain expert agents.
- Very specific: line 8
Keep this file short. Project-wide rules live in AGENTS.md.
- Distinctive: line 11
When editing skills, preserve the Brain Clone concept.
- Distinctive: line 16
When the user's request matches an available skill, invoke it via the Skill tool.
- Very specific: line 24
Add knowledge collections / R2R / ingest PDFs → invoke /adding-knowledge
- Very specific: line 25
Add pause/resume, approval, provider routing → invoke /adding-capabilities
- Very specific: line 27
Test agent / QA / "does this agent work" / health check → invoke /agent-qa
≈ “Common” is an estimate: at least 1 in 5 of the 28,633 CLAUDE.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
Claude Code
Use /brain-clone for new domain expert agents. It should produce agents that
look more like agents/procurement-compliance-officer than example-agent.
Keep this file short. Project-wide rules live in AGENTS.md; detailed framework
context lives in llms.txt, llms-full.txt, and docs/brain-clone-pattern.md.
When editing skills, preserve the Brain Clone concept. Only update skills to point at current canonical examples, runtime behavior, and docs.
Skill routing
When the user's request matches an available skill, invoke it via the Skill tool. When in doubt, invoke the skill — a false positive is cheaper than an ad-hoc answer that misses the structured workflow.
Key routing rules:
- New domain expert / "clone my brain" / "brain clone" → invoke
/brain-clone - New simple agent / "scaffold agent" / "add agent" → invoke
/creating-agents - Agent needs domain knowledge / documents / books → invoke
/building-domain-experts - Add knowledge collections / R2R / ingest PDFs → invoke
/adding-knowledge - Add pause/resume, approval, provider routing → invoke
/adding-capabilities - Agent errors / 500s / mock data / "agent broken" / "doesn't work" → invoke
/debugging-agents - Test agent / QA / "does this agent work" / health check → invoke
/agent-qa
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.

