evolve
Skill20 starsChanged 2 months agoApache-2.0View on GitHub
Ring 3 evolution engine. Analyzes session observations, generates and improves evolved skills, shows metrics dashboard. Subcommands: status, history, rollback, reset. Use for post-session review and skill improvement.
41 other projects use a version of this.
Adopted by
Most recently taken up by
- SethGammon/Citadeltheir own version, first seen Nov 4, 2026
- vidit19sharma/neogentstheir own version, first seen Nov 1, 2026
- cabernect/caberostheir own version, first seen Nov 1, 2026
- Snowflake-Labs/coco-skillstheir own version, first seen Nov 1, 2026
- NobiResearch/Ovenbirdtheir own version, first seen Nov 1, 2026
- ES-92/esctheir own version, first seen Oct 20, 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
AWSSkillmap
Map verified service capabilities against customer-provided control framework and threat model. Produces mapping-results.json, controls-catalog.md, and framework-mapping.md. Supports pluggable frameworks: CCMv4, NIST 800-53, CIS Benchmarks, ISO 27001, etc. Split into 4 focused sub-skills for better accuracy; this skill orchestrates them.
Also in 5 projects that use this
diego-tobalinaSkillbuild-fix
Fix build and compilation errors systematically. Run when build fails.
Also in 3 projects that use this
launch52-aiSkillskill-create
Create and validate Claude Code skills with proper structure, checklists, and validation scripts. Use when creating a new skill, auditing existing skills, or ensuring skills meet quality standards. Generates complete skill scaffolds with SKILL.md, check scripts, guides, and templates.
Also in 3 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
- +1 more from TheKREATORS
Other versions41 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 41
- revfactory/harness★ 9.1ksame name
- Q00/ouroboros★ 6.3ksame name
- yologdev/yoyo-evolve★ 1.9ksame name
- iovisor/ubpf★ 996same name
- SethGammon/Citadel★ 927same name
- GAIR-NLP/ASI-Evolve★ 867same name
- Kanevry/session-orchestrator★ 53same name
- mycelium-hq/ai-brain-starter★ 50same name
- Snowflake-Labs/coco-skills★ 49same name
- unclejobs-ai/second-claude-code★ 41same name
31 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 repository29 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- benchmarkSkill
- agent-introspectionSkill
- auditSkill
- commitSkill
- contextSkill
- councilSkill
- _criticSkill
- debugSkill
- discoverSkill
- _dispatchSkill
- documentSkill
- evalSkill
- goSkill
- orbitSkill
- orchestrateSkill
- perfSkill
- reflectSkill
- secureSkill
- shipSkill
- simplifySkill
- specSkill
- tddSkill
- teamSkill
- threat-modelSkill
- triageSkill
- verifySkill
- vuln-scanSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 1 is distinctive, and 8 are very specific to this project.
0
Common
Most of the 36 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
CRITICAL: Run HARNESS_DIR=$(epic path) first.
- Very specific: line 15
Read observation logs from $HARNESS_DIR/obs/
- Very specific: line 24
Read $HARNESS_DIR/metrics.json and $HARNESS_DIR/evolution.jsonl, then display:
- Very specific: line 54
Read $HARNESS_DIR/evolution.jsonl (full history), then display:
- Very specific: line 77
If $HARNESS_DIR/evolved_backup/ exists, restore it to $HARNESS_DIR/evolved/
- Very specific: line 104
When epic-harness reflect seeds a skill, it emits a pending-synthesis manifest to $HARNESS_DIR/projects/{slug}/pending_synth.jsonl (failure …
- Very specific: line 108
Read $HARNESS_DIR/projects/{slug}/pending_synth.jsonl.
- Very specific: line 120
If no host runs accept-synth, the template body persists — synthesis can only improve a skill, never block it.
- Distinctive: line 131
Not reviewing evolved skills periodically
“Common” is measured: kept by at least 6 in 10 of the 36 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
/evolve — Manual Evolution Trigger
CRITICAL: Run HARNESS_DIR=$(epic path) first. NEVER use .harness/ in the project directory.
You are the Evolution Engine — analyze past sessions to improve skills.
Sub-commands
/evolve (default) — Run evolution now
- Read observation logs from
$HARNESS_DIR/obs/ - Analyze failure patterns across all sessions
- Identify weak areas (error types, recurring failures)
- Generate or improve evolved skills in
$HARNESS_DIR/evolved/ - Gate: validate new skills (format, dedup, cap of 10)
- Report what changed
/evolve status — Show evolution dashboard
Read $HARNESS_DIR/metrics.json and $HARNESS_DIR/evolution.jsonl, then display:
## Evolution Dashboard
### Overview
- Sessions analyzed: {total_sessions}
- Average success rate: {avg_success_rate}%
- Best score: {best_score} (session: {best_session})
- Trend: {trend} ({score_history.length} data points)
- Stagnation count: {stagnation_count} / 3 (rollback at 3)
### Score History (last 5 sessions)
| Session | Success Rate | Avg Score | Observations | Tool Success | Output Quality |
|---------|-------------|-----------|--------------|-------------|---------------|
### Evolved Skills
(list $HARNESS_DIR/evolved/*/SKILL.md with name and description from frontmatter)
### Last Session Analysis
(read last entry from evolution.jsonl)
- Error patterns: {error_patterns}
- Failure patterns: {failure_patterns[].pattern_type}
- Skills seeded: {skills_seeded}
- Skills rolled back: {skills_rolled_back}
- Analysis: {analysis_summary}/evolve history — Long-term analysis
Read $HARNESS_DIR/evolution.jsonl (full history), then display:
## Evolution History
### Trend Over Time
| Session # | Date | Success Rate | Avg Score | Skills | Patterns |
|-----------|------|-------------|-----------|--------|----------|
### Cumulative Pattern Frequency
| Pattern | Total Count | First Seen | Last Seen |
|---------|-------------|------------|-----------|
### Skill Effectiveness
| Skill | Sessions Active | Avg Score With | Avg Score Without | Delta |
|-------|----------------|----------------|-------------------|-------|
### Dispatch Analysis
| Skill | Times Invoked | Top Trigger Signals |
|-------|--------------|---------------------|/evolve rollback — Undo last evolution
- If
$HARNESS_DIR/evolved_backup/exists, restore it to$HARNESS_DIR/evolved/ - Otherwise, read
$HARNESS_DIR/evolution.jsonlfor last entry, remove skills seeded in that entry - Append a rollback record to evolution.jsonl
- Report what was rolled back
/evolve reset — Clear all evolution data
- Remove
$HARNESS_DIR/evolved/,$HARNESS_DIR/evolved_backup/ - Clear
metrics.jsonandevolution.jsonl - Confirm with user first
How Evolution Works
Observe (PostToolUse — multi-dimensional scoring)
↓ $HARNESS_DIR/obs/session_YYYYMMDD.jsonl
Analyze (Stop or /evolve)
↓ SessionAnalysis: per-tool, per-ext, score distribution
↓ Pattern detection: repeated_same_error, fix_then_break, long_debug_loop, thrashing
Seed (auto-generate targeted skills)
↓ 4 seeding paths: pattern / weak tool / weak file type / high-freq error
Gate (validate: format, dedup, cap of 10)
↓ Stagnation check: 3 sessions no improvement → rollback to best checkpoint
Reload (next session resume reports metrics + loads evolved skills)Skill Synthesis (host-agent)
When epic-harness reflect seeds a skill, it emits a pending-synthesis manifest
to $HARNESS_DIR/projects/{slug}/pending_synth.jsonl (failure evidence + template body). To
synthesize a better body:
- Read
$HARNESS_DIR/projects/{slug}/pending_synth.jsonl; for each record withstatus: "pending": - Launch a subagent (use your host's subagent mechanism — do not name a specific
tool or model) with the manifest's
prompt_guidance+evidence, instructing it to write a markdown skill body with the required sections (## Process,## Anti-Rationalization,## Evidence Required,## Red Flags). - Apply the result:
epic-harness evolve accept-synth --skill <name> --file <body.md> - The CLI validates the body, runs the Critic gate, overwrites the template skill, and marks the manifest consumed.
If no host runs accept-synth, the template body persists — synthesis can only
improve a skill, never block it.
Scoring System
- Composite:
0.5 × tool_success + 0.3 × output_quality + 0.2 × execution_cost - Failure classification: 9 categories (type_error, syntax_error, test_fail, lint_fail, build_fail, permission_denied, timeout, not_found, runtime_error)
- Pattern detection: 4 types (repeated_same_error, fix_then_break, long_debug_loop, thrashing)
Red Flags
- Evolving after only 1-2 observations (not enough data)
- Keeping evolved skills that never trigger
- Not reviewing evolved skills periodically
- Ignoring stagnation warnings
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.

