# Continual learn

> Continual learn is an open-source agent skill for knowledge and memory. Keeps a MENTAL_MODEL.md scratchpad in the workspace to carry lessons across turns. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/melandlabs/openloomi/tree/main/benchmark/continual-learning-bench/skills/continual-learn
- **Repository:** https://github.com/melandlabs/openloomi
- **GitHub stars:** 1,046
- **License:** Apache-2.0
- **Skill name:** continual-learn
- **Collection:** https://github.com/melandlabs/openloomi
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-12-02

## About

This skill asks the agent to maintain a real file named MENTAL_MODEL.md in the current workspace, creating it if missing and consulting it at the start of each turn. Before every answer, the agent must perform an actual filesystem write to update the file, even when the requested response format is strict JSON or another fixed schema.

The file is meant as a compact, durable scratchpad. It holds the task goal, current plan, open assumptions, feedback received and how it changed the approach, repo quirks, commands tried, observed failures, hypotheses with supporting or contrary evidence, and the next concrete action. When nothing meaningful changed, the agent still records a short latest-turn line so the write happens.

The skill asks for hygiene: the file is pruned and rewritten as notes go stale, and secrets, raw datasets, large traces and transcript dumps are kept out. It has no scripts and relies on whatever file write or shell operation the agent already has.

## When your agent uses it

> Persist learning across turns by actively maintaining MENTAL_MODEL.md in the workspace. Use for iterative coding, debugging, benchmarking, or any feedback-driven task; read and update the file with actual filesystem writes before every response, never just hidden/internal memory.

## What it can access

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

- [Instructions only, no scripts](https://github.com/melandlabs/openloomi/tree/HEAD/benchmark/continual-learning-bench/skills/continual-learn)
- [License: Apache-2.0](https://github.com/melandlabs/openloomi/tree/HEAD/benchmark/continual-learning-bench/skills/continual-learn)

## Features

- **Persistent workspace scratchpad:** Stores a MENTAL_MODEL.md file in the working directory that the agent reads and updates across turns.
- **Mandatory pre-response writes:** Requires a real filesystem write before each final answer rather than relying on hidden memory.
- **Structured note categories:** Lists what to record, including goals, feedback, hypotheses, failures and next actions.
- **Compact file hygiene:** Asks the agent to prune stale notes and exclude secrets, raw data and large traces.
- **Schema-compatible responses:** Keeps the file write separate so strict JSON or schema-bound replies still follow their format.

## Good for

- Keep track of hypotheses while debugging a failing test across several turns
- Carry lessons from benchmark feedback into the next iteration of a coding task
- Record commands tried and their failures during an iterative build
- Maintain a running plan for a multi-step refactor in the workspace

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/continual-learn` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/melandlabs/openloomi.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/continual-learn &&
cp -R "$tmp/benchmark/continual-learning-bench/skills/continual-learn" ~/.claude/skills/continual-learn &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/continual-learn` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/continual-learn` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/melandlabs/openloomi.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/continual-learn &&
cp -R "$tmp/benchmark/continual-learning-bench/skills/continual-learn" ~/.agents/skills/continual-learn &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/continual-learn` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/continual-learn` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/melandlabs/openloomi.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/continual-learn &&
cp -R "$tmp/benchmark/continual-learning-bench/skills/continual-learn" ~/.cursor/skills/continual-learn &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/continual-learn` 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/melandlabs/openloomi.git --path benchmark/continual-learning-bench/skills/continual-learn
```

Or copy the folder to `~/.gemini/skills/continual-learn` yourself.

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/melandlabs/openloomi.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/continual-learn &&
cp -R "$tmp/benchmark/continual-learning-bench/skills/continual-learn" ~/.copilot/skills/continual-learn &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/continual-learn` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/melandlabs/openloomi.git
```

Then copy `openloomi/benchmark/continual-learning-bench/skills/continual-learn` into your agent's skills folder as `continual-learn`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

It has no scripts and no tool list. It needs the agent to be able to write files in the workspace, either through a dedicated edit operation or a shell command.

### When does Continual learn trigger?

Its description points to iterative coding, debugging, benchmarking or any feedback-driven task.

### Does Continual learn change my final answer format?

No. The skill says the file write happens before the response, and the response must still follow any requested schema exactly.

### What should not go into the file?

The skill says not to store secrets, raw datasets, large traces or unrelated transcript dumps.

### How do I install Continual learn in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/continual-learn to use it in all your projects, or to .claude/skills/continual-learn in one project.

### Does Continual learn run scripts?

No. It is instructions only, with no 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 Continual learn?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Continual learn?

The closest alternatives to Continual learn are Vibe reflect and compound, Learn, LLM wiki, Continual learning and Nemo rl session memory.

## Where this comes from

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

## Alternatives

- [Vibe reflect and compound](https://ai-powered.com/skills/vibe-reflect-and-compound): Vibe reflect and compound is an open-source agent skill for knowledge and memory.
- [Learn](https://ai-powered.com/skills/learn): Learn is an open-source agent skill for knowledge and memory.
- [LLM wiki](https://ai-powered.com/skills/llm-wiki): LLM wiki 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.
- [Nemo rl session memory](https://ai-powered.com/skills/nemo-rl-session-memory): Nemo rl session memory is an open-source agent skill for knowledge and memory.
- [Memory review](https://ai-powered.com/skills/memory-review): Memory review is an open-source agent skill for knowledge and memory.
- [Desk journal](https://ai-powered.com/skills/desk-journal): Desk journal 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.

---
Source: https://ai-powered.com/skills/continual-learn
