# Continuous learning v2

> Continuous learning v2 is an open-source agent skill for knowledge and memory. Turns Claude Code session observations into reusable, confidence-scored instincts. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/smartworldarafath/REA_Skill/tree/main/.agents/skills/continuous-learning-v2
- **Repository:** https://github.com/smartworldarafath/rea_skill
- **GitHub stars:** 66
- **License:** MIT
- **Skill name:** continuous-learning-v2
- **Collection:** https://github.com/smartworldarafath/REA_Skill
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-12-01

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs shell and Python scripts](https://github.com/smartworldarafath/REA_Skill/tree/HEAD/.agents/skills/continuous-learning-v2)
- [Network calls found in its scripts](https://github.com/smartworldarafath/REA_Skill/tree/HEAD/.agents/skills/continuous-learning-v2)
- [License: MIT](https://github.com/smartworldarafath/REA_Skill/tree/HEAD/.agents/skills/continuous-learning-v2)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Continuous learning](https://ai-powered.com/skills/continuous-learning): Continuous learning is an open-source agent skill for knowledge and memory.
- [Continual learning](https://ai-powered.com/skills/continual-learning): Continual learning is an open-source agent skill for knowledge and memory.
- [Compound memory](https://ai-powered.com/skills/compound-memory-protocol-zero-0): Compound memory is an open-source agent skill for knowledge and memory.
- [Memory sync](https://ai-powered.com/skills/memory-sync): Memory sync is an open-source agent skill for knowledge and memory.
- [Claude mem](https://ai-powered.com/skills/claude-mem-smartworldarafath): Claude mem is an open-source agent skill for knowledge and memory.
- [Claude API](https://ai-powered.com/skills/claude-api): Claude API is a free agent skill for ai models and llm tooling.
- [Recap](https://ai-powered.com/skills/recap-onebrain-ai): Recap is an open-source agent skill for knowledge and memory.
- [Mine learnings](https://ai-powered.com/skills/mine-learnings): Mine learnings is an open-source agent skill for knowledge and memory.

---
Source: https://ai-powered.com/skills/continuous-learning-v2
