thedotmack/claude-mem
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
- JavaScript / TypeScript · bun
- React
- Tailwind CSS
- 120,602 stars
Mostly solid. A few gaps where an agent has to guess.
- critical
- 0
- high
- 1
- medium
- 2
- low
- 0
Scanned 29 Nov 2026, 17:54 UTC at commit ad682a3 (opens in new tab)
Scan details+−
- Commit
- ad682a38da4cdbd2076451f595adc7db512a626c
- Engine
- 0.8.6, 7.8 s
- Files read
- 4,028 of 4,145 in the repository (84.3 MB, archive)
Mostly solid. A few gaps where an agent has to guess.
- critical
- 0
- high
- 1
- medium
- 2
- low
- 0
Summary
thedotmack/claude-mem scores B 82 at commit ad682a3: 3 findings. Highest severity high: .claude/CLAUDE.md says npm but this repo uses bun (.claude/CLAUDE.md:8).
Fix these first
- 1.
.claude/CLAUDE.md says
npmbut this repo uses bunAR203 · high
- 2.
16 generated or oversized files are tracked (21.5 MB)
AR503 · medium
- 3.
No environment setup for cloud agents
AR701 · medium
What an agent will experience
The commands we detected, and whether your instruction files mention them.
Commands detected
bun installsource: plugin/bun.lock
bun run devsource: package.json
bun run buildsource: package.json
bun run testsource: package.json
bun run typechecksource: package.json
| Purpose | Command | In instructions | Source |
|---|---|---|---|
| install | bun install | no | plugin/ |
| dev | bun run dev | no | package.json |
| build | bun run build | no | package.json |
| test | bun run test | no | package.json |
| typecheck | bun run typecheck | no | package.json |
A command marked no is not automatically wrong: it can still be the right command. It does mean the agent has to discover it instead of reading it.
Documented commands: verdict
- wrongAR203.claude/CLAUDE.md says npm but this repo uses bun
.claude/CLAUDE.md:8
Running `npm install` creates a second lockfile and can resolve different dependency versions than the ones the repo pins.
Fix: Replace
npmcommands withbunequivalents in .claude/CLAUDE.md.
Instruction files read
Claude Code · 490 tokens
all agents · 599 tokens
Claude Code · 45 tokens
| File | Read by | Tokens | Role |
|---|---|---|---|
| .claude/ | Claude Code | 490 | root |
| AGENTS.md | all agents | 599 | root |
| CLAUDE.md | Claude Code | 45 | pointer |
How the score was calculated
raw 10 · applied 10
raw 4 · applied 4
raw 4 · applied 4
| Category | Raw penalty | Applied | Category cap |
|---|---|---|---|
| Drift | 10 | 10 | within |
| Context | 4 | 4 | within |
| Cloud agents | 4 | 4 | within |
100 − 18 = 82
The full formula, category caps and every check are on the methodology page.
The Agent Kit
Generated 29 Nov 2026, 17:54 UTC · commit ad682a3
Every command and path is checked against commit ad682a3. Nothing was run. Shown as a diff against your files.
- Files
- 9
- AGENTS.md
- 1,175 tokens
- Commands checked
- 10
- Paths checked
- 21 all exist
- AGENTS.md~1175 tokenschangeslocked
- CLAUDE.md~45 tokensunchangedlocked
- .cursor/rules/agent-ready.mdc~59 tokensnew filelocked
- .github/copilot-instructions.md~49 tokensnew filelocked
- GEMINI.md~47 tokensnew filelocked
- .github/workflows/copilot-setup-steps.yml~73 tokensnew filelocked
- .devcontainer/devcontainer.json~80 tokensnew filelocked
- scripts/agent-setup.sh~76 tokensnew filelocked
- .env.example~142 tokensnew filelocked
# Claude-Mem architecture rules
Read [the observer lifecycle contract](docs/architecture/observer-lifecycle.md)
before changing capture, queueing, retries, provider dispatch, or recovery.
- The local observer is a stateful reducer, not a durable job consumer.
- Live observation, file-edit, and summary inputs must not be persisted for
automatic replay. Use the common live handoff and `SessionMessageBuffer`.
- Quota exhaustion and authentication failures discard pending inference
inputs, except for a trusted pre-inference CMEM credit refusal with an
immediate live handoff as specified in the observer lifecycle contract.
A quota reset, login, restart, timer, or a later successful store
never authorizes backfill, and paused work is never resumed on such proof.
- Keep active buffering bounded. Do not add another batching queue, retry
…Get the complete kit for thedotmack/claude-mem: all 9 files, the diff against what the repository already has, and the ZIP.
Repo Fix is $19 once for this repository. Pro ($15 a month) covers every repository. See pricing.
- Test files exist, but no supported test runner (vitest, jest, mocha, playwright, ava or pytest) is installed, so the kit gives no single-test example rather than guess a command.
- kept the hand-written sections and fixed only the lines the scan proved wrong
Put this report in your README
The badge is generated from this report and links back to it. Pick a look, then copy the snippet.
- Markdown
[](https://makeagentready.tech/gh/thedotmack/claude-mem) - HTML
<a href="https://makeagentready.tech/gh/thedotmack/claude-mem"><img src="https://makeagentready.tech/badge/gh/thedotmack/claude-mem.svg" alt="Agent Ready score"></a> - Image URL
https://makeagentready.tech/badge/gh/thedotmack/claude-mem.svg