Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
affaan-m avatar

Continuous Learning

  • 1.4k installs
  • 238k repo stars
  • Updated August 5, 2026
  • affaan-m/ecc

This is a copy of continuous-learning by affaan-m - installs and ranking accrue to the original listing.

continuous-learning is a deprecated Claude Code ECC skill that extracted reusable patterns from completed sessions via stop hooks, now replaced by continuous-learning-v2 for developers routing learning requests.

About

continuous-learning is a legacy affaan-m/ecc skill marked DEPRECATED as of 2026-04-28 in favor of continuous-learning-v2. Version 1 used stop-hook observation to extract reusable patterns and instincts from Claude Code sessions into stored skills. continuous-learning-v2 is documented as a strict superset: stop-hook observation becomes PreToolUse and PostToolUse observation, full skills become atomic instincts with confidence scoring, and global-only storage becomes project-scoped with global promotion. Developers should route continuous learning, session learning, and pattern extraction requests to continuous-learning-v2 instead of invoking this v1 skill.

  • Automatically evaluates Claude Code sessions on end
  • Extracts reusable patterns that become saved skills
  • Legacy Stop-hook observation mechanism
  • Routes new requests to continuous-learning-v2 superset
  • Maintains backward compatibility for existing installs

Continuous Learning by the numbers

  • 1,399 all-time installs (skills.sh)
  • +83 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/affaan-m/ecc --skill continuous-learning

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1.4k
repo stars238k
Last updatedAugust 5, 2026
Repositoryaffaan-m/ecc

How do agents learn patterns from past sessions?

Automatically extract reusable patterns and instincts from completed Claude Code sessions.

Who is it for?

Developers auditing legacy ECC installs who need to identify deprecated v1 continuous-learning and migrate routing to continuous-learning-v2.

Skip if: New projects seeking session learning, instinct extraction, or hook-reliable pattern capture—use continuous-learning-v2 instead.

When should I use this skill?

The user references continuous-learning v1, legacy stop-hook learning, or pattern extraction where v2 has not been configured yet.

What you get

For v1: extracted session patterns as reusable skills; current guidance points to continuous-learning-v2 instincts with project-scoped storage.

  • deprecated routing guidance
  • migration pointer to continuous-learning-v2

By the numbers

  • Deprecated 2026-04-28 in favor of continuous-learning-v2

Files

SKILL.mdMarkdownGitHub ↗

Continuous Learning Skill - DEPRECATED

DEPRECATED 2026-04-28. Use continuous-learning-v2 instead. v2 is a strict superset: stop-hook observation becomes PreToolUse/PostToolUse observation, full skills become atomic instincts with confidence scoring, and global-only storage becomes project-scoped plus global promotion.

>

This file is kept for archival reference and backward compatibility with existing installs.

---

Original v1 Documentation (archival)

Automatically evaluates Claude Code sessions on end to extract reusable patterns that can be saved as learned skills.

When to Activate

  • Setting up automatic pattern extraction from Claude Code sessions
  • Configuring the Stop hook for session evaluation
  • Reviewing or curating learned skills in ~/.claude/skills/learned/
  • Adjusting extraction thresholds or pattern categories
  • Comparing v1 (this) vs v2 (instinct-based) approaches

Status

This v1 skill is still supported, but continuous-learning-v2 is the preferred path for new installs. Keep v1 when you explicitly want the simpler Stop-hook extraction flow or need compatibility with older learned-skill workflows.

How It Works

This skill runs as a Stop hook at the end of each session:

1. Session Evaluation: Checks if session has enough messages (default: 10+) 2. Pattern Detection: Identifies extractable patterns from the session 3. Skill Extraction: Saves useful patterns to ~/.claude/skills/learned/

Configuration

Edit config.json to customize:

{
  "min_session_length": 10,
  "extraction_threshold": "medium",
  "auto_approve": false,
  "learned_skills_path": "~/.claude/skills/learned/",
  "patterns_to_detect": [
    "error_resolution",
    "user_corrections",
    "workarounds",
    "debugging_techniques",
    "project_specific"
  ],
  "ignore_patterns": [
    "simple_typos",
    "one_time_fixes",
    "external_api_issues"
  ]
}

Pattern Types

PatternDescription
error_resolutionHow specific errors were resolved
user_correctionsPatterns from user corrections
workaroundsSolutions to framework/library quirks
debugging_techniquesEffective debugging approaches
project_specificProject-specific conventions

Hook Setup

Add to your ~/.claude/settings.json:

{
  "hooks": {
    "Stop": [{
      "matcher": "*",
      "hooks": [{
        "type": "command",
        "command": "~/.claude/skills/continuous-learning/evaluate-session.sh"
      }]
    }]
  }
}

Why Stop Hook?

  • Lightweight: Runs once at session end
  • Non-blocking: Doesn't add latency to every message
  • Complete context: Has access to full session transcript

Related

  • The Longform Guide - Section on continuous learning
  • /learn command - Manual pattern extraction mid-session

---

Comparison Notes (Research: Jan 2025)

vs Homunculus

Homunculus v2 takes a more sophisticated approach:

FeatureOur ApproachHomunculus v2
ObservationStop hook (end of session)PreToolUse/PostToolUse hooks (100% reliable)
AnalysisMain contextBackground agent (Haiku)
GranularityFull skillsAtomic "instincts"
ConfidenceNone0.3-0.9 weighted
EvolutionDirect to skillInstincts → cluster → skill/command/agent
SharingNoneExport/import instincts

Key insight from homunculus:

"v1 relied on skills to observe. Skills are probabilistic—they fire ~50-80% of the time. v2 uses hooks for observation (100% reliable) and instincts as the atomic unit of learned behavior."

Potential v2 Enhancements

1. Instinct-based learning - Smaller, atomic behaviors with confidence scoring 2. Background observer - Haiku agent analyzing in parallel 3. Confidence decay - Instincts lose confidence if contradicted 4. Domain tagging - code-style, testing, git, debugging, etc. 5. Evolution path - Cluster related instincts into skills/commands

See: docs/continuous-learning-v2-spec.md for full spec.

Related skills

How it compares

Always prefer continuous-learning-v2 for new session-learning setups; v1 exists only as a legacy ECC reference.

FAQ

Is continuous-learning still supported?

continuous-learning v1 is deprecated as of 2026-04-28. ECC directs all continuous learning, session learning, and pattern extraction requests to continuous-learning-v2, which is a strict superset.

What improved in continuous-learning-v2?

continuous-learning-v2 replaces v1 stop-hook observation with PreToolUse and PostToolUse hooks, converts full skills into atomic instincts with confidence scoring, and adds project-scoped storage with global promotion.

What did continuous-learning v1 extract?

continuous-learning v1 used stop-hook observation on completed Claude Code sessions to extract reusable patterns and instincts into stored skills before v2 superseded the workflow.

AI & Agent Buildingagentsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.