claudeers.
// RAG & Knowledge

ai-memory-skillpack

Bounded project-memory skills for Codex CLI and Claude Code.

// RAG & Knowledge[ cli ][ claude ]#claude#agent-memory#claude-code#codex#llm#skills#rag◷ MIT$open-sourceupdated 27 days ago
Actively maintained
100/100
last commit 29 days ago
last release 29 days ago
releases 1
open issues 0
// star history

Install with your AI

Paste into Claude Code, Cursor, or any agent — it reads the repo and wires the tool into your project.

Install and set up ai-memory-skillpack (release-binary project) into my current project.
Found on https://claudeers.com/ai-memory-skillpack
Repo: https://github.com/tudoumashu/ai-memory-skillpack
Homepage/docs: —
Detected install method: release-binary → inspect the README
Category: rag. Platforms: cli.
Read the repo's README for exact setup and env vars, then install it and wire it into my project.

Claudeers Health Verdict:
active; community-verified: false. Confirm the source before running anything.
// or install directly (release-binary)

Grab the latest release asset from GitHub.

# download a build from https://github.com/tudoumashu/ai-memory-skillpack/releases
// or clone
git clone https://github.com/tudoumashu/ai-memory-skillpack

// compatibility

Platformscli
Operating systems—
AI compatibilityclaude
LicenseMIT
Pricingopen-source
LanguagePython

Get your FREE $2.50 API credits to access TickAtlas financial data ↗

AI Memory Skillpack

The memory plane for Codex.

A bounded, fail-closed project-memory system for Codex CLI. Optional Claude Code support on the same skill source.

English · 中文

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.md in 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.

Why this belongs in the Codex ecosystem

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 jobWhat this pack makes mechanical
Review a PR without rereading the whole treeHOT snapshot + WARM rg, not a dump of docs/ai/
Keep releases and runbooks trueBounded docs/ai/ with replace-guards, not append-only notes
Survive a second session on the same repoHandoff 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 laterReceipt 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.

The failure it removes

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 notesThis system
Append-only handoff, unboundedOne-page snapshot, replaced in place
Parallel changelog filesGit commits are the ledger
Dump docs/ai/ into contextHOT / WARM / COLD — most files are not read
Silent overwrite on upgradeReceipt-based hash compare; your edits stay
“It installed, probably”VERIFY.md: exit-code assertions, not vibes

What you get

  • A constitution, not a vibe. SYSTEM.md is the spec: tiers, byte budgets, attribution, replace-guards, “do not write secrets.” Skills do not outrank it.
  • An agent-native installer. INSTALL.md is for Codex to execute: adapt paths, merge global rules, enable repos, write a machine receipt, roll back.
  • A verifier, not a checklist. VERIFY.md is assertions with real exit codes. Pack bytes are pinned by SHA256SUMS.
  • One skill source, two harnesses. Codex holds the files; a second harness gets symlinks. No forked copies.
  • Fail-closed upgrades. Fresh / upgrade / migrate are different contracts. Older packs are sealed first.
  • Secret-hygiene as a boundary. The optional coach path sanitizes learning records before they can reach a central wiki. The regression suite exists because this was treated as a security gate.

Architecture

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
LayerWhatSharing rule
Proceduresai-project-memory, llm-wiki, project-mastery-coachReal files on the primary harness; symlinks on the second
Machine factsLocal tooling baselineOne file; both harnesses point at it
Per-harness rulesCodex AGENTS.md / Claude CLAUDE.md memory sectionsSeparate on purpose — harness defaults are not identical
Repo packsPer-repo docs/ai/Independent; templates in repo-templates/

Read policy

TierWhen it is readExamples
HOTWhole-file, every sessionproject-card.md, handoff.md
WARMrg to a section, never whole-file by defaultarchitecture, runbook, gotchas, current ADRs
COLDOnly when the user explicitly traces historyhistory/, reports, screenshots, superseded ADRs

Handoff is a single snapshot under a replace-guard (flock on an absolute lock path). It is not a log.

