evolve
Skill16 starsChanged 8 months agoMITView on GitHub
Trigger: /evolve or "evolve lessons into skills" or "cluster patterns into skills" Description: Reviews accumulated lessons.md entries, identifies repeated patterns, and proposes or creates new reusable skills. Turns hard-won session knowledge into formalized, reusable workflow. Allowed Tools: Read, Edit, Write, Glob, Bash 0. Preview mode (default): Before making any changes, show a summary of what would happen: - Skills that would be patched (name, step number, what would change) - New skills that would be created (pattern, frequency) Ask: "Apply…
25 other projects use a version of this.
Adopted by
Most recently taken up by
- morodomi/dev-crewtheir own version, first seen Oct 5, 2026
- SethGammon/Citadeltheir own version, first seen Sep 20, 2026
- cristian-robert/claude-code-harnesstheir own version, first seen Sep 15, 2026
- vidit19sharma/neogentstheir own version, first seen Sep 13, 2026
- unclejobs-ai/second-claude-codetheir own version, first seen Sep 6, 2026
- epicsagas/epic-harnesstheir own version, first seen Sep 4, 2026
Used with
Projects with it also use instinct-export, instinct-import and 8 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
TheKREATORSSkillinstinct-export
Export instincts from project/global scope to a file
Also in 4 projects that use this
TheKREATORSSkillinstinct-import
Import instincts from file or URL into project/global scope
Also in 4 projects that use this
diego-tobalinaSkillbuild-fix
Fix build and compilation errors systematically. Run when build fails.
Also in 3 projects that use this
qtzx06Skilleval
Evaluate trained YOLO model accuracy with mAP metrics and per-class error analysis. Identifies failure cases for targeted improvement. Use after training.
Also in 4 projects that use this
MontimageSkilltest-coverage
Improve test coverage by finding untested branches, error paths, and edge cases. Use when measuring or strengthening a project's tests. Don't use for production debugging, code review, or feature implementation.
Also in 3 projects that use this
srpadronoSkillmap
Crawls a codebase to discover all user journeys and creates a journey map (journeys.json) with test coverage status. Use when starting UI test coverage work, auditing existing coverage, or exploring a new codebase's user flows.
Also in 3 projects that use this
- +1 more from TheKREATORS
Other versions25 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 25
- revfactory/harness★ 9.1ksame name
- Q00/ouroboros★ 6.2ksame name
- SethGammon/Citadel★ 922same name
- unclejobs-ai/second-claude-code★ 40same name
- mycelium-hq/ai-brain-starter★ 38same name
- Snowflake-Labs/coco-skills★ 38same name
- epicsagas/epic-harness★ 19same name
- GAN-Thinking/gan-skill★ 15same name
- Megaprompting/torque-loop★ 9same name
- shyamsridhar123/kevin-copilot★ 7same name
15 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository45 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/agents.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- security-checkSkill
- environment-checkSkill
- run-verificationSkill
- refactorSkill
- actSkill
- debug-sessionSkill
- generate-guardsSkill
- check-anthropicSkill
- code-reviewerSkill
- code-reviewSkill
- debug-sessionSkill
- end-sessionSkill
- evolve-checkSkill
- fix-bugSkill
- forgetSkill
- frontend-designSkill
- guardSkill
- kit-healthSkill
- learnSkill
- map-codebaseSkill
- modeSkill
- parallel-prototypesSkill
- planSkill
- powershell-safeSkill
- product-riskSkill
- progress-reportSkill
- prototype-hypothesisSkill
- recallSkill
- refactoring-uiSkill
- scan-codebaseSkill
- scan-conventionsSkill
- search-firstSkill
- search-memorySkill
- shadow-codeSkill
- skill-creatorSkill
- smart-resumeSkill
- start-sessionSkill
- strategic-compactSkill
- tourSkill
- ux-heuristicsSkill
- verification-loopSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. 0 are common, 15 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 22 edited versions we read keep these.
15
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Allowed Tools: Read, Edit, Write, Glob, Bash
- Distinctive: line 19
Before making any changes, show a summary of what would happen:
- Distinctive: line 22
Ask: "Apply these changes?
- Distinctive: line 23
Only proceed on explicit yes.
- Distinctive: line 30
Look for entries with the same root cause or "Apply when" condition
- Distinctive: line 42
Create it? (yes/no)
- Very specific: line 55
Run this phase every time /evolve is called, after Phase 2.
- Very specific: line 58
Read tasks/skill_scores.md.
- Very specific: line 70
Read the skill's SKILL.md at .claude/skills/[name]/SKILL.md
- Distinctive: line 71
Read ALL "What Failed" entries for this skill from skill_scores.md
- Distinctive: line 72
Quality gate: Check each entry contains a step number, what was produced, and what was needed.
- Distinctive: line 77
Do not guess at what failed.
- Distinctive: line 80
Add an improvement note at the bottom of the changed step:
- Very specific: line 84
Update Skill Patched column in skill_scores.md for all patched rows: change - to today's date (e.g.
- Very specific: line 94
Update the skill_scores.md row: change Skill Patched from - to [date] (e.g.
- Distinctive: line 104
When /evolve detects that a new decision supersedes, explains, or exemplifies an existing one, flag it:
- Very specific: line 109
Add the appropriate Relates to: field when writing to decisions.md.
- Distinctive: line 121
Allowed Tools: Read, Edit, Write, Glob, Grep, Bash
- Distinctive: line 136
Only create skills for patterns with clear, repeatable trigger conditions
- Very specific: line 138
Run /learn before /evolve to ensure latest session patterns are captured
- Distinctive: line 139
After creating skills, update MEMORY.md index if your project uses one
- Distinctive: line 140
Default to preview mode — never patch skills without explicit confirmation
“Common” is measured: kept by at least 6 in 10 of the 22 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill: evolve
Trigger: /evolve or "evolve lessons into skills" or "cluster patterns into skills"
Description: Reviews accumulated lessons.md entries, identifies repeated patterns, and proposes or creates new reusable skills. Turns hard-won session knowledge into formalized, reusable workflow.
Allowed Tools: Read, Edit, Write, Glob, Bash
Steps
- Preview mode (default):
Before making any changes, show a summary of what would happen:
- Skills that would be patched (name, step number, what would change)
- New skills that would be created (pattern, frequency) Ask: "Apply these changes? [y/N]" Only proceed on explicit yes.
- Read memory files:
.claude/memory/lessons.md.claude/memory/decisions.md(if exists)
- Identify repeated patterns:
- Look for entries with the same root cause or "Apply when" condition
- Flag patterns that appear 2+ times across sessions
- Check for existing skill coverage:
- List all skills in
.claude/skills/ - For each repeated pattern, check if an existing skill already covers it
- List all skills in
For uncovered repeated patterns, propose:
Pattern: [description] Appeared: N times Suggested skill name: [name] Create it? (yes/no)
- On confirmation, create the skill:
- Create
.claude/skills/[name]/SKILL.md - Include: trigger phrase, description, allowed tools, step-by-step instructions, notes
- Make steps specific to your actual stack and patterns
- Create
- Report: "Created N new skills: [list]"
Phase 3: Compound Learning Loop — Self-Improving Skills
Run this phase every time /evolve is called, after Phase 2.
Step A — Find failing skills
Read tasks/skill_scores.md. Find all rows where:
Correction Needed = YSkill Patched = -(not yet patched by /evolve)
Why Skill Patched not Code Fixed: Code Fixed records how the immediate code issue was resolved at the time (manual/-). Skill Patched records whether the SKILL.md itself was updated to prevent recurrence. A row can have Code Fixed = manual and Skill Patched = - — meaning the code was fixed in the session, but the skill hasn't been improved yet. This column is the gate.
Group by skill name. Only proceed with skills that have 2 or more Y entries with Skill Patched = -.
Single failures are noise. Patterns are signal.
Log skipped skills: "Skipped [skill] — only 1 failure logged. Need 2+ to patch."
Step B — For each qualifying skill
- Read the skill's SKILL.md at
.claude/skills/[name]/SKILL.md - Read ALL "What Failed" entries for this skill from skill_scores.md
- Quality gate: Check each entry contains a step number, what was produced,
and what was needed. If any entry is vague (no step number, no specific output):
- Skip this skill entirely
- Log: "Skipped [skill] — insufficient failure data in row [date]. Re-run /learn with structured format before patching."
- Do not guess at what failed.
- Identify the step number cited most often across the Y entries
- Rewrite that specific step to prevent the failure — be concrete, not generic
Add an improvement note at the bottom of the changed step:
[YYYY-MM-DD] Improved: [one line — what changed and why]
- Update
Skill Patchedcolumn in skill_scores.md for all patched rows: change-to today's date (e.g.2026-04-06) - Log to
tasks/skill_improvements.md:| [date] | [skill] | Step [N] | [what failed before] | [what was fixed] | skill_scores.md [dates] | - Save all updated files
Step C — Log the improvement
Append to tasks/skill_improvements.md:
| [date] | [skill] | Step N | [what failed before] | [what was fixed] | skill_scores row [date] |
Update the skill_scores.md row: change Skill Patched from - to [date] (e.g. 2026-04-06). This is what allows /evolve-check to classify the skill as 🔵 PATCHED on the next run.
Step D — Report
Compound Learning: patched N skills
- [skill name]: Step [N] — [one line summary of what changed]
Relationship Types for Decisions
When /evolve detects that a new decision supersedes, explains, or exemplifies an existing one, flag it:
supersedes— new decision replaces an old oneexplains— new decision clarifies why an old one was madeexample-of— new decision is a concrete instance of a general pattern
Add the appropriate Relates to: field when writing to decisions.md.
Skill File Format
Skill: [name]
Trigger: [exact phrase(s) that invoke this skill]
Description: [one sentence — what it does and when to use it]
Allowed Tools: Read, Edit, Write, Glob, Grep, Bash
Steps
- ...
- ...
Notes
- ...
Notes
- Only create skills for patterns with clear, repeatable trigger conditions
- Generic advice ("always test") doesn't make a good skill — specific workflows do
- Run
/learnbefore/evolveto ensure latest session patterns are captured - After creating skills, update MEMORY.md index if your project uses one
- Default to preview mode — never patch skills without explicit confirmation
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.

