Skip to content
Skill

Memory

Lets an agent search, initialize and promote project decision memory (SSOT files)

Memory 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
3.2K
Last commit
License
MIT
Listing updated

Similar skills

About Memory

This skill manages a project's single source of truth for decisions and patterns, centered on decisions.md and patterns.md. It routes requests to separate reference guides covering SSOT initialization, merging plan files, migrating workflow data, syncing project specifications, and promoting learnings from other memory systems into the SSOT. Search requests are meant to be read-only, and recording, promotion or migration only happens when the user explicitly asks for that operation.

The SKILL.md also points to a shared harness memory store exposed through harness_mem MCP tools, which covers search, timeline lookup, resume packs and checkpoint or event recording. It describes a three-layer memory setup in which Claude Code's automatic memory handles general learnings while the SSOT holds project-specific decisions that were promoted explicitly.

The skill ships as a folder of markdown instructions and reference files with no scripts. The instructions are written in Japanese, and the workflow depends on the harness memory tools and the project's memory files being available.

When your agent uses it

Manage SSOT, memory, and cross-tool memory search. Guardian of decisions.md and patterns.md. Use when user mentions memory, SSOT, decisions.md, patterns.md, merging, migration, SSOT promotion, sync memory, save learnings, memory search, harness-mem, past decisions, or record this. Do NOT load for: implementation work, reviews, ad-hoc notes, or in-session logging.

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 6 files (23 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 harness plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add Chachamaru127/claude-code-harness
/plugin install harness@claude-code-harness-marketplace

Or copy only this skill to ~/.claude/skills/memory:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Chachamaru127/claude-code-harness.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/memory &&
cp -R "$tmp/opencode/skills/memory" ~/.claude/skills/memory &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/memory inside it instead.

Claude Code docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Chachamaru127/claude-code-harness.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/memory &&
cp -R "$tmp/opencode/skills/memory" ~/.agents/skills/memory &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/memory inside it instead.

Codex docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Chachamaru127/claude-code-harness.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/memory &&
cp -R "$tmp/opencode/skills/memory" ~/.cursor/skills/memory &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/memory 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/Chachamaru127/claude-code-harness.git --path opencode/skills/memory

Or copy the folder to ~/.gemini/skills/memory yourself.

Gemini CLI docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Chachamaru127/claude-code-harness.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/memory &&
cp -R "$tmp/opencode/skills/memory" ~/.copilot/skills/memory &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/memory inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/Chachamaru127/claude-code-harness.git

Then copy claude-code-harness/opencode/skills/memory into your agent's skills folder as memory. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

SSOT initialization
Guides setting up the single source of truth files for a project's decisions and patterns.
Plans file merging
Covers how to merge Plans.md content through a dedicated reference guide.
Workflow migration
Describes moving existing workflow data into the memory structure.
Project spec sync
Explains how project specifications are synchronized with stored memory.
Memory to SSOT promotion
Promotes important learnings from other memory systems into the SSOT on request.
Unified harness memory search
Uses harness_mem tools to search, browse timelines and record checkpoints across tools.

Good for

  • Search past decisions about a feature before changing it
  • Save a learning from this session into the project's decision log
  • Promote an important project-specific decision into the SSOT
  • Initialize decisions.md and patterns.md for a new project
  • Merge or migrate existing planning files into the memory structure

Memory FAQ

When does Memory trigger?

It triggers when the user mentions memory, SSOT, decisions.md, patterns.md, merging, migration, SSOT promotion, memory search, past decisions or asks to record something. It is told not to load for implementation work, reviews, ad-hoc notes or in-session logging.

Does it write to memory files on every request?

No. Search requests are read-only, and recording, promotion or migration only happens for the operation the user explicitly asked for.

What does Memory need to run?

The skill's instructions reference the harness_mem MCP tools for shared memory search and recording, and it works with the project's decisions.md and patterns.md files.

Are scripts included?

No. The folder contains markdown instructions and reference files only.

How do I install Memory in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/memory to use it in all your projects, or to .claude/skills/memory in one project. Or install the harness plugin, which includes it: /plugin marketplace add Chachamaru127/claude-code-harness, then /plugin install harness@claude-code-harness-marketplace.

Does Memory 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 Memory?

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

The closest alternatives to Memory are Memory sync, Claude mem, Memory merger, Memory review and Learn.

Where this comes from

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

More from Chachamaru127/claude-code-harness

  1. Guards upstream Claude and Codex update reviews against docs-only feature additions

    • Open source
    • 3.2K GitHub stars
    • Developer tools
  2. Lets an agent drive a browser via the agent-browser CLI for UI checks and forms

    • Open source
    • 3.2K GitHub stars
    • Browser automation
  3. Diagnoses failing CI pipelines and proposes fixes for build and test errors

    • Open source
    • 3.2K GitHub stars
    • Developer tools
  4. Gets a read-only second opinion from Cursor's Composer agent on questions and designs

    • Open source
    • 3.2K GitHub stars
    • Developer tools
  5. Hands one write task to Cursor Composer in an isolated worktree, then reviews

    • Open source
    • 3.2K GitHub stars
    • Developer tools
  6. Gets an advisory second-opinion review of a diff from Cursor Composer, read-only

    • Open source
    • 3.2K GitHub stars
    • Developer tools