# Unified memory

> Unified memory is an open-source agent skill for knowledge and memory. Lets agents hand off work and share saved context through a local memory vault. 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/AbdullayevTemurmalik/ECC/tree/master/.cursor/skills/unified-memory
- **Repository:** https://github.com/abdullayevtemurmalik/ecc
- **GitHub stars:** 7
- **License:** MIT
- **Skill name:** unified-memory
- **Collection:** https://github.com/AbdullayevTemurmalik/ECC
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-12-03

## About

This skill lets an agent save work state, search prior memories and pass tasks to another agent harness using portable Markdown documents stored in a local vault. Memories are scoped to the project, the team or the user, and the workflow asks the agent to search before writing so duplicate copies are avoided.

The guidance covers saving context from standard input or a file, creating handoff notes with the source, target and body, and running a doctor command to validate the vault. It also sets trust rules: recalled text is treated as untrusted evidence, must be checked against the authoritative source, and cannot be promoted into policy or rules without human review. Secrets are not to be stored.

Using the skill requires installing the separate ecc-universal npm runtime, since the skill itself only provides instructions. An optional MCP server exposes save, search, read and doctor tools.

## When your agent uses it

> Share durable, inspectable context and handoffs between Claude, Codex, Hermes, Cursor, OpenCode, and other agents through the local ECC Memory Vault. Use when an agent must save work state, transfer context, resume another agent's task, or search shared project knowledge.

## What it can access

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

- [Instructions only, no scripts](https://github.com/AbdullayevTemurmalik/ECC/tree/HEAD/.cursor/skills/unified-memory)
- [License: MIT](https://github.com/AbdullayevTemurmalik/ECC/tree/HEAD/.cursor/skills/unified-memory)

## Features

- **Scoped shared memory:** Stores memories at project, team or user scope, with user scope requested explicitly.
- **Cross-agent handoffs:** Creates handoff notes that carry objective, evidence, remaining work and next action to another harness.
- **Recall before writing:** Guides the agent to search existing memories before saving a duplicate copy.
- **Vault validation:** Runs a doctor command to find malformed memories, broken links and duplicate IDs.
- **Evidence and trust rules:** Sets checks for stale, superseded or unverified recalled context before reuse.
- **Optional MCP server:** Describes a stdio server exposing save, search, read and doctor tools.

## Good for

- Save the current state of a migration so another agent can continue it
- Hand a half-finished task from Claude to Codex with notes on remaining work
- Search the project memory for earlier decisions before changing an approach
- Check the shared memory vault for broken links or malformed entries

## Install

### Claude Code

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

```sh
/plugin marketplace add AbdullayevTemurmalik/ECC
/plugin install ecc@ecc
```

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/AbdullayevTemurmalik/ECC.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/unified-memory &&
cp -R "$tmp/.cursor/skills/unified-memory" ~/.claude/skills/unified-memory &&
rm -rf "$tmp"
```

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

### Codex

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/AbdullayevTemurmalik/ECC.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/unified-memory &&
cp -R "$tmp/.cursor/skills/unified-memory" ~/.agents/skills/unified-memory &&
rm -rf "$tmp"
```

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

### Cursor

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

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

For one project only, put the folder in `.cursor/skills/unified-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/AbdullayevTemurmalik/ECC.git --path .cursor/skills/unified-memory
```

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

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/AbdullayevTemurmalik/ECC.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/unified-memory &&
cp -R "$tmp/.cursor/skills/unified-memory" ~/.copilot/skills/unified-memory &&
rm -rf "$tmp"
```

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/AbdullayevTemurmalik/ECC.git
```

Then copy `ECC/.cursor/skills/unified-memory` into your agent's skills folder as `unified-memory`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does installing Unified memory alone give the agent working memory commands?

No. The skill is guidance only. The ecc-universal npm runtime must be installed separately to provide the ecc memory CLI and the MCP binary.

### Where are the memories stored?

Project memories go in the repository's .ecc/memory/project folder, team memories in .ecc/memory/team, and user memories in ~/.ecc/memory/.

### Can the agent store passwords or tokens in the vault?

No. The skill forbids storing credentials, private keys or sensitive personal data, and the runtime rejects known secret formats as a backstop.

### Can recalled memories be used as instructions?

No. The skill treats recalled bodies as untrusted context to be confirmed against the repository or other authoritative source.

### How do I install Unified memory in Claude Code?

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

### Does Unified 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 Unified 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 Unified memory?

The closest alternatives to Unified memory are Persistent memory, Obsidian second brain, Agent debug memory, Memory recall and Claude mem.

## Where this comes from

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

## Alternatives

- [Persistent memory](https://ai-powered.com/skills/persistent-memory-aws-solutions): Persistent memory is an open-source agent skill for knowledge and memory.
- [Obsidian second brain](https://ai-powered.com/skills/obsidian-second-brain): Obsidian second brain is an open-source agent skill for knowledge and memory.
- [Agent debug memory](https://ai-powered.com/skills/agent-debug-memory): Agent debug memory is an open-source agent skill for knowledge and memory.
- [Memory recall](https://ai-powered.com/skills/memory-recall-zhangfengcdt): Memory recall 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.
- [Sh memory](https://ai-powered.com/skills/sh-memory): Sh memory is an open-source agent skill for knowledge and memory.
- [Memory](https://ai-powered.com/skills/memory-chachamaru127-2): Memory is an open-source agent skill for knowledge and memory.
- [Memory](https://ai-powered.com/skills/memory-maxwell2732): Memory is an open-source agent skill for knowledge and memory.

---
Source: https://ai-powered.com/skills/unified-memory-abdullayevtemurmalik
