# Continuous learning

> Continuous learning is an open-source agent skill for knowledge and memory. Legacy v1 stop-hook tool that extracts reusable patterns from Claude Code sessions. 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
- **Repository:** https://github.com/smartworldarafath/rea_skill
- **GitHub stars:** 66
- **License:** MIT
- **Skill name:** continuous-learning
- **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

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.

## What it can access

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

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

## Features

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

## 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`:

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

### Codex

Copy the skill folder to `~/.agents/skills/continuous-learning` 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 &&
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.

### Cursor

Copy the skill folder to `~/.cursor/skills/continuous-learning` 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 &&
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.

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

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

### VS Code

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

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

### 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` into your agent's skills folder as `continuous-learning`. Agents that support SKILL.md read one folder per skill.

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

## Alternatives

- [Continuous learning v2](https://ai-powered.com/skills/continuous-learning-v2): Continuous learning v2 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.
- [Mine learnings](https://ai-powered.com/skills/mine-learnings): Mine learnings 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.
- [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 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.

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