$npx -y skills add toroleapinc/claude-brain --skill brain-evolveAnalyze accumulated brain memory and propose promotions to CLAUDE.md, rules, or new skills. Makes your brain smarter over time.
| 1 | The user wants to evolve their brain by promoting stable patterns from memory. |
| 2 | |
| 3 | ## Steps |
| 4 | |
| 5 | 1. Run the evolution analysis: |
| 6 | ```bash |
| 7 | bash "${CLAUDE_PLUGIN_ROOT}/scripts/evolve.sh" |
| 8 | ``` |
| 9 | |
| 10 | 2. Read the analysis results from `~/.claude/brain-repo/meta/last-evolve.json`. |
| 11 | |
| 12 | 3. For each recommendation in `promotions`, present it to the user: |
| 13 | |
| 14 | **For claude_md promotions:** |
| 15 | - Show the proposed addition |
| 16 | - Show the reason |
| 17 | - Ask: Accept / Skip / Edit first |
| 18 | - If accepted, append to ~/.claude/CLAUDE.md |
| 19 | |
| 20 | **For rule promotions:** |
| 21 | - Show the proposed rule content |
| 22 | - Ask: Accept / Skip / Edit first |
| 23 | - If accepted, write to ~/.claude/rules/<appropriate-name>.md |
| 24 | |
| 25 | **For skill suggestions:** |
| 26 | - Show the proposed skill |
| 27 | - Ask: Accept / Skip / Edit first |
| 28 | - If accepted, create in ~/.claude/skills/<name>/SKILL.md |
| 29 | |
| 30 | 4. For each entry in `stale_entries`, ask: |
| 31 | - Archive (remove from memory) / Keep |
| 32 | - If archived, note in the memory file that it was archived |
| 33 | |
| 34 | 5. After all changes are applied: |
| 35 | ```bash |
| 36 | bash "${CLAUDE_PLUGIN_ROOT}/scripts/push.sh" |
| 37 | ``` |
| 38 | |
| 39 | 6. Show summary: "Brain evolved: X promotions accepted, Y stale entries archived." |