self-evolve
Skill4 starsChanged 4 months agoMITView on GitHub
Detect capability gaps and autonomously create skills, add free MCP servers, or organize agent teams. Trigger when: a task requires tools you don't have, a workflow pattern repeats 3+ times, a tool call fails because the capability is missing, or the user says 'there should be a skill for this' or 'can you learn to do X'. Always ask before adding external MCP servers.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- DaizeDong/self-evolvetheir own version, first seen Oct 4, 2026
- jnMetaCode/skillettheir own version, first seen Jun 10, 2026
- avibebuilder/claude-primetheir own version, first seen May 10, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- avibebuilder/claude-prime★ 120same name
- DaizeDong/self-evolve★ 26same name
- jnMetaCode/skillet★ 1same name
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 repository162 other files it gives its agents.
- agents/AGENTS.mdAGENTS.md
- skills/compound-engineering/AGENTS.mdAGENTS.md
- skills/trailofbits-security/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- examples/CLAUDE.mdCLAUDE.md
- skills/compound-engineering/CLAUDE.mdCLAUDE.md
- skills/trailofbits-security/CLAUDE.mdCLAUDE.md
- app-store-reviewSkill
- advanced-javascriptSkill
- ai-native-uiSkill
- anime-jsSkill
- app-l100Skill
- barba-jsSkill
- brand-guidelinesSkill
- cinematic-web-engineSkill
- codebase-knowledge-graphSkill
- crossplatform-monorepoSkill
- css-first-uiSkill
- design-auditSkill
- design-critiqueSkill
- dev-cycleSkill
- device-hardware-bridgeSkill
- discovery-docSkill
- docxSkill
- edge-intelligenceSkill
- graph-aware-reviewSkill
- linkedin-posterSkill
- local-first-architectureSkill
- modern-build-pipelineSkill
- motion-nativeSkill
- nano-bananaSkill
- playwrightSkill
- pptxSkill
- project-initSkill
- remotionSkill
- sensory-nativeSkill
- spline-3dSkill
- streaming-cacheSkill
- tanstack-ecosystemSkill
- design-taste-frontendSkill
- tauri-desktopSkill
- threejsSkill
- transition-nativeSkill
- ui-design-stackSkill
- visual-nativeSkill
- web-l100Skill
- web-platform-apisSkill
- xlsxSkill
- better-authSkill
- claude-real-videoSkill
- clone-websiteSkill
- css-keyframe-animationsSkill
- design-checkSkill
- design-dnaSkill
- design-polishSkill
- drizzle-neonSkill
- fastlaneSkill
- angular-architectSkill
- api-designerSkill
- architecture-designerSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 7 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 57
Search: Use mcp-find with relevant keywords
- Distinctive: line 62
Evaluate: Check each result for:
- Distinctive: line 65
Not redundant with existing MCP servers (check INSTALLED.md + the connected-server list)
- Very specific: line 84
Register: Document the server in ~/.claude/INSTALLED.md (dated entry: name, purpose, access method).
- Very specific: line 92
Write: Create ~/.claude/skills/{name}/SKILL.md with:
- Distinctive: line 107
Verify: Read back the skill to confirm it's well-formed
- Distinctive: line 112
NEVER: add MCP servers that require authentication tokens the user hasn't provided
- Distinctive: line 113
ALWAYS: verify free tier availability before suggesting
- Distinctive: line 115
ALWAYS: check ACTIVE-DIRECTORY.md + ARCHIVE-DIRECTORY.md for duplicates before creating (grep for similar names/purposes)
- Distinctive: line 118
If uncertain whether something is free, ASK the user
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Self-Evolve — Autonomous Capability Growth
The system's meta-skill. When Claude detects it lacks a capability needed for the current task, this skill provides the decision framework to fill the gap — by creating skills, adding MCP servers, or recommending community tools.
Gap Detection Signals
Activate self-evolve when ANY of these occur:
- Missing tool: A task requires an integration or tool that isn't available (e.g., "connect to Jira" but no Jira MCP)
- Repeated pattern: The same multi-step workflow has been executed 3+ times across sessions — check
~/.claude/logs/failures.jsonland<your-vault-path>/wiki/engineering/_index.mdfor patterns - Explicit request: User says "can you learn to do X", "there should be a skill for this", "add a tool for X"
- Tool failure: A tool call fails because the capability doesn't exist, not because of a bug
- Inefficiency signal: Claude catches itself doing >5 manual steps that could be automated
Decision Tree
Step 0 — check the parked-capabilities registry FIRST: INSTALLED.md § "Parked capabilities" holds pre-vetted, license-checked, install-ready capabilities with explicit adoption triggers (local image gen via ComfyUI, local TTS via OmniVoice, crawl4ai-as-MCP, MCP-description compression, no-code scrapers, local video gen). If the detected gap matches a row, propose THAT (install + register only — the research is done, don't redo it). Same file records outright-rejected tools — don't re-research those either.
┌─ Is the gap about a TOOL or INTEGRATION?
│ YES → Check INSTALLED.md § Parked capabilities (step 0) → then search MCP registry
│ │ ├─ mcp-find "{keyword}" → found free server?
│ │ │ YES → Show user: name, capabilities, source → on approval: mcp-add → document in INSTALLED.md
│ │ │ NO → Can a skill wrap existing CLI tools?
│ │ │ YES → Create skill (see Skill Creation Protocol)
│ │ │ NO → Inform user, suggest alternatives or manual install
│ │
│ NO ↓
│
├─ Is the gap about a REPEATED WORKFLOW?
│ YES → Create skill using Skill Creation Protocol
│ │ 1. Capture the workflow steps from conversation history
│ │ 2. Abstract into reusable instructions
│ │ 3. Write SKILL.md with proper frontmatter
│ │ 4. Register in ACTIVE-DIRECTORY.md (protocol step 3)
│ │
│ NO ↓
│
├─ Is the gap about DOMAIN KNOWLEDGE?
│ YES → Search Context7 first (no skill needed)
│ │ If recurring → create lightweight reference skill
│ │
│ NO ↓
│
└─ Is the gap about AGENT COORDINATION?
YES → Suggest /flow:smart-swarm (SK-039) for complex multi-agent tasksMCP Server Addition Protocol
- Search: Use
mcp-findwith relevant keywordsmcp-find "jira" / "slack" / "database" / "email" / etc. - Evaluate: Check each result for:
- Free tier available (no API key required, or user has the key)
- Relevant to the task at hand
- Not redundant with existing MCP servers (check INSTALLED.md + the connected-server list)
- Propose: Show the user:
Found MCP server: {name} Capabilities: {list of tools it provides} Source: {catalog entry} Requires: {any API keys or auth needed} Want me to add it? - Install (on user approval):
mcp-add "{server-name}" - Verify: Make a test call to confirm tools are working
- Register: Document the server in
~/.claude/INSTALLED.md(dated entry: name, purpose, access method).skills/REGISTRY.mdwas retired — the live skill index isACTIVE-DIRECTORY.md. - Log: Update
~/.claude/SYSTEM_CHANGELOG.md
Skill Creation Protocol
- Template: Read
~/.claude/skills/self-evolve/templates/skill-template.md - Write: Create
~/.claude/skills/{name}/SKILL.mdwith:- Proper frontmatter (name, description with trigger conditions)
auto-generated: truetag in frontmatterkeywords: [keyword1, keyword2, "multi word phrase"]in frontmatter — these feed the keyword detection system so the skill is auto-suggested on matching prompts- Clear "When to Use" section
- Step-by-step "Process" section
- Expected "Output Format"
- Register (v8.14: REGISTRY.md never existed — real surfaces below, same set skill-vet SK-140 uses):
skills/ACTIVE-DIRECTORY.md— add the| SK-NNN | {name} | {purpose} | skills/{name}/SKILL.md |row + bump the header total (next free SK number = last entry + 1)SYSTEM_VERSION.md—Skills (in ACTIVE-DIRECTORY)row countARCHITECTURE.md+REFERENCE.md+ README badges — count mentions (theskill-countsvalidator cross-checks all surfaces; runnode scripts/system-doctor.jsafter)
- Changelog: Update
~/.claude/SYSTEM_CHANGELOG.md - Verify: Read back the skill to confirm it's well-formed
Safety Rules — Non-Negotiable
- NEVER install paid services or servers requiring paid API keys without explicit user confirmation
- NEVER add MCP servers that require authentication tokens the user hasn't provided
- ALWAYS verify free tier availability before suggesting
- ALWAYS show the user what will be added and get confirmation for MCP servers
- ALWAYS check ACTIVE-DIRECTORY.md + ARCHIVE-DIRECTORY.md for duplicates before creating (grep for similar names/purposes)
- MAX 1 auto-created skill per session unless user explicitly requests more
- Skills are local files only — no external downloads or binary installations
- If uncertain whether something is free, ASK the user
Examples
Example 1: Missing MCP Server
User: "Can you check my Asana tasks?"
Gap: No Asana MCP server connected
Action: mcp-find "asana" → found → propose → user approves → mcp-add → registerExample 2: Repeated Pattern
Pattern: Claude has formatted markdown tables 4 times this session using the same 6-step process
Action: Create skill "markdown-table-formatter" with the 6 steps abstractedExample 3: Domain Knowledge
User: "How do I use the Stripe API?"
Action: Context7 search first → if sufficient, use inline → if recurring need, create reference skillDoes 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.

