Skip to content
Skill

Continual learn

Keeps a MENTAL_MODEL.md scratchpad in the workspace to carry lessons across turns

Continual learn is an open-source agent skill for knowledge and memory. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
1K
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Continual learn

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.

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 1 file (2 KB) on GitHub on 3 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

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

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

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/melandlabs/openloomi.git --path benchmark/continual-learning-bench/skills/continual-learn

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

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Continual learn 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.

More from melandlabs/openloomi

  1. Guides an agent through loading, transforming and charting tabular data with Polars

    • Open source
    • 1K GitHub stars
    • Analytics and data
  2. Guides an agent through designing and building a continual learning benchmark task

    • Open source
    • 1K GitHub stars
    • AI models and LLM tooling
  3. Installs and manages hooks that mirror Claude Code events onto the Loomi Pet

    • Open source
    • 1K GitHub stars
    • Developer tools
  4. Lets an agent search, connect and run actions across 1000+ external apps via Composio

    • Open source
    • 1K GitHub stars
    • Developer tools
  5. Guides installing, configuring and troubleshooting OpenLoomi Desktop from Codex

    • Open source
    • 1K GitHub stars
    • Developer tools
  6. Drives the OpenLoomi desktop pet's state and guides custom sprite themes for Codex

    • Open source
    • 1K GitHub stars
    • Developer tools