with one click
continuous-learning-v2
// Instinct-based learning system with confidence scoring. Automatically learns patterns from sessions and evolves them into skills. Supports import/export for team sharing.
// Instinct-based learning system with confidence scoring. Automatically learns patterns from sessions and evolves them into skills. Supports import/export for team sharing.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | continuous-learning-v2 |
| description | Instinct-based learning system with confidence scoring. Automatically learns patterns from sessions and evolves them into skills. Supports import/export for team sharing. |
| context | fork |
Instincts are micro-patterns learned from coding sessions. Unlike full skills, instincts are:
{
"id": "inst_abc123",
"pattern": "When encountering CORS errors in Next.js API routes...",
"solution": "Add headers object with Access-Control-Allow-* fields",
"confidence": 0.85,
"uses": 12,
"successes": 10,
"created": "2026-01-15T10:30:00Z",
"lastUsed": "2026-01-28T14:20:00Z",
"tags": ["nextjs", "api", "cors", "debugging"],
"context": {
"framework": "next.js",
"version": "15.x",
"category": "debugging"
}
}
/instinct-statusView learned instincts with confidence scores:
š Instinct Status
Total: 47 instincts | Avg Confidence: 0.78
High Confidence (>0.8):
ā
CORS handling in Next.js API [0.92] - 15 uses
ā
Prisma transaction patterns [0.88] - 8 uses
ā
React useEffect cleanup [0.85] - 23 uses
Medium Confidence (0.5-0.8):
ā” Supabase RLS policies [0.72] - 5 uses
ā” Tailwind responsive patterns [0.68] - 7 uses
Low Confidence (<0.5):
ā Edge function cold starts [0.45] - 2 uses
/instinct-exportExport instincts for sharing:
# Export all instincts
/instinct-export
# Export by tag
/instinct-export --tags=nextjs,react
# Export high confidence only
/instinct-export --min-confidence=0.8
Output: .ai_state/instincts/export-2026-01-28.json
/instinct-import <file>Import instincts from team:
/instinct-import shared-instincts.json
Imported instincts start with 0.5 confidence and adjust based on local use.
/evolveCluster related instincts into a skill:
# Interactive evolution
/evolve
# Target specific tags
/evolve --tags=authentication
Instincts are captured when:
confidence = successes / uses * decay_factor
where:
decay_factor = 0.95^(days_since_last_use / 30)
Confidence increases with successful uses, decreases with failures or time.
.ai_state/instincts/
āāā instincts.json # Main instinct database
āāā index.md # Human-readable index
āāā exports/ # Export history
ā āāā export-*.json
āāā evolved/ # Evolved skills
āāā skill-*.md
When instincts cluster around a topic:
1. Identify Related Instincts
- Same tags (>3 instincts)
- Similar patterns
- High combined confidence
2. Generate Skill Draft
- Merge patterns
- Synthesize solutions
- Create SKILL.md
3. User Review
- Present draft
- Cunzhi confirmation
- Install or iterate
4. Deprecate Instincts
- Mark as "evolved"
- Link to new skill
Instincts ā lightweight, auto-captured
Experience ā heavyweight, manually curated
Workflow:
1. Instinct captured automatically
2. High-confidence instincts ā candidate for experience
3. User confirms ā promote to experience
/learn # Capture to instincts (default)
/learn --experience # Capture to experience (manual)
/learn --dry-run # Preview without saving
Instincts must meet criteria:
# Export team-relevant instincts
/instinct-export --min-confidence=0.7 --tags=our-stack
# Import with namespace
/instinct-import team-patterns.json --namespace=team
# Review imported before trusting
/instinct-status --namespace=team