Skip to content
Skill

Continuous learning v2

Turns Claude Code session observations into reusable, confidence-scored instincts

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

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

Similar skills

About Continuous learning v2

Continuous Learning v2 watches a Claude Code session through pre and post tool-use hooks, recording prompts, tool calls and outcomes. A background observer then looks for patterns such as user corrections, error resolutions and repeated workflows, and saves each one as a small instinct: a single trigger paired with a single action, carrying a confidence score between 0.3 and 0.9 and a domain tag.

Instincts are stored per project, detected from the git remote or repository path, so conventions for one codebase do not leak into another. Broadly useful patterns can be promoted to global scope when they appear in two or more projects with an average confidence of at least 0.8. Related instincts can be clustered and evolved into skills, commands or agents, and instincts can be exported or imported as files, without exporting raw observations.

The skill ships bash hook scripts and a Python CLI (instinct-cli.py) with commands for status, evolve, export, import, promote and project listing. Observer settings such as enabling the background analysis and its interval live in a config.json file. The background observer needs WSL2, Linux or macOS, as native Windows is not supported.

When your agent uses it

Instinct-based learning system that observes sessions via hooks, creates atomic instincts with confidence scoring, and evolves them into skills/commands/agents. v2.1 adds project-scoped instincts to prevent cross-project contamination. Use when capturing lessons from a session, managing instincts, or promoting them into skills, commands, or agents.

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 13 files (267 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-v2:

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-v2 &&
cp -R "$tmp/.agents/skills/continuous-learning-v2" ~/.claude/skills/continuous-learning-v2 &&
rm -rf "$tmp"

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

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/continuous-learning-v2 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-v2 &&
cp -R "$tmp/.agents/skills/continuous-learning-v2" ~/.agents/skills/continuous-learning-v2 &&
rm -rf "$tmp"

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

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/continuous-learning-v2 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-v2 &&
cp -R "$tmp/.agents/skills/continuous-learning-v2" ~/.cursor/skills/continuous-learning-v2 &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/continuous-learning-v2 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-v2

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

Gemini CLI docs on skills

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

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-v2 &&
cp -R "$tmp/.agents/skills/continuous-learning-v2" ~/.copilot/skills/continuous-learning-v2 &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/continuous-learning-v2 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-v2 into your agent's skills folder as continuous-learning-v2. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Session observation hooks
Pre and post tool-use hooks record prompts and tool activity from Claude Code sessions.
Confidence-scored instincts
Learned behaviors are stored as atomic trigger-action pairs with scores from 0.3 to 0.9.
Project-scoped learning
Instincts are isolated per repository, while universal patterns can be promoted to global scope.
Evolution into skills
Clusters of related instincts can be turned into skills, commands or agents.
Instinct export and import
Shareable instinct files can be exported and imported without raw session data.
Observer configuration
A config file controls background analysis, run interval and minimum observation count.

Good for

  • Capture lessons learned from a coding session for later reuse
  • Review which instincts the agent has learned for the current project
  • Promote a repeated coding convention into a global instinct
  • Turn a cluster of related instincts into a reusable skill
  • Export learned instincts to share with a teammate

Continuous learning v2 FAQ

What does Continuous learning v2 need to run?

It uses bash hook scripts and a Python 3 CLI (instinct-cli.py), which runs on Python 3.6 and newer. The background observer requires WSL2, Linux or macOS.

When does the observer analyze sessions?

Observer settings are in config.json. Background analysis is disabled by default, runs every 5 minutes when enabled, and waits for at least 20 observations.

How does Continuous learning v2 decide which project an instinct belongs to?

It checks the CLAUDE_PROJECT_DIR variable, then the git remote URL, then the repository path, and falls back to global scope if no project is detected.

Are my raw session observations shared when I export?

No. Only instincts can be exported, not raw observations, and observations stay on the local machine.

How do I install Continuous learning v2 in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/continuous-learning-v2 to use it in all your projects, or to .claude/skills/continuous-learning-v2 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 v2 run scripts?

Yes. It runs shell and Python scripts. Its scripts contain network calls. 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 v2?

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 v2?

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

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