agentleFS
toroleapinctoroleapinc/claude-brain/skills/brain-evolve/SKILL.md

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.

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
  1. Distinctive:

    Run the evolution analysis:

    line 11
  2. Very specific:

    Read the analysis results from ~/.claude/brain-repo/meta/last-evolve.json.

    line 16
  3. Distinctive:

    Ask: Accept / Skip / Edit first

    line 23
  4. Very specific:

    If accepted, append to ~/.claude/CLAUDE.md

    line 24
  5. Very specific:

    If accepted, write to ~/.claude/rules/<appropriate-name>.md

    line 29
  6. Very specific:

    If accepted, create in ~/.claude/skills/<name>/SKILL.md

    line 34
  7. Distinctive:

    If archived, note in the memory file that it was archived

    line 38
  8. Distinctive:

    After all changes are applied:

    line 40

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

The user wants to evolve their brain by promoting stable patterns from memory.

Steps

  1. Run the evolution analysis:
    bash "${CLAUDE_PLUGIN_ROOT}/scripts/evolve.sh"
  2. Read the analysis results from ~/.claude/brain-repo/meta/last-evolve.json.
  3. 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
  4. For each entry in stale_entries, ask:
    • Archive (remove from memory) / Keep
    • If archived, note in the memory file that it was archived
  5. After all changes are applied:
    bash "${CLAUDE_PLUGIN_ROOT}/scripts/push.sh"
  6. Show summary: "Brain evolved: X promotions accepted, Y stale entries archived."

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.