Skip to content
Skill

Continuous learning

Legacy v1 stop-hook tool that extracts reusable patterns from Claude Code sessions

Continuous learning is an open-source agent skill for knowledge and memory. It is available on Claude Code.

Scripts
shell
Platforms
Claude Code
GitHub stars
66
Last commit
License
MIT
Listing updated

Similar skills

About Continuous learning

This is the deprecated v1 version of a continuous learning skill for Claude Code. It runs as a Stop hook at the end of a session, checks whether the session is long enough (10 messages by default), looks for patterns such as error resolutions, user corrections, workarounds and debugging techniques, and saves useful ones as learned skills under the user's Claude skills folder.

Behaviour is controlled through a config.json file where the message threshold, extraction level, auto-approve setting, output path and pattern categories can be adjusted. The documentation notes that the plain shell hook only logs to stderr, while actual delivery to the model requires an opt-in JavaScript evaluator registered through plugin hooks.

The skill points users to continuous-learning-v2 for new installs, which replaces stop-hook observation with tool-use hooks and stores atomic instincts with confidence scores. This version is kept for archival reference and compatibility with existing setups.

When your agent uses it

[DEPRECATED - use continuous-learning-v2] Legacy v1 stop-hook skill extractor. v2 is a strict superset with instinct-based, project-scoped, hook-reliable learning. Do not invoke v1: when continuous learning, session learning, or pattern extraction is requested, route to continuous-learning-v2 instead.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 4 files (9 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the rea-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add smartworldarafath/REA_Skill
/plugin install rea-skills@smartworldarafath

Or copy only this skill to ~/.claude/skills/continuous-learning:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/continuous-learning &&
cp -R "$tmp/.agents/skills/continuous-learning" ~/.claude/skills/continuous-learning &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/continuous-learning inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/continuous-learning to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/continuous-learning &&
cp -R "$tmp/.agents/skills/continuous-learning" ~/.agents/skills/continuous-learning &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/continuous-learning inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/continuous-learning to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/continuous-learning &&
cp -R "$tmp/.agents/skills/continuous-learning" ~/.cursor/skills/continuous-learning &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/continuous-learning inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/smartworldarafath/REA_Skill.git --path .agents/skills/continuous-learning

Or copy the folder to ~/.gemini/skills/continuous-learning yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/continuous-learning:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/continuous-learning &&
cp -R "$tmp/.agents/skills/continuous-learning" ~/.copilot/skills/continuous-learning &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/continuous-learning inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git

Then copy REA_Skill/.agents/skills/continuous-learning into your agent's skills folder as continuous-learning. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Stop-hook session evaluation
Evaluates a finished Claude Code session once the agent stops responding, provided it meets a message threshold.
Pattern detection categories
Looks for error resolutions, user corrections, workarounds, debugging techniques and project-specific conventions.
Configurable extraction
A config.json file sets session length, extraction threshold, auto-approve, output path and ignored patterns.
Learned skill storage
Saves extracted patterns as learned skills in a folder under the user's Claude skills directory.
Opt-in nudge delivery
Optional delivery of the extraction prompt to the model, gated by once-per-session and session lease checks.

Good for

  • Capture a fix for a recurring framework quirk as a reusable skill
  • Save project-specific conventions discovered during a coding session
  • Review and curate previously learned skills in the learned folder
  • Compare the v1 stop-hook approach with the v2 instinct-based approach

Continuous learning FAQ

Should I install Continuous learning today?

The SKILL.md marks it as deprecated and recommends continuous-learning-v2 for new installs. This version is kept for backward compatibility with existing setups.

What triggers the skill?

It runs as a Stop hook when Claude finishes responding, and only evaluates sessions that reach the configured message threshold, 10 by default.

What does Continuous learning need to be configured?

Claude Code with a settings.json hook entry pointing to the evaluate-session script, and an optional config.json for thresholds and patterns.

Where are learned skills saved?

By default in ~/.claude/skills/learned/, a path that can be changed in config.json.

How do I install Continuous learning in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/continuous-learning to use it in all your projects, or to .claude/skills/continuous-learning in one project. Or install the rea-skills plugin, which includes it: /plugin marketplace add smartworldarafath/REA_Skill, then /plugin install rea-skills@smartworldarafath.

Does Continuous learning run scripts?

Yes. It runs shell scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Continuous learning?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Continuous learning?

The closest alternatives to Continuous learning are Continuous learning v2, Continual learning, Mine learnings, Claude mem and Compound memory.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from smartworldarafath/REA_Skill

  1. Guides building and auditing UI to WCAG 2.2 AA across web, iOS and Android

    • Open source
    • 66 GitHub stars
    • Developer tools
  2. Diagnoses agent and LLM stacks for hidden failures and ranks the fixes by severity

    • Open source
    • 66 GitHub stars
    • Developer tools
  3. Compare coding agents head-to-head on your own tasks by pass rate, cost and time

    • Open source
    • 66 GitHub stars
    • Developer tools
  4. Guides an agent to design tool sets, observations and error recovery for better completion

    • Open source
    • 66 GitHub stars
    • Developer tools
  5. Lets an AI agent make x402 payments within per-task budgets and spending policies

    • Open source
    • 66 GitHub stars
    • Finance and payments