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/june9593/memarium-plugin/memariumgit clone --depth 1 https://github.com/june9593/memarium-pluginWrote 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/june9593/memarium-plugin/memarium)<a href="https://agentmods.dev/commands/june9593/memarium-plugin/memarium"><img src="https://agentmods.dev/badge/commands/june9593/memarium-plugin/memarium.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.00045 | $0.00514 |
| Opus 5 | $0.00023 | $0.00257 |
| Sonnet 5 | $0.00009 | $0.00103 |
| Haiku 4.5 | $0.00005 | $0.00051 |
Grade A, and why
memarium scanned grade A with 0 findings 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 3d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Invoke the memarium skill via the Skill tool with skill: "memarium:memarium".
The skill walks you through (typed-memory only — there is no book/chronicles/topics):
- Locate the plugin binary (
VBP="${CLAUDE_PLUGIN_ROOT:+$CLAUDE_PLUGIN_ROOT/bin/memarium-plugin.js}"; [ -x "$VBP" ] || VBP=$(ls -d ~/.claude/plugins/cache/*/memarium/*/bin/memarium-plugin.js | awk -F/ '{print $(NF-2)"\t"$0}' | sort -V | tail -1 | cut -f2-)). - Run
"$VBP" orchestrate project --cwd "$(pwd)"to prime the spool and detect mode. - Run
"$VBP" prepare --cwd "$(pwd)"to discover un-digested sessions (those not referenced by an episodic memory and not skip-ledgered). - For 0.7+
manifest_version: 1source md, navigate via the embedded manifest + Table of Contents instead of loading the whole body (P3 chunked reading). - Segment sessions into threads (one episodic per thread).
- Write an episodic
{entry, body}per non-skip thread (references/episodic-format.md: Context / What worked / Dead ends / Open questions / Decisions;sourceSessionscorrect; work-status in the body, NOTentry.status), plus distilledsemantic/procedural/corefacts, the entity wiki, and Q&A. - Persist via
"$VBP" memory-write(non-gated: episodic/plain-semantic) and"$VBP" memory-propose(gated: core/procedural/pinned/supersede/trust-elevation); surface proposals for review. - Record skipped sessions with
"$VBP" skip-write, then"$VBP" finalizeto commit + push.
Per-project isolation is a hard rule. This is the batch digest; /memarium-retro
is its lightweight in-session counterpart (capture one insight live).
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.
- 3d ago First seen · 26 lines · 45 tokens per session scan A 8e4a04f6e2b0
memarium is a command published in the GitHub repository june9593/memarium-plugin (1 stars, last pushed 29d ago), licensed MIT. It adds 45 tokens to every session and 514 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
learn
Force claude-smart to extract learnings from this session now.
recall-save
Generate / overwrite .recall/context.md with Recall's local offline summarizer.
show
Show this project's saved Recall context (.recall/context.md).
coding-drill
Rapid-fire reps — pattern recognition, complexity-of-this-snippet, template recall — flashcard cadence; prioritizes your weak patterns.
init
Bootstrap project context (project.intent.md and project.glossary.json) from an existing codebase using deterministic scan + LLM synthesis + interactive editing. Use --harness to scaffold additional repo-level harness docs.
ai-act-ask
Answer an EU AI Act question grounded in the bundled knowledge base — verbatim statute text, obligation paraphrases, and the compound-risk taxonomy. Offline and deterministic by default; cites the articles it relies on.