Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Um comando direto ignora o prompt de revisão. Verifique a origem antes de executá-lo.
[{"name":"Load Instincts","description":"Read project instincts from ~/.claude/homunculus/"},{"name":"Filter by Domain/Confidence","description":"Apply filters if specified"},{"name":"Display or Modify","description":"List, add, apply, or promote instincts"},{"name":"Update Storage","description":"Persist changes to JSON with atomic writes"},{"name":"Evaluate for Promotion","description":"Check if confidence >= 0.8 for global promotion"},{"name":"Cluster into Skills","description":"Group related instincts for /evolve command"}]
Continuous Learning v2 Skill
Cross-session learning system that captures behavioral patterns as instincts with confidence scoring and automatic promotion to global scope.
What Claude Gets Wrong Without This Skill
Without continuous learning, Claude:
Rewrites skills manually instead of learning from patterns
Forgets project-specific patterns between sessions
Cannot differentiate high-confidence vs low-confidence patterns
Applies one-size-fits-all rules instead of context-specific instincts
Has no path for local instincts to become global best practices
Continuous learning tracks what works, increases confidence with successful applications, and promotes proven patterns globally.
The Instinct System
Instinct: Atomic behavioral unit with trigger (when), action (what), and confidence (0.0-1.0).
Example:
{"id":"inst_001","trigger":"writing test file","action":"colocate test next to source (src/user.ts -> src/user.test.ts)","confidence":0.85,"domain":"testing","evidence":["2026-03-28: Created tests/user.test.ts next to src/user.ts"],"scope":"project","apply_count":12}
Key Fields:
trigger: Natural language condition for when to apply
action: Specific, actionable instruction
confidence: 0.3 (new) to 0.95 (max), increases +0.05 per application
Why git-remote-hash: Unique per repository, consistent across local clones and team members.
Fallback: If no git remote, use directory path hash.
Structure:
{"project":{"name":"psc_comet","git_remote":"https://github.com/...","remote_hash":"a3f5b9c2","created":"2026-03-28T20:00:00Z"},"instincts":[...],// project-scoped"global_instincts":[...]// applies to all projects}
Atomic Writes: Write to temp file, then rename to prevent corruption.
Auto-Promotion
Trigger: Instinct applied in 2+ projects AND confidence >= 0.8.
Process:
Hook observes instinct applied in project A
Same instinct (by action similarity) applied in project B
System detects cross-project usage
Auto-promotes to global scope
Logs promotion to learnings.md
Manual Override: User can run /promote inst_NNN to force promotion.
Observation Mechanism
Hook: observe-instinct.sh runs at session Stop (end).
Current: Logs that observation occurred (Phase 8.0.1 stub).
Future Phases:
Parse tool call traces
Identify repeated patterns (e.g., always running tests before commit)
Auto-generate instinct suggestions
Surface for user approval
Frequency: Stop-only (v0.1.0). Higher frequency optional later (trade-off: interruptions vs learning rate).