Help us improve
Share bugs, ideas, or general feedback.
Analyzes instincts, clusters related ones (3+) by domain, triggers, and sequences, then evolves them into commands, skills, or agents saved to ~/.claude/homunculus/evolved/. Supports --domain, --dry-run, --threshold.
npx claudepluginhub arabicapp/everything-claude-codeHow this command is triggered — by the user, by Claude, or both
Slash command
/everything-claude-code:evolveThe summary Claude sees in its command listing — used to decide when to auto-load this command
# Evolve Command ## Implementation 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..." - Instincts with triggers like "when creating a new X" - Instincts that follow a repeatable sequence Example: - `...
/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.
/evolveAnalyzes instincts from ~/.claude/homunculus/instincts/, clusters related ones into commands, skills, or agents, and outputs evolution analysis with clusters, types, confidence, and file paths. Supports --domain, --dry-run, --threshold flags.
/evolveChecks instinct clustering across domains and proposes evolved capabilities (commands, skills, agents) if 5+ share a domain. Creates on approval and updates identity.
/evolveGroups related instincts into reusable skills by clustering them into domains, creating organized SKILL.md files. Supports --context compose.
/evolveClusters proven patterns from past commands into a proposed reusable Command, Skill, or Agent via the Instinct Engine.
/evolveClusters accumulated learning content from memory-bank and rules, evolving it into Skills, Agents, or Commands. Use --execute to generate files, --dry-run to preview, --domain to filter by area.
Share bugs, ideas, or general feedback.
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 --domain testing # Only evolve instincts in testing domain
/evolve --dry-run # Show what would be created without creating
/evolve --threshold 5 # Require 5+ related instincts to cluster
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
~/.claude/homunculus/instincts/~/.claude/homunculus/evolved/{commands,skills,agents}/🧬 Evolve Analysis
==================
Found 3 clusters ready for evolution:
## Cluster 1: Database Migration Workflow
Instincts: new-table-migration, update-schema, regenerate-types
Type: Command
Confidence: 85% (based on 12 observations)
Would create: /new-table command
Files:
- ~/.claude/homunculus/evolved/commands/new-table.md
## Cluster 2: Functional Code Style
Instincts: prefer-functional, use-immutable, avoid-classes, pure-functions
Type: Skill
Confidence: 78% (based on 8 observations)
Would create: functional-patterns skill
Files:
- ~/.claude/homunculus/evolved/skills/functional-patterns.md
## Cluster 3: Debugging Process
Instincts: debug-check-logs, debug-isolate, debug-reproduce, debug-verify
Type: Agent
Confidence: 72% (based on 6 observations)
Would create: debugger agent
Files:
- ~/.claude/homunculus/evolved/agents/debugger.md
---
Run `/evolve --execute` to create these files.
--execute: Actually create the evolved structures (default is preview)--dry-run: Preview without creating--domain <name>: Only evolve instincts in specified domain--threshold <n>: Minimum instincts required to form cluster (default: 3)--type <command|skill|agent>: Only create specified type---
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]