Security and quality bar

This is the part a maintainer cannot fake with a prettier README.

  • Secrets never enter memory files. The constitution forbids it. Shape-based sanitizers are a backstop, not the policy.
  • Upgrades cannot silently clobber your edits. The install receipt is a hash table. Mismatches are reported and kept.
  • Acceptance is executable. VERIFY.md fails closed. tests/ exists so closed review findings cannot regress.
  • Integrity is pinned. sha256sum -c SHA256SUMS is the first install gate.
  • Attribution is mandatory. Every memory write carries a stable harness/model actor. History is not rewritten to flatter the present.

Design tenets

Enforced in spec and in the verifier:

  1. Governance must cost less than the mess it prevents. No mechanism without a reproduced failure.
  2. Closed failures become assertions. A finding that is not executable will come back.
  3. Archive, do not destroy. Over-budget files go to history/. Migrations seal first.
  4. Writers do not store secret values. Sanitizers are the second line.

Install

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.md in this pack and follow it to install the memory system on this machine.

CaseContract
FreshNever overwrite existing files; only merge and add
UpgradeReceipt hashes decide what the pack may replace; your edits stay
MigrateArchive 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.

Skills

SkillRoleWhen it installs
ai-project-memoryBounded docs/ai/ in each repo: card, handoff, architecture, runbook, gotchas, ADRsAlways
llm-wikiQuery and write-back a local central wikiOnly with a wiki root that matches the contract
project-mastery-coachOptional ownership training: question bank, spaced repetition, dashboardsWiki + Python ≥ 3.10

If a skill text conflicts with SYSTEM.md, the constitution plus the machine’s adapter values win.

Active maintenance

What you can verify in this repository without trusting a pitch:

  • Tagged releases through v1.25.1; pack identity v1.25
  • Agent-executable installer, constitution, and post-install verifier checked in as first-class files
  • Coach-script regression suite under tests/
  • MIT license, public source, no telemetry in the pack
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.

Repository

PathRole
INSTALL.mdAgent-executable installer
SYSTEM.mdConstitution
VERIFY.mdPost-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
SHA256SUMSPack integrity
LICENSEMIT

License

MIT

// faq

What is ai-memory-skillpack?

Bounded project-memory skills for Codex CLI and Claude Code.. It is open-source on GitHub.

Is ai-memory-skillpack free to use?

ai-memory-skillpack is open-source under the MIT license, so it is free to use.

What category does ai-memory-skillpack belong to?

ai-memory-skillpack is listed under rag in the Claudeers registry of Claude-compatible tools.

7 views
★ 362 stars
unclaimed
updated 27 days ago

// embed badge

ai-memory-skillpack on Claudeers
[![Claudeers](https://claudeers.com/api/badge/ai-memory-skillpack.svg)](https://claudeers.com/ai-memory-skillpack)

// retro hit counter

ai-memory-skillpack hit counter
[![Hits](https://claudeers.com/api/counter/ai-memory-skillpack.svg)](https://claudeers.com/ai-memory-skillpack)

// reviews

// guestbook

0/500

// related in RAG & Knowledge

🔓

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant contex…

// ragthedotmack/⟨JavaScript⟩★ 95,595◷ Apache-2.0[ claude ]
🔓

✨ Light and Fast AI Assistant. Support: Web | iOS | MacOS | Android | Linux | Windows

// ragChatGPTNextWeb/⟨TypeScript⟩★ 88,828◷ MIT[ claude ]
🔓

Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 60-95% fewer tokens, same answers. Library, proxy, MCP server.

// ragheadroomlabs-ai/⟨Python⟩★ 74,459◷ Apache-2.0[ claude ]
🔓

A light-weight and powerful meta-prompting, context engineering and spec-driven development system for Claude Code by TÂCHES.

// raggsd-build/⟨JavaScript⟩★ 64,462◷ MIT[ claude ]
→ see how ai-memory-skillpack connects across the ecosystem