claude-extensions
CLAUDE.md2 starsChanged 8 months agoMITView on GitHub
In this repository36 other files it gives its agents.
- agents.mdAGENTS.md
- create-agentSkill
- doc-writerSkill
- feynman-auditorSkill
- gh-issueSkill
- human-writingSkill
- mermaidSkill
- nemesis-ogSkill
- nemesis-scanSkill
- outline-codeSkill
- report-to-pr-commentsSkill
- skill-creatorSkill
- solidity-security-scanSkill
- state-inconsistency-auditorSkill
- telx-reviewSkill
- tn-add-benchmarkSkill
- tn-bug-scanSkill
- tn-debug-e2eSkill
- tn-domain-consensusSkill
- tn-domain-contractsSkill
- tn-domain-epochSkill
- tn-domain-executionSkill
- tn-domain-networkingSkill
- tn-domain-storageSkill
- tn-domain-workerSkill
- tn-hardenSkill
- tn-nemesis-scanSkill
- tn-review-contractsSkill
- tn-reviewSkill
- tn-rust-engineerSkill
- tn-rust-skillsSkill
- tn-security-evalSkill
- tn-threat-modelSkill
- tn-write-crate-docSkill
- tn-write-e2eSkill
- tn-write-proptestSkill
The file
Show its rules and text
We split this CLAUDE.md into the rules it gives an agent
22 rules. About 0 are common, 20 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈20
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 4
If something goes sideways, STOP and re-plan immediately - don't keep pushing
- Distinctive: line 5
Use plan mode for verification steps, not just building
- Distinctive: line 6
Write detailed specs upfront to reduce ambiguity
- Distinctive: line 8
Use subagents liberally to keep main context window clean
- Distinctive: line 11
Always use opus subagents for execution and implementation tasks - not fable
- Distinctive: line 12
Never use fable agent tokens for basic subagent tasks like file searching
- Distinctive: line 17
Every agent returns a summary, not file dumps.
- Very specific: line 19
Every subagent prompt names a checkpoint file (prefer the worktree's own tasks/ path) and requires a status: header plus a list of …
- Distinctive: line 20
Every subagent prompt says: "on start, read your own checkpoint and continue from the first unfinished section."
- Distinctive: line 21
If Write is refused, do not work around it — return the complete text in the final answer and let the orchestrator save it.
- Very specific: line 22
After a 429 / session limit: read the checkpoint files on disk BEFORE assuming work was lost (the failure notice under-reports what …
- Distinctive: line 24
After ANY correction from the user: update 'tasks/lessons.md" with the pattern
- Distinctive: line 25
Write rules for yourself that prevent the same mistake
- Distinctive: line 29
Never mark a task complete without proving it works
- Distinctive: line 31
Ask yourself: "Would a staff engineer approve this?"
- Distinctive: line 32
Run tests, check logs, demonstrate correctness
- Distinctive: line 35
If a fix feels hacky: "Knowing everything I know now, implement the elegant solution"
- Distinctive: line 39
When given a bug report: identify the root of the problem before suggesting fixes
- Distinctive: line 43
Plan First: Write plan to "tasks/plan.md" with checkable items
- Distinctive: line 44
Verify Plan: Check in before starting implementation
- Distinctive: line 47
Document Results: Add review section to 'tasks/todo.md"
- Distinctive: line 48
Capture Lessons: Update 'tasks/lessons.md" after corrections
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 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
Workflow Orchestration
1. Plan Mode Default
- Enter plan mode for ANY non-trivial task (3+ steps or architectural decisions)
- If something goes sideways, STOP and re-plan immediately - don't keep pushing
- Use plan mode for verification steps, not just building
- Write detailed specs upfront to reduce ambiguity
2. Subagent Strategy
- Use subagents liberally to keep main context window clean
- Offload research, exploration, and parallel analysis to subagents
- For complex problems, throw more compute at it via subagents
- Always use opus subagents for execution and implementation tasks - not fable
- Never use fable agent tokens for basic subagent tasks like file searching
2a. Scope, don't count (no fixed concurrency cap)
- There is NO maximum number of concurrent subagents. Fan-out width follows from how independent the work is.
- What IS capped is each agent's context. One narrow deliverable, an explicit list of paths it may read, and an instruction to hand back rather than explore past them.
- Budget each agent well under ~250k tokens. An agent trending past that was scoped wrong: it checkpoints, hands back what it has, and the orchestrator respawns a fresh agent for the remainder. Never let one agent balloon to 300k+.
- Every agent returns a summary, not file dumps.
2b. Checkpoint to disk so any session survives a rate limit
- Every subagent prompt names a checkpoint file (prefer the worktree's own
tasks/path) and requires astatus:header plus a list of completed sections, rewritten after EACH section — not once at the end. - Every subagent prompt says: "on start, read your own checkpoint and continue from the first unfinished section."
- If Write is refused, do not work around it — return the complete text in the final answer and let the orchestrator save it.
- After a
429/ session limit: read the checkpoint files on disk BEFORE assuming work was lost (the failure notice under-reports what landed), then resume with SendMessage naming the sections that already exist.
3. Self-Improvement Loop
- After ANY correction from the user: update 'tasks/lessons.md" with the pattern
- Write rules for yourself that prevent the same mistake
- Ruthlessly iterate on these lessons until mistake rate drops
- Review lessons at session start for relevant project
4. Verification Before Done
- Never mark a task complete without proving it works
- Diff behavior between main and your changes when relevant
- Ask yourself: "Would a staff engineer approve this?"
- Run tests, check logs, demonstrate correctness
5. Demand Elegance (Balanced)
- For non-trivial changes: pause and ask "is there a more elegant way?"
- If a fix feels hacky: "Knowing everything I know now, implement the elegant solution"
- Skip this for simple, obvious fixes - don't over-engineer
- Challenge your own work before presenting it
6. Autonomous Bug Fixes
- When given a bug report: identify the root of the problem before suggesting fixes
- Point at logs, errors, failing tests - then identify what caused them
- Fix failing tests without being told how
Task Management
- Plan First: Write plan to "tasks/plan.md" with checkable items
- Verify Plan: Check in before starting implementation
- Track Progress: Mark items complete as you go
- Explain Changes: High-level summary at each step
- Document Results: Add review section to 'tasks/todo.md"
- Capture Lessons: Update 'tasks/lessons.md" after corrections
Core Principles
- Simplicity First: Make every change as simple as possible. Impact minimal code.
- No Laziness: Find root causes. No temporary fixes. Senior developer standards.
- Minimat Impact: Changes should only touch what's necessary. Avoid introducing bugs.
Agent Triggering Manifest
Agents must be spawned proactively based on detected conditions, not reactively after the user asks. Claude's agent-spawning decisions should be driven by the agent's description frontmatter.
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.

