continuous-learning-v2

Detect Claude Code session patterns and generate confidence-scored instincts.

1|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/beratcelik1/compound-claude --skill continuous-learning-v2-beratcelik1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: continuous-learning-v2
Source: https://github.com/beratcelik1/compound-claude/tree/main/skills/continuous-learning-v2
Command: npx skills add https://github.com/beratcelik1/compound-claude --skill continuous-learning-v2-beratcelik1

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python3, git, claude, and includes scripts (resource) components.

## What problem does it solve? Continuous Learning v2 converts noisy session activity into concise, actionable knowledge by automatically observing tool calls and extracting small, confidence-scored "instincts" so patterns and conventions can be reused without manual curation.

## Core Features & Use Cases

  • Project‑scoped learning: Detects project context and stores instincts per-repo to avoid cross-project contamination.
  • Deterministic observation: Hooks capture PreToolUse/PostToolUse events reliably; an observer agent analyzes observations to create/update instincts.
  • Evolution & governance: CLI and commands support status, evolve (cluster instincts into skills/commands/agents), export/import, and promotion from project to global when patterns are proven.
  • Safe, evidence-backed rules: Each instinct carries evidence and confidence scoring, with conservative promotion rules and privacy-preserving storage in the user's homunculus directory.

### Quick Start Enable the observation hooks and start the observer for the current repository to begin capturing and evolving instincts.

Frequently Asked Questions about continuous-learning-v2

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically extract reusable patterns from Claude Code sessions?

You can automatically extract reusable patterns by enabling observation hooks that capture PreToolUse and PostToolUse events. An observer agent then analyzes these session activities to generate confidence-scored atomic instincts.

Can I scope learned Claude Code behaviors to a specific git repository?

Yes, you can scope learned behaviors to specific repositories. The tool detects project context and stores instincts per-repo under the ~/.claude/homunculus directory, preventing cross-project contamination of conventions.

How do I promote project-specific instincts to global Claude configurations?

You can promote project-specific instincts to global configurations using built-in CLI commands. Once patterns are proven and reach sufficient confidence scoring, the promotion mechanism elevates them from project scope to global scope.

Do I need Python and Git to automate Claude Code session learning?

Yes, you need Python, Git, and Claude installed to automate session learning. These dependencies are required to run the observer scripts and manage the project-scoped detection of repository contexts.

What is the best way to manage and evolve Claude Code session instincts?

The best way to manage session instincts is using the provided CLI commands. You can use status to view instincts, evolve to cluster them into skills, and import or export the learned behaviors for governance.

Are there limitations to continuous learning hooks for Claude Code?

A limitation of continuous learning hooks is that instincts rely on conservative promotion rules and evidence-backed scoring. This means patterns must accumulate sufficient confidence before being applied, preventing immediate automated reuse.