| name | brain-evolve |
| description | Analyze accumulated brain memory and propose promotions to CLAUDE.md, rules, or new skills. Makes your brain smarter over time. |
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/.md
For skill suggestions:
- Show the proposed skill
- Ask: Accept / Skip / Edit first
- If accepted, create in ~/.claude/skills//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."