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.
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-learningRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/affaan-m/ECC /tmp/ECC && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ECC/skills/continuous-learning ~/.gemini/antigravity-cli/skills/continuous-learningAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install continuous-learning in Antigravity CLI
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
ANo 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 →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
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.
