ECC: Skill for Codex

.agents/skills/unified-memory/SKILL.md

unified-memory is a skill for Codex from affaan-m/ECC. It costs 60 tokens per session (1,327 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 Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); mentions Codex; mentions OpenCode.

This is affaan-m/ECC's own configuration. It tells Codex how to work on ECC itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ECC configures →

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

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 · 253,158 stars · on GitHub · ecc.tools

Reuse

Borrowing it

Nothing to install: this file belongs to affaan-m/ECC. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/affaan-m/ECC/main/.agents/skills/unified-memory/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/affaan-m/ECC

Made for: Codex.

Or install ecc, the plugin that ships this one along with the rest of its 70 skills, 58 commands, 68 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,327 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 28 Jul 2026
  • Snyk pass 26 Jul 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.01327
Opus 5 $0.00030 $0.00664
Sonnet 5 $0.00012 $0.00265
Haiku 4.5 $0.00006 $0.00133

Measured 9d ago against content hash 86b4923b1a41, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 9d 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 · 169 lines

How it starts

The opening of the file, as written. The whole thing — 169 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 · 169 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. 9d 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 (253,158 stars, last pushed yesterday), licensed MIT. It adds 60 tokens to every session and 1,327 once invoked, about $0.0003 per session on Opus 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.

Related

Other skills, from other repositories

save-md

Saves a named source to Markdown with provenance and faithful extraction through direct export endpoints. Use when asked to "save this article", "get the markdown", "transcribe this", or "keep this source". A URL supplied as task context alone does not trigger conversion; a chat summary stays in chat.

mblode/agent-skills · 64 tokens

memory

Unified project memory management: update, prune, reflect, and maintain knowledge. Combines conversation scanning, deduplication, contradiction detection, confidence scoring, and consistency checks in a single skill. Usage: /memory update [topic] — scan conversation, persist learnings /memory prune [type] — find…

SomeStay07/claude-memory-skill · 130 tokens

honcho

Configure and troubleshoot Honcho memory for Hermes.

NousResearch/hermes-agent · 12 tokens

agent-carnet

Use this skill when the user asks to save, recall, find, or organize notes. Triggers on: 'remember this', 'save this', 'note this', 'what did we discuss about...', 'check the notebook', 'find in carnet'. Also use proactively when discovering findings worth preserving across sessions.

yamadashy/repomix · 67 tokens

hermes-agent

Use, configure, theme, extend, and orchestrate Hermes Agent.

NousResearch/hermes-agent · 18 tokens

taiyi-compress

A workflow tool for shrinking large coding-agent conversations and work files into shorter context notes. It can also coordinate separate agents for parallel development and create handoff notes for continuing work in a new session.

Dong90/oh-my-taiyiforge · 51 tokens