evolution-engine
Skill4 starsChanged 7 months agoMITView on GitHub
Use when the user wants to "analyze sessions", "find patterns in my agent history", "evolve config", "/evolve", "what's been frustrating you", or asks for automated suggestions for improving skills/configs based on session transcripts. Triggers on requests to surface recurring friction, propose allowlist additions, find stale memory, or generate diff-shaped recommendations against existing skills, settings, and memory files.
In this repository124 other files it gives its agents.
- apple-contactsSkill
- atlassian-cli-jiraSkill
- bellardSkill
- brainstormingSkill
- career-interviewSkill
- carmackSkill
- cavecrewSkill
- caveman-commitSkill
- caveman-compressSkill
- caveman-helpSkill
- caveman-reviewSkill
- cavemanSkill
- caveman-statsSkill
- ci-watchSkill
- clone-configSkill
- cloudflare-emailSkill
- course-correctSkill
- datastar-patternsSkill
- datastarSkill
- datastar-taoSkill
- defuddleSkill
- description-linterSkill
- deterministic-simulation-testingSkill
- dispatching-parallel-agentsSkill
- dopplerSkill
- dx-auditSkill
- evolution-changelogSkill
- executing-plansSkill
- farleySkill
- finishing-a-bones-leafSkill
- frontend-component-decision-treesSkill
- gh-project-charterSkill
- gh-project-operationsSkill
- gh-project-setupSkill
- gh-project-sharedSkill
- goal-completeSkill
- golang-patternsSkill
- hellandSkill
- hickeySkill
- hippSkill
- investigating-agent-sessionsSkill
- landingSkill
- linear-cliSkill
- linear-methodSkill
- memorizeSkill
- midscene-testingSkill
- monitoring-the-operatorSkill
- normanSkill
- obsidian-basesSkill
- obsidian-canvasSkill
- obsidian-markdownSkill
- orchestrator-modeSkill
- orchestrator-suitSkill
- ousterhoutSkill
- pikchr-generatorSkill
- pocock-cavemanSkill
- pocock-diagnoseSkill
- pocock-git-guardrailsSkill
- pocock-handoffSkill
- pocock-setup-pre-commitSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 54
Default --since 7d run: under $0.05 (one Haiku call per detected cluster, capped at 30).
≈ “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
evolution-engine
Library + wrapper for the Evolution category: read recent session history, detect recurring friction patterns, propose unified diffs against existing skills, configs, and memory.
What it does
- Reuses the
evolution-enginelibrary (formerly published asmeta-scout):- 12 behavioral/structural signal detectors (edit-thrashing, error-loop, correction-heavy, repeated-instructions, negative-drift, etc.)
- Struggle-then-success arc detection
- Skill-catalog dedup
- Adds two
agent-skills-specific detectors:- Recurring permission prompts → diff appending to
.claude/settings.jsonpermissions.allow[] - Stale memory references → diff deleting dead file/branch refs from memory
- Recurring permission prompts → diff appending to
- Renders unified diffs against existing files. Does NOT auto-apply. Human reviews and runs
git applyor hand-edits.
The split: meta-scout-style detection finds what's wrong; evolution-engine proposes how to fix existing config to prevent it.
Usage
suit-build evolve runs via the repo's npm script:
npm run evolve -- --since 7d --project agent-skills # default: detect + propose
npm run evolve -- --since 14d --no-llm # deterministic only (skip Haiku calls)
npm run evolve -- --include-arcs # include arc-driven proposals
npm run evolve -- --dry-run # detect but don't write reportOr run the underlying detector CLI directly:
npx evolution-engine patterns --json # 12 signals as JSON
npx evolution-engine automation --json # struggle-then-success arcs as JSONCost
Default --since 7d run: under $0.05 (one Haiku call per detected cluster, capped at 30). --no-llm is fully deterministic.
The 12 signals and arc detection are deterministic — no LLM cost.
Output
A markdown report at ~/.claude/evolution-reports/<project>/<YYYY-MM-DD>.md:
- Summary table (pattern, count, severity, top fix)
- Findings ordered by severity (high → low), each with evidence quotes and a unified diff against the target file
- Reports stay local-only; redaction filter strips secrets and sensitive paths before render
See also
- Spec:
docs/superpowers/specs/2026-04-27-evolution-skill-design.md(local) - Taxonomy:
TAXONOMY.md(Evolution category — the closed-loop self-modification primitive) - Library:
github.com/danmestas/meta-scout(renaming toevolution-engine— separate repo PR) - Implementation plan: forthcoming via writing-plans
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.

