evolve-claude-md
Skill63 starsChanged 2 months agoMITView on GitHub
Update CLAUDE.md — or the canonical AGENTS.md it redirects to — with durable knowledge from the current session. Use at the end of a working session to promote new findings, renamed variables, refined definitions, or corrected assumptions into the permanent project record.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- eisen0419/revolvetheir own version, first seen May 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- eisen0419/revolve★ 9same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository24 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- ai-reviewSkill
- brieflySkill
- commit-batchingSkill
- commit-batchSkill
- create-alertSkill
- figure-reviewSkill
- grillingSkill
- grill-meSkill
- handoffSkill
- lit-reviewSkill
- overbakedSkill
- pathfinderSkill
- pickupSkill
- recover-sessionsSkill
- repo-initSkill
- reviewer-2Skill
- slack-messageSkill
- spot-aiSkill
- tab-setupSkill
- unstaleSkill
- worklogSkill
- write-new-skillSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 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.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 41
Do not add: session-specific state, task progress, anything already in CLAUDE.md, speculative findings, or things that belong in HANDOFF.md.
- Distinctive: line 48
If nothing meaningful warrants an update, say so explicitly and stop.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill 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
Review the current session and update the project's canonical agent-guidance file with anything durable that it doesn't yet know.
Target file
CLAUDE.md by default — but some repos keep a thin CLAUDE.md stub that redirects to a canonical AGENTS.md (the cross-tool convention scaffolded by /repo-init). Resolve the target before editing:
A redirect stub is a CLAUDE.md whose only content is the redirect to AGENTS.md plus pointer lines (the shape /repo-init scaffolds) — nothing project-specific. A stray substantive line in an otherwise-stub file is residue: migrate it into AGENTS.md as part of this run and leave the stub clean.
| Repo state | Edit |
CLAUDE.md substantive, no AGENTS.md (the most common state) | CLAUDE.md |
CLAUDE.md is a redirect stub | AGENTS.md — leave the stub untouched (create AGENTS.md if the stub points at a missing file) |
No CLAUDE.md, but AGENTS.md exists | AGENTS.md |
| Both exist with substantive content | CLAUDE.md, and flag the split-brain to the user so they can consolidate |
| Neither exists | Create CLAUDE.md |
What belongs in the canonical file
Promote only knowledge that is:
- Permanent — true beyond this session (not current task state)
- Project-level — relevant to anyone working in this repo
- Non-obvious — not derivable from reading the code directly
Good candidates: renamed or new variables, corrected definitions, newly understood warn patterns, confirmed pipeline behavior, resolved ambiguities about data schema, architectural decisions with non-obvious rationale.
Good: Pipeline requires --baseline to be passed explicitly; there is no default. — permanent code behavior that would surprise any future developer.
Bad: Dataset coverage is 1981-09-01 through 2026-05-16 (16,329 zarrs). — describes the current data artifact being processed, not the codebase. Belongs in HANDOFF.md.
The test: if removing this fact would cause a future developer to misunderstand how the pipeline works, it belongs here. If it describes the data being processed this session, it belongs in the handoff.
Do not add: session-specific state, task progress, anything already in CLAUDE.md, speculative findings, or things that belong in HANDOFF.md.
Steps
- Resolve the target file (table above) and read it in full.
- Scan the session for new knowledge: check git diff, recently modified files, and conversation context.
- Identify specific additions or corrections — be precise about what changed and why.
- If nothing meaningful warrants an update, say so explicitly and stop.
- Otherwise, make targeted edits to the target file. Do not rewrite sections that don't need changing.
- Briefly summarize what was added or corrected, where, and why.
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.

