agent-memory-ledger
Skill3 starsChanged 6 months agoMITView on GitHub
Create or use lightweight persistent project memory for Codex. Use when the user wants Codex to remember decisions, naming, architecture rules, progress, experiment results, or prior debugging across sessions. Also use with memsearch-style markdown memory.
In this repository30 other files it gives its agents.
- agent-observabilitySkill
- automation-skill-forgeSkill
- auto-skill-audit-codex-supercharge-installed-driftSkill
- auto-skill-build-agent-reliability-loopSkill
- auto-skill-build-agent-run-ledger-dashboardSkill
- auto-skill-build-mcp-conformance-harnessSkill
- auto-skill-build-memsearch-codex-memorySkill
- auto-skill-build-source-pattern-synthesisSkill
- auto-skill-build-sources-inventorySkill
- auto-skill-build-supercharge-feedback-loopSkill
- auto-skill-ops-supercharge-maintenance-passSkill
- auto-skill-safety-external-skill-intakeSkill
- auto-skill-safety-mcp-secret-guardSkill
- auto-skill-trend-github-discovery-radarSkill
- codebase-graph-scoutSkill
- codex-prompt-template-builderSkill
- codex-supercharge-routerSkill
- experiment-loop-runnerSkill
- low-token-contextSkill
- mcp-safety-reviewSkill
- mcp-server-labSkill
- model-cost-routerSkill
- openapi-to-mcp-skillSkill
- open-design-ui-librarySkill
- repo-intelligence-briefSkill
- repo-to-wikiSkill
- sandbox-source-intakeSkill
- skill-pack-factorySkill
- skill-quality-gateSkill
- workflow-launchpadSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 7 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Use markdown as the durable source of truth.
- Distinctive: line 17
Create only the files needed:
- Very specific: line 41
Search .codex-memory/, project docs, and recent task briefs.
- Very specific: line 42
If .memsearch/memory/ exists and memsearch is installed, prefer $auto-skill-build-memsearch-codex-memory for progressive recall.
- Distinctive: line 44
Update memory only for stable decisions, not every transient observation.
- Distinctive: line 48
Do not store secrets.
- Distinctive: line 49
Do not store full logs unless they are compacted.
- Distinctive: line 50
Keep each memory file skimmable.
- Distinctive: line 51
Prefer "why we chose X" over "we talked about X".
- Very specific: line 53
Use with $low-token-context for long projects.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agent Memory Ledger
Use markdown as the durable source of truth. Semantic indexes are optional derived caches.
Default Files
Create only the files needed:
.codex-memory/
decisions.md
architecture.md
glossary.md
experiments.md
todo.mdEntry Format
## 2026-05-19 - Short Title
- Context:
- Decision:
- Evidence:
- Follow-up:Recall Workflow
- Search
.codex-memory/, project docs, and recent task briefs. - If
.memsearch/memory/exists andmemsearchis installed, prefer$auto-skill-build-memsearch-codex-memoryfor progressive recall. - Return a short answer with source file/date.
- Update memory only for stable decisions, not every transient observation.
Rules
- Do not store secrets.
- Do not store full logs unless they are compacted.
- Keep each memory file skimmable; archive old details into dated files.
- Prefer "why we chose X" over "we talked about X".
Use with $low-token-context for long projects.
Validation
- Memory entries cite a source file, command result, or user decision.
- Secrets and raw bulky logs are not stored.
- A future session can answer "what changed and why?" from the memory files.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

