unified-memory

unified-memory is a skill for Claude Code, Codex from affaan-m/ECC. It costs 60 tokens per session (1,693 once invoked), scanned A, original, MIT.

A shared local memory system for passing durable project context between coding agents and later sessions. It stores portable Markdown documents rather than chat transcripts.

In plain words
What is it for?
Use it to save work state, hand a task from one agent to another, resume previous work, search project knowledge, and diagnose malformed shared memories.
Why use it?
It prevents important decisions, facts, and handoffs from being lost when work moves between agents or resumes later.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); mentions Codex; mentions OpenCode.

Part of the ecc plugin — 78 skills, 58 commands, 70 agents, 1 MCP server shipped together

Good fit Use it to save work state, hand a task from one agent to another, resume previous work, search project knowledge, and diagnose malformed shared memories.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/affaan-m/ecc/unified-memory
About the project

ECC is a toolkit that organizes and improves how coding agents work through skills, memory, security checks, research practices, and related extensions. It is for developers using agents such as Claude Code, Codex, OpenCode, and Cursor.

affaan-m/ECC · 287,323 stars · on GitHub · ecc.tools

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add affaan-m/ECC --skill unified-memory
Clone the repo
git clone --depth 1 https://github.com/affaan-m/ECC

Made for: Claude Code, Codex.

Or install ecc, the plugin that ships this one along with the rest of its 78 skills, 58 commands, 70 agents, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for unified-memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/affaan-m/ecc/unified-memory/github.svg)](https://agentmods.dev/skills/affaan-m/ecc/unified-memory)
Your own site
<a href="https://agentmods.dev/skills/affaan-m/ecc/unified-memory"><img src="https://agentmods.dev/badge/skills/affaan-m/ecc/unified-memory/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for unified-memory

Your own site · 80×15
<a href="https://agentmods.dev/skills/affaan-m/ecc/unified-memory"><img src="https://agentmods.dev/badge/skills/affaan-m/ecc/unified-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,693 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. ✓ AI security review Fable 5.1 · 6 Sept 2026 📄 Read the review Third-party audits
  • Socket pass 12 Sept 2026
  • Snyk pass 12 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00060 $0.01693
Opus 5.5 $0.00024 $0.00677
Sonnet 5.5 $0.00012 $0.00339
Haiku 4.5 $0.00006 $0.00169

Measured 1mo ago against content hash a605fe83aef5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

unified-memory scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/unified-memory/SKILL.md · 199 lines

How it starts

The opening of the file, as written. The whole thing — 199 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Unified Memory

Use the ECC Memory Vault as the common context layer between harnesses. The vault stores portable ecc.memory.v1 Markdown documents rather than harness-specific transcripts or inboxes.

Runtime Prerequisite

This skill is guidance, not the Memory Vault executable. Skill-only, minimal, manual, and Claude plugin installs do not create the required commands on PATH. Install the ecc-universal npm runtime separately before using the CLI or MCP examples:

npm install -g ecc-universal
ecc memory --help
command -v ecc-memory-mcp

A repository checkout may instead run the CLI as node scripts/ecc.js memory ..., but MCP configurations that name ecc-memory-mcp still require that binary on PATH.

When To Use

  • Save durable context that another agent or later session will need.
  • Hand work from Claude to Codex, Hermes to Claude, or any other harness pair.
  • Resume a task and search for prior decisions, facts, lessons, or handoffs.
  • Diagnose malformed memories, broken links, duplicate IDs, or skipped symbolic links.

Do not use the vault as a task tracker, secret store, policy engine, or substitute for governed project documentation.

Vault Scopes

Scope Location Use
project <repo>/.ecc/memory/project/ Repo-local context protected by a fail-closed .gitignore
team <repo>/.ecc/memory/team/ Context intended for human review and version-controlled sharing
user ~/.ecc/memory/ Operator context that follows the user across repositories

All participating harnesses must use the same repository working directory or the same ECC_MEMORY_PROJECT_ROOT and ECC_MEMORY_USER_ROOT overrides. Normal search recall covers active project and team memories. A direct ID read may inspect a non-active entry. Request user explicitly with --scope user; it is never included implicitly. Project-scope initialization and writes fail closed if the vault's protective .gitignore exists with unexpected content.

Read the full file on GitHub · 199 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +1 lines a605fe83aef5
  2. 1mo ago Changed · +29 lines 0f721834d22a
  3. 1mo ago First seen · 169 lines · 60 tokens per session scan A 86b4923b1a41

Subscribe to this mod's changes

unified-memory is a skill published in the GitHub repository affaan-m/ECC (287,323 stars, last pushed 3d ago), licensed MIT. It adds 60 tokens to every session and 1,693 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.