02-project-memory

02-project-memory is a skill for Claude Code, Codex from ai-driven-dev/framework. It costs 54 tokens per session (275 once invoked), scanned A, original, MIT.

A workflow for documenting a project's architecture, conventions, and decisions as project memory, then connecting that information to its AI tools. It can also refresh or rewire existing memory.

In plain words
What is it for?
Use it to create, update, check, or connect project-specific memory about how the codebase works.
Why use it?
It gives AI tools shared project context so their work can follow the project's established practices.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/ai-driven-dev/framework/02-project-memory
Any agent
npx skills add ai-driven-dev/framework --skill 02-project-memory
Clone the repo
git clone --depth 1 https://github.com/ai-driven-dev/framework

Made for: Claude Code, Codex.

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 02-project-memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/ai-driven-dev/framework/02-project-memory.svg)](https://agentmods.dev/skills/ai-driven-dev/framework/02-project-memory)
Your own site
<a href="https://agentmods.dev/skills/ai-driven-dev/framework/02-project-memory"><img src="https://agentmods.dev/badge/skills/ai-driven-dev/framework/02-project-memory.svg" alt="Measured on agentmods" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 275 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00054 $0.00275
Opus 5 $0.00027 $0.00138
Sonnet 5 $0.00011 $0.00055
Haiku 4.5 $0.00005 $0.00028

Measured yesterday against content hash 149f0f196d2f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

02-project-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 yesterday.

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.

plugins/aidd-context/skills/02-project-memory/SKILL.md · 34 lines

What it actually says

Project Memory

flowchart LR
  new([no argument, or setup]) --> scan --> write --> sync --> wired([memory wired])
  update([refresh]) --> scan --> check --> write
  rewire([rewire]) --> sync
  scan -.-> empty([nothing to remember])

Actions

Run the flow above, reading only the next action file.

Action Does
scan read the project
write write the memory
check show what drifted, change nothing
sync pick the tools, wire it in

Transversal rules

  • If a referenced file cannot be read, stop and say so. Never invent its content.
  • Ask before anything ambiguous. Never default silently.
  • A bank that already exists changes only through what the user approved, file by file and line by line.
  • End with a short report of what changed.
Files

What ships with it

43 files 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. yesterday First seen · 34 lines · 54 tokens per session scan A 149f0f196d2f

Subscribe to this mod's changes

02-project-memory is a skill published in the GitHub repository ai-driven-dev/framework (453 stars, last pushed yesterday), licensed MIT. It adds 54 tokens to every session and 275 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-09-03.

Related

Other skills, from other repositories

task-agent-eliza-bridge

Use when spawning a Claude Code, Codex, Gemini, Aider, or other CLI task agent whose work needs parent Eliza runtime context. Covers the read-only loopback bridge for character, room, memory, and active workspace state.

elizaOS/eliza · 55 tokens

kb-builder

Build an Obsidian-compatible knowledge base from public web sources using the TinyFish CLI. Use this skill when a user wants a builder-grade markdown knowledge base on a technical topic, asks for a structured research vault, or wants a topic compiled from live public sources into interlinked markdown files. Supports…

tinyfish-io/tinyfish-cookbook · 158 tokens

self-improve-with-tinyfish

Enables Hermes to create new reusable skills for itself by researching live web sources with TinyFish Search and Fetch, analyzing source coverage, writing SKILL.md files, and installing them into Hermes memory. Use when the user asks Hermes to learn, teach itself, upgrade itself, or save a reusable capability.

tinyfish-io/tinyfish-cookbook · 68 tokens

user-general-facts

Capture and organize general facts about the user by topic.

memodb-io/Acontext · 15 tokens

daily-logs

Track daily activity logs and summaries for the user. TRIGGER BY: read/edit user memory.

memodb-io/Acontext · 22 tokens

weknora-shared

Use when driving a WeKnora RAG server through the weknora CLI as an agent — authenticating, managing knowledge bases / documents / sessions / agents, running search or chat, or interpreting the CLI's JSON envelopes and exit codes. Read this before any other weknora- skill.

Tencent/WeKnora · 68 tokens