Harness Component — Command
Evolve
Analyze instincts and suggest or generate evolved structures
Definition
Evolve Command
Implementation
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:
- Commands: When instincts describe user-invoked actions
- Skills: When instincts describe auto-triggered behaviors
- Agents: When instincts describe complex, multi-step processes
Usage
/evolve # Analyze all instincts and suggest evolutions
/evolve --generate # Also generate files under evolved/{skills,commands,agents}
Evolution Rules
→ Command (User-Invoked)
When instincts describe actions a user would explicitly request:
- Multiple instincts about "when user asks to..."
- Instincts with triggers like "when creating a new X"
- Instincts that follow a repeatable sequence
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
→ Skill (Auto-Triggered)
When instincts describe behaviors that should happen automatically:
- Pattern-matching triggers
- Error handling responses
- Code style enforcement
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
→ Agent (Needs Depth/Isolation)
When instincts describe complex, multi-step processes that benefit from isolation:
- Debugging workflows
- Refactoring sequences
- Research tasks
Example:
debug-step1: "when debugging
More from affaan-m/everything-claude-code
Add Language Rules
commandWorkflow command scaffold for add-language-rules in everything-claude-code.
Database Migration
commandWorkflow command scaffold for database-migration in everything-claude-code.
Feature Development
commandWorkflow command scaffold for feature-development in everything-claude-code.
Projects
commandList known projects and their instinct statistics
Promote
commandPromote project-scoped instincts to global scope
Prune
commandDelete pending instincts older than 30 days that were never promoted