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.
npx agentmods add commands/goldenwo/universal-memory/um-checkpointgit clone --depth 1 https://github.com/goldenwo/universal-memoryWrote 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.
[](https://agentmods.dev/commands/goldenwo/universal-memory/um-checkpoint)<a href="https://agentmods.dev/commands/goldenwo/universal-memory/um-checkpoint"><img src="https://agentmods.dev/badge/commands/goldenwo/universal-memory/um-checkpoint.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00012 | $0.00613 |
| Opus 5 | $0.00006 | $0.00307 |
| Sonnet 5 | $0.00002 | $0.00123 |
| Haiku 4.5 | $0.00001 | $0.00061 |
Grade A, and why
um-checkpoint scanned grade A with 1 finding 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 4d ago.
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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
immediately (the POST itself is DETACHED, on its own 120s client-side `curl --max-time` — not a What it actually says
Execute bash "${CLAUDE_PLUGIN_ROOT}/hooks/session-end.sh" via the Bash tool.
This fires the same detached POST /api/checkpoint {project} that SessionEnd sends automatically
on a clean exit — running it on demand just doesn't require exiting first. The hook returns
immediately (the POST itself is DETACHED, on its own 120s client-side curl --max-time — not a
server-side budget; server-side synthesis can still take a while, this just bounds how long the
detached child waits for it); the outcome lands in ~/.um/hook.log (posted http=200 / error=...
/ skip=...), not in this command's own output. There is no client-side summarizer or state.md
merge anymore — the server's checkpoint pipeline owns synthesis end to end.
Chunked semantics. Server-side, checkpoint synthesis is chunked: each call digests at most a
few chunks of raw captures (shipped default 3), each an independently committed transaction, then
reports whether more backlog remains (backlog_remaining). A normal session's worth of captures
fits in one chunk, so one call is usually enough. If the project has a large undigested backlog —
after an outage, a long gap between sessions, or a first-ever checkpoint on an older project — a
single call can leave backlog_remaining: true; the fix is simply to run this command again. Each
call resumes exactly where the last one left off (a durable per-project cursor, not a re-read of
everything), so repeated calls are the normal way to catch up — never lossy, at worst a little
redundant across a crash boundary.
Use this before:
- Switching devices — ensures
state.mdon disk is current so the next session picks up fresh context - Approaching auto-compact — the post-compact session reads the refreshed
state.mdvia the SessionStart hook - Long breaks — avoids relying on
SessionEndfiring cleanly (which it often doesn't: crashes, kills, and terminal closes all skip it)
Draining a large backlog. This command is for one session's on-demand checkpoint. To catch up a
large backlog across many calls or many projects at once (e.g. after an extended outage), use the
operator tool bin/um-drain.sh instead — it loops the same POST until backlog_remaining: false,
with a cost estimate and confirm gate up front. See the paragraph on progressive drain semantics
right below the plugin README's component table.
The hook is fail-soft: missing API key, server down, malformed LLM output — all surface as warnings
in ~/.um/hook.log, never data loss. Raw captures stay on disk either way; nothing already digested
is ever re-read.
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.
- 4d ago First seen · 39 lines · 12 tokens per session scan A f42a83b1ca49
um-checkpoint is a command published in the GitHub repository goldenwo/universal-memory (2 stars, last pushed 7d ago), licensed MIT. It adds 12 tokens to every session and 613 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
capture
Search first: /mnemonic:search {relevantkeywords} Capture after: /mnemonic:capture {namespace} "{title}".
integrate
Wire mnemonic memory operations into other Claude Code plugins.
recall
Recall memories with filtering and search.
custodian
Unified memory custodian for audits, validation, and maintenance.
query
Structured frontmatter queries using yq.
search
Full-text search across all memories.