Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

continuous-learning

Skill by affaan-m

Extracts reusable patterns from Claude Code sessions using a Stop hook and saves them as learned skills. Deprecated since 2026-04-28 and kept for backward compatibility; continuous-learning-v2 is the preferred path for new installs.

  • Score 94
  • 317k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install continuous-learning

Built from the published package, never by AI.

git clone --depth 1 https://github.com/affaan-m/ECC /tmp/ECC && mkdir -p ~/.claude/skills && cp -r /tmp/ECC/skills/continuous-learning ~/.claude/skills/continuous-learning

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install continuous-learning in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

continuous-learning is a legacy v1 skill for Claude Code that evaluates sessions when Claude finishes responding and extracts reusable patterns. It runs as a Stop hook, checks whether a session reached a message threshold (default 10), detects extractable patterns, and saves useful ones to ~/.claude/skills/learned/. Pattern types include error resolution, user corrections, workarounds, debugging techniques, and project-specific conventions.

The skill is deprecated as of 2026-04-28 and replaced by continuous-learning-v2, which the source describes as a strict superset. It is kept for archival reference and for existing installs that want the simpler Stop-hook flow. Thresholds, pattern categories and ignore rules are set in config.json. It suits Claude Code users who maintain learned skills or want to compare v1 with v2.

Written from the project's SKILL.md and checked against it.

What it can do

  • Session evaluationRuns as a Stop hook and checks whether a session has enough messages to evaluate.
  • Pattern detectionIdentifies error resolutions, user corrections, workarounds, debugging techniques and project conventions.
  • Skill extractionSaves useful patterns as learned skills in ~/.claude/skills/learned/.
  • Configurable thresholdsconfig.json sets minimum session length, extraction threshold, and ignore patterns.
  • Opt-in stop nudgeWith stop_nudge_opt_in set to true, delivers one extra turn per session to save patterns.
  • Manual extractionThe /learn command extracts patterns manually mid-session.

What you need

  • Claude Code
  • Stop hook configured in ~/.claude/settings.json

Try asking

  • Review the learned skills saved in ~/.claude/skills/learned/
  • Extract patterns from this session using /learn
  • Show the current continuous-learning config.json settings

Good to know

  • Deprecated since 2026-04-28; use continuous-learning-v2 for new installs.
  • By default the Stop hook only logs to stderr; the model does not see the signal.
  • Nudge delivery requires the JavaScript evaluator registered through plugin hooks and stop_nudge_opt_in set to true.
  • Kept for archival reference and backward compatibility with existing installs.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/continuous-learning/SKILL.md, skills/continuous-learning/evaluate-session.sh. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB
  • config.json421 B
  • evaluate-session.sh2 KB

Alternatives to continuous-learning

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

continuous-learning: common questions

Is continuous-learning still supported?

The source says v1 is still supported, but continuous-learning-v2 is the preferred path for new installs. It is marked deprecated as of 2026-04-28.

Where are learned skills saved?

Extracted patterns are saved to ~/.claude/skills/learned/. The learned_skills_path setting in config.json controls this location.

Why does the Stop hook not show anything to the model by default?

By default the Stop hook only logs to stderr. Setting stop_nudge_opt_in to true enables delivery through the native Stop contract, with several gates such as once per session.

How do I install continuous-learning?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is continuous-learning free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is continuous-learning safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to continuous-learning?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

continuous-learning Install

Add to stack

Loading.