npx claudepluginhub rlagycks/oh-my-forge --plugin oh-my-forge# Evolve Command ## Implementation Run the instinct CLI using the plugin root path: Or if `CLAUDE_PLUGIN_ROOT` is not set (manual installation): Analyzes instincts and clusters related ones into higher-level structures: - **Commands**: When instincts describe user-invoked actions - **Skills**: When instincts describe auto-triggered behaviors - **Agents**: When instincts describe complex, multi-step processes ## Usage ## Evolution Rules ### → Command (User-Invoked) When instincts describe actions a user would explicitly request: - Multiple instincts about "when user asks to..." ...
/evolveAnalyzes project and global instincts, clusters by trigger patterns, and suggests evolutions into commands, skills, or agents. Use --generate to create files in evolved directories.
/evolveStarts or monitors an evolutionary development loop by reading dedicated skill instructions and processing user arguments.
/evolveChecks instinct clustering across domains and proposes evolved capabilities (commands, skills, agents) if 5+ share a domain. Creates on approval and updates identity.
/evolveEvolves skill .md files by integrating validated lessons from usage data, generating diffs for user approval. Also supports --rollback, --export, and --import.
/evolveAnalyzes project and global instincts, clusters them by trigger patterns into command/skill/agent candidates, suggests evolutions, and generates files with --generate.
/evolveReconciles spec/code mismatches using AI-guided evolution with full user control over the process.
Run the instinct CLI using the plugin root path:
python3 "${CLAUDE_PLUGIN_ROOT}/skills/continuous-learning-v2/scripts/instinct-cli.py" evolve [--generate]
Or if CLAUDE_PLUGIN_ROOT is not set (manual installation):
python3 ~/.claude/skills/continuous-learning-v2/scripts/instinct-cli.py evolve [--generate]
Analyzes instincts and clusters related ones into higher-level structures:
/evolve # Analyze all instincts and suggest evolutions
/evolve --generate # Also generate files under evolved/{skills,commands,agents}
When instincts describe actions a user would explicitly request:
Example:
new-table-step1: "when adding a database table, create migration"new-table-step2: "when adding a database table, update schema"new-table-step3: "when adding a database table, regenerate types"→ Creates: new-table command
When instincts describe behaviors that should happen automatically:
Example:
prefer-functional: "when writing functions, prefer functional style"use-immutable: "when modifying state, use immutable patterns"avoid-classes: "when designing modules, avoid class-based design"→ Creates: functional-patterns skill
When instincts describe complex, multi-step processes that benefit from isolation:
Example:
debug-step1: "when debugging, first check logs"debug-step2: "when debugging, isolate the failing component"debug-step3: "when debugging, create minimal reproduction"debug-step4: "when debugging, verify fix with test"→ Creates: debugger agent
--generate is passed, write files to:
~/.claude/homunculus/projects/<project-id>/evolved/~/.claude/homunculus/evolved/============================================================
EVOLVE ANALYSIS - 12 instincts
Project: my-app (a1b2c3d4e5f6)
Project-scoped: 8 | Global: 4
============================================================
High confidence instincts (>=80%): 5
## SKILL CANDIDATES
1. Cluster: "adding tests"
Instincts: 3
Avg confidence: 82%
Domains: testing
Scopes: project
## COMMAND CANDIDATES (2)
/adding-tests
From: test-first-workflow [project]
Confidence: 84%
## AGENT CANDIDATES (1)
adding-tests-agent
Covers 3 instincts
Avg confidence: 82%
--generate로 새 command/skill을 생성할 때, .claude/ontology/index.json이 존재하면:
domain_*와 겹치는지 확인한다constraints[]를 생성 파일에 포함시킨다docs/features/ spec 파일 생성 후 /ontology-sync를 실행한다--generate: Generate evolved files in addition to analysis output---
name: new-table
description: Create a new database table with migration, schema update, and type generation
command: /new-table
evolved_from:
- new-table-migration
- update-schema
- regenerate-types
---
# New Table Command
[Generated content based on clustered instincts]
## Steps
1. ...
2. ...
---
name: functional-patterns
description: Enforce functional programming patterns
evolved_from:
- prefer-functional
- use-immutable
- avoid-classes
---
# Functional Patterns Skill
[Generated content based on clustered instincts]
---
name: debugger
description: Systematic debugging agent
model: sonnet
evolved_from:
- debug-check-logs
- debug-isolate
- debug-reproduce
---
# Debugger Agent
[Generated content based on clustered instincts]