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.
npx skills add takaok5/codex-project-memory --skill repo-memorygit clone --depth 1 https://github.com/takaok5/codex-project-memoryWrote 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.
[](https://agentmods.dev/skills/takaok5/codex-project-memory/repo-memory)<a href="https://agentmods.dev/skills/takaok5/codex-project-memory/repo-memory"><img src="https://agentmods.dev/badge/skills/takaok5/codex-project-memory/repo-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.
<a href="https://agentmods.dev/skills/takaok5/codex-project-memory/repo-memory"><img src="https://agentmods.dev/badge/skills/takaok5/codex-project-memory/repo-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00018 | $0.00787 |
| Opus 5.5 | $0.00007 | $0.00315 |
| Sonnet 5.5 | $0.00004 | $0.00157 |
| Haiku 4.5 | $0.00002 | $0.00079 |
Grade A, and why
repo-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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Repo Memory
Use this skill when working in a repository that has Codex Project Memory installed.
Core workflow
- Prefer
memory.agentfor project-memory lifecycle orchestration. - Use granular tools only when debugging or when a narrower read is enough.
- Before creating a service, controller, DTO, route, table, module, repository, adapter, job or utility, pass an
artifacttomemory.agent. - Start from
contextPack.evidence,contextPack.budget,contextPack.decisions, impact and conflict output before broad repository search. - After changes, use
memory.agentwithphase: "post_change"orpmem agent run --phase post_change --json. - Use persisted runtime evidence and feedback to improve later retrieval instead of adding a second memory MCP server.
memory.agent is a single MCP entrypoint with internal specialized agents:
intent router, evidence retriever, duplicate sentinel, impact assessor, runtime evidence importer, writer gate, conflict arbiter and context compressor.
The agent persists a bounded evidence ledger in the project-local SQLite store: accepted evidence, rejected candidates, duplicate risks, runtime evidence, invalidable architecture decisions and feedback signals. Conversation text is not stored as memory; intents are hashed where feedback/logs need correlation.
Supported lifecycle
Codex app plugin validation does not currently accept plugin-declared hooks. Use this implicit skill plus MCP tools as the supported project lifecycle:
- Prompt start: call
memory.agentwithphase: "pre_task". - Implementation intent: call
memory.agentwith the user request before editing. - New artifact intent: call
memory.agentwithphase: "pre_create"andartifact. - After source changes: call
memory.agentwithphase: "post_change". - Visual orientation: call
memory.agentwithphase: "orient". - Review/closeout: call
memory.agentwithphase: "review".
Granular fallback tools: memory.head, memory.query, memory.duplicates, memory.frame, memory.refresh, memory.diff.
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.
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.
- 3mo ago First seen · 70 lines · 18 tokens per session scan A db84922621c1
repo-memory is a skill published in the GitHub repository takaok5/codex-project-memory (0 stars, last pushed 4mo ago), licensed MIT. It adds 18 tokens to every session and 787 once invoked, about $0.0001 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-31.
repo-memory compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| repo-memorytakaok5/codex-project-memory | Skill | 0 | 4mo ago | MIT | A | 18 | Codex |
| codex-native-memoryBulbuLbul86/codex-native-memory | Skill | 0 | 5mo ago | MIT | A | 35 | Claude Code, Codex |
| session-handoffSethGammon/Citadel | Skill | 942 | 2d ago | MIT | A | 35 | Claude Code |
| misakanet-failure-memoryIkalus1988/MisakaNet | Skill | 569 | today | Apache-2.0 | A | 31 | Claude Code |
| utekecodecoradev/uteke | Skill | 296 | yesterday | Apache-2.0 | A | 35 | Claude Code, Codex |
| rekal-initjanbjorge/rekal | Skill | 52 | 3d ago | MIT | A | 83 | Claude Code |
| memory-layerGeneGulanesJr/LaPis | Skill | 59 | 6d ago | MIT | A | 29 | Claude Code, Codex |