# Memory

> Memory is an open-source agent skill for knowledge and memory. Maintains project decision logs and searches shared harness memory across sessions. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/maxwell2732/claudecode-research-harness-workflow/tree/main/skills/memory
- **Repository:** https://github.com/maxwell2732/claudecode-research-harness-workflow
- **GitHub stars:** 42
- **License:** MIT
- **Skill name:** memory
- **Collection:** https://github.com/maxwell2732/claudecode-research-harness-workflow
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-12-03

## About

This skill manages a project's single source of truth for decisions and patterns, including the decisions.md and patterns.md files it treats as authoritative. It routes requests to reference guides covering SSOT initialization, merging planning files, migrating older workflow setups, syncing project specs, and promoting learnings from auto-memory into the SSOT layer.

For cross-session recall, it points the agent to a shared harness memory database through MCP tools for searching past observations, building a resume pack, and recording checkpoints, events and session summaries. It is written for the Claude Code plugin setup and describes a three-layer memory model in which auto-memory handles general notes and the SSOT holds explicit project decisions.

The skill runs as a forked context and can read, write, edit files and run shell commands. It expects a repository using the harness workflow layout with a .claude/memory folder, and the harness memory MCP server if the search and recording features are wanted.

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

## What it can access

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

- [Instructions only, no scripts](https://github.com/maxwell2732/claudecode-research-harness-workflow/tree/HEAD/skills/memory)
- [Asks for: Read, Write, Edit, Bash, mcp__harness__harness_mem_*](https://github.com/maxwell2732/claudecode-research-harness-workflow/blob/HEAD/skills/memory/SKILL.md)
- [License: MIT](https://github.com/maxwell2732/claudecode-research-harness-workflow/tree/HEAD/skills/memory)

## Features

- **SSOT initialization:** Sets up the single source of truth files for a project following a documented reference guide.
- **Plans file merging:** Guides merging of planning files while keeping the project's recorded state consistent.
- **Workflow migration:** Covers moving an existing project's memory and workflow files to the newer layout.
- **Memory to SSOT promotion:** Moves important learnings from auto-memory into the project's decision and pattern records.
- **Shared harness memory search:** Searches and timelines past observations stored in the shared harness memory database.
- **Session recording:** Records checkpoints, events and session summaries into the shared harness memory.

## Good for

- Record a decision I just made so future sessions can find it
- Search past decisions about how we handled authentication
- Promote useful learnings from auto-memory into the project SSOT
- Migrate an older project's memory files to the current layout
- Sync project specs with the recorded memory

## Install

### Claude Code

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

```sh
/plugin marketplace add maxwell2732/claudecode-research-harness-workflow
/plugin install claudecode-research-harness-workflow@claudecode-research-harness-workflow
```

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/maxwell2732/claudecode-research-harness-workflow.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/memory &&
cp -R "$tmp/skills/memory" ~/.claude/skills/memory &&
rm -rf "$tmp"
```

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

### Codex

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/maxwell2732/claudecode-research-harness-workflow.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/memory &&
cp -R "$tmp/skills/memory" ~/.agents/skills/memory &&
rm -rf "$tmp"
```

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

### Cursor

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/maxwell2732/claudecode-research-harness-workflow.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/memory &&
cp -R "$tmp/skills/memory" ~/.cursor/skills/memory &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/memory` 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/maxwell2732/claudecode-research-harness-workflow.git --path skills/memory
```

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

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/maxwell2732/claudecode-research-harness-workflow.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/memory &&
cp -R "$tmp/skills/memory" ~/.copilot/skills/memory &&
rm -rf "$tmp"
```

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/maxwell2732/claudecode-research-harness-workflow.git
```

Then copy `claudecode-research-harness-workflow/skills/memory` into your agent's skills folder as `memory`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Memory trigger?

It loads when a request mentions memory, SSOT, decisions.md, patterns.md, merging, migration, SSOT promotion, memory search, harness-mem, past decisions or recording something. It is meant not to load for implementation work, reviews, ad-hoc notes or in-session logging.

### Which tools does Memory use?

It is allowed to use Read, Write, Edit, Bash and the harness_mem MCP tools for searching, injecting and recording memory.

### Does Memory include scripts?

No, the skill folder contains no scripts; it relies on instruction files and reference guides.

### What is the three-layer memory model?

Claude Code auto-memory records general learnings implicitly, while the harness SSOT explicitly stores project-specific decisions. Important auto-memory insights can be promoted into the SSOT with the memory ssot command.

### 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 claudecode-research-harness-workflow plugin, which includes it: /plugin marketplace add maxwell2732/claudecode-research-harness-workflow, then /plugin install claudecode-research-harness-workflow@claudecode-research-harness-workflow.

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

The closest alternatives to Memory are Memory, Session memory, Memory sync, Persistent memory and Claude mem.

## Where this comes from

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

## Alternatives

- [Memory](https://ai-powered.com/skills/memory-chachamaru127-2): Memory is an open-source agent skill for knowledge and memory.
- [Session memory](https://ai-powered.com/skills/session-memory): Session 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.
- [Persistent memory](https://ai-powered.com/skills/persistent-memory-aws-solutions): Persistent memory 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.
- [Unified memory](https://ai-powered.com/skills/unified-memory-abdullayevtemurmalik): Unified memory is an open-source agent skill for knowledge and memory.
- [Memory audit](https://ai-powered.com/skills/memory-audit): Memory audit is an open-source agent skill for knowledge and memory.

---
Source: https://ai-powered.com/skills/memory-maxwell2732
