by tudoumashu
Bounded project-memory skills for Codex CLI and Claude Code.
# Add to your Claude Code skills
git clone https://github.com/tudoumashu/ai-memory-skillpackGuides for using ai agents skills like ai-memory-skillpack.
See how ai-memory-skillpack compares with popular alternatives.
ai-memory-skillpack is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by tudoumashu. Bounded project-memory skills for Codex CLI and Claude Code. It has 51 GitHub stars.
ai-memory-skillpack's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/tudoumashu/ai-memory-skillpack" and add it to your Claude Code skills directory (see the Installation section above).
ai-memory-skillpack is primarily written in Python. It is open-source under tudoumashu on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh ai-memory-skillpack against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
See comparison
The memory plane for Codex.
A bounded, fail-closed project-memory system for Codex CLI. Optional Claude Code support on the same skill source.
An agent should remember a project the way a careful engineer does: a short brief, a map, a list of traps — not a diary that never ends.
Codex already writes code, reviews diffs, and triages failures. What it still lacks, out of the box, is a durable, size-capped, attributed memory of the repo that the next session can trust. This pack is that layer: skills, a constitution, an installer Codex can run unaided, and a verifier that fails closed.
Clone, then tell Codex:
Read
INSTALL.mdin this pack and follow it to install the memory system on this machine.
No GUI. The installer is a program for the agent. Installs are reversible. No wiki? Only the project-memory skill is enabled.
Codex is strongest when the repo already knows how it wants to be maintained. This pack is that contract, written so an agent can install, obey, and prove it.
| Codex maintainer job | What this pack makes mechanical |
|---|---|
| Review a PR without rereading the whole tree | HOT snapshot + WARM rg, not a dump of docs/ai/ |
| Keep releases and runbooks true | Bounded docs/ai/ with replace-guards, not append-only notes |
| Survive a second session on the same repo | Handoff is one page, replaced in place; git is the ledger |
| Not leak secrets into “memory” | Constitution + sanitizer gate; writers are forbidden to store secret values |
| Upgrade the memory system later | Receipt hashes; your edits are kept; old packs are archived, not destroyed |
It is first-class Codex infrastructure: AGENTS.md sections, Codex skills, an agent-executable INSTALL.md, and VERIFY.md as acceptance — the same shape as a serious maintainer toolchain, not a prompt pack you paste once and forget.
Agents either forget the project between sessions, or they “remember” by appending to handoff notes and changelogs. Those files have no ceiling. The next session burns tens — sometimes hundreds — of thousands of tokens on yesterday’s residue before any real work starts.
That is not memory. It is context pollution with a git history.
| Naive agent notes | This system |
|---|---|
| Append-only handoff, unbounded | One-page snapshot, replaced in place |
| Parallel changelog files | Git commits are the ledger |
Dump docs/ai/ into context |
HOT / WARM / COLD — most files are not read |
| Silent overwrite on upgrade | Receipt-based hash compare; your edits stay |
| “It installed, probably” | VERIFY.md: exit-code assertions, not vibes |
SYSTEM.md is the spec: tiers, byte budgets, attribution, replace-guards, “do not write secrets.” Skills do not outrank it.INSTALL.md is for Codex to execute: adapt paths, merge global rules, enable repos, write a machine receipt, roll back.VERIFY.md is assertions with real exit codes. Pack bytes are pinned by SHA256SUMS.Four layers. Each has one job.
flowchart TB
subgraph pack [This pack]
I[INSTALL.md]
S[SYSTEM.md]
V[VERIFY.md]
SK[skills/]
end
subgraph machine [Target machine]
H1[Primary harness skills]
H2[Secondary harness symlinks]
G[Harness global rules]
T[Machine facts]
end
subgraph repos [Each repository]
D[docs/ai bounded pack]
end
I --> H1
H1 --> H2
I --> G
I --> T
I --> D
S -.-> SK
V -.-> H1
V -.-> D
| Layer | What | Sharing rule |
|---|---|---|
| Procedures | ai-project-memory, llm-wiki, project-mastery-coach |
Real files on the primary harness; symlinks on the second |
| Machine facts | Local tooling baseline | One file; both harnesses point at it |
| Per-harness rules | Codex AGENTS.md / Claude CLAUDE.md memory sections |
Separate on purpose — harness defaults are not identical |
| Repo packs | Per-repo docs/ai/ |
Independent; templates in repo-templates/ |
| Tier | When it is read | Examples |
|---|---|---|
| HOT | Whole-file, every session | project-card.md, handoff.md |
| WARM | rg to a section, never whole-file by default |
architecture, runbook, gotchas, current ADRs |
| COLD | Only when the user explicitly traces history | history/, reports, screenshots, superseded ADRs |
Handoff is a single snapshot under a replace-guard (flock on an absolute lock path). It is not a log.
This is the part a maintainer cannot fake with a prettier README.
VERIFY.md fails closed. tests/ exists so closed review findings cannot regress.sha256sum -c SHA256SUMS is the first install gate.harness/model actor. History is not rewritten to flatter the present.Enforced in spec and in the verifier:
history/. Migrations seal first.git clone https://github.com/tudoumashu/ai-memory-skillpack.git
cd ai-memory-skillpack
sha256sum -c SHA256SUMS
Requirements: Linux or WSL, bash ≥ 4.4, git, rg, sha256sum. Python ≥ 3.10 only for project-mastery-coach. macOS needs GNU sha256sum / flock / readlink -f and a newer bash, or the installer stops.
Then tell Codex:
Read
INSTALL.mdin this pack and follow it to install the memory system on this machine.
| Case | Contract |
|---|---|
| Fresh | Never overwrite existing files; only merge and add |
| Upgrade | Receipt hashes decide what the pack may replace; your edits stay |
| Migrate | Archive the old pack first; content is not destroyed |
Adapter table, receipt schema, rollback: INSTALL.md. Acceptance: VERIFY.md.
No Obsidian vault? The installer skips llm-wiki and project-mastery-coach and installs only ai-project-memory. Wiki lint/query scripts are not in this repo.
Shipped skills contain example absolute paths and actor strings. Those are adapter source values, not a requirement to use those directories or models.
| Skill | Role | When it installs |
|---|---|---|
ai-project-memory |
Bounded docs/ai/ in each repo: card, handoff, architecture, runbook, gotchas, ADRs |
Always |
llm-wiki |
Query and write-back a local central wiki | Only with a wiki root that matches the contract |
project-mastery-coach |
Optional ownership training: question bank, spaced repetition, dashboards | Wiki + Python ≥ 3.10 |
If a skill text conflicts with SYSTEM.md, the constitution plus the machine’s adapter values win.
What you can verify in this repository without trusting a pitch:
tests/sha256sum -c SHA256SUMS
bash tests/run.sh python3 skills/project-mastery-coach/scripts/project_mastery_state.py
Change a listed file → regenerate SHA256SUMS, or the installer integrity gate fails.
| Path | Role |
|---|---|
INSTALL.md |
Agent-executable installer |
SYSTEM.md |
Constitution |
VERIFY.md |
Post-install assertions |
skills/ |
Skill sources |
global/ |
Harness global memory sections |
repo-templates/ |
Per-repo AGENTS section, Claude shim, ignore files |
migration/ |
Procedure for machines that already have an older pack |
tests/ |
Coach-script regression suite |
SHA256SUMS |
Pack integrity |
LICENSE |
MIT |