brain-evolve
Skill91 starsChanged 9 months agoMITView on GitHub
Analyze accumulated brain memory and propose promotions to CLAUDE.md, rules, or new skills. Makes your brain smarter over time.
In this repository8 other files it gives its agents.
- brain-conflictsSkill
- brain-initSkill
- brain-joinSkill
- brain-logSkill
- brain-shared-listSkill
- brain-shareSkill
- brain-statusSkill
- brain-syncSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Run the evolution analysis:
- Very specific: line 16
Read the analysis results from ~/.claude/brain-repo/meta/last-evolve.json.
- Distinctive: line 23
Ask: Accept / Skip / Edit first
- Very specific: line 24
If accepted, append to ~/.claude/CLAUDE.md
- Very specific: line 29
If accepted, write to ~/.claude/rules/<appropriate-name>.md
- Very specific: line 34
If accepted, create in ~/.claude/skills/<name>/SKILL.md
- Distinctive: line 38
If archived, note in the memory file that it was archived
- Distinctive: line 40
After all changes are applied:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
The user wants to evolve their brain by promoting stable patterns from memory.
Steps
- Run the evolution analysis:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/evolve.sh" - Read the analysis results from
~/.claude/brain-repo/meta/last-evolve.json. For each recommendation in
promotions, present it to the user:For claude_md promotions:
- Show the proposed addition
- Show the reason
- Ask: Accept / Skip / Edit first
- If accepted, append to ~/.claude/CLAUDE.md
For rule promotions:
- Show the proposed rule content
- Ask: Accept / Skip / Edit first
- If accepted, write to ~/.claude/rules/
<appropriate-name>.md
For skill suggestions:
- Show the proposed skill
- Ask: Accept / Skip / Edit first
- If accepted, create in ~/.claude/skills/
<name>/SKILL.md
- For each entry in
stale_entries, ask:- Archive (remove from memory) / Keep
- If archived, note in the memory file that it was archived
- After all changes are applied:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/push.sh" - Show summary: "Brain evolved: X promotions accepted, Y stale entries archived."
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.

