memarium

memarium is a skill for Claude Code from june9593/memarium-plugin. It costs 131 tokens per session (8,304 once invoked), scanned A, original, MIT.

A memory tool that turns saved coding-session records into organized project notes, including facts, procedures, decisions, and recurring problems.

In plain words
What is it for?
Use it to build or update a searchable knowledge layer from synced Claude Code and Copilot sessions.
Why use it?
It makes information from earlier sessions easier for coding agents to reuse instead of leaving it buried in raw transcripts.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: reads .claude/ paths; mentions subagents; positional $N argument.

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the memarium plugin — 4 skills, 4 commands, 2 hooks shipped together

Install

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.

agentmods
npx agentmods add skills/june9593/memarium-plugin/memarium
Any agent
npx skills add june9593/memarium-plugin --skill memarium
Clone the repo
git clone --depth 1 https://github.com/june9593/memarium-plugin

Made for: Claude Code.

Or install memarium, the plugin that ships this one along with the rest of its 4 skills, 4 commands, 2 hooks.

Wrote 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.

agentmods badge for memarium

README.md
[![agentmods](https://agentmods.dev/badge/skills/june9593/memarium-plugin/memarium.svg)](https://agentmods.dev/skills/june9593/memarium-plugin/memarium)
Your own site
<a href="https://agentmods.dev/skills/june9593/memarium-plugin/memarium"><img src="https://agentmods.dev/badge/skills/june9593/memarium-plugin/memarium.svg" alt="Measured on agentmods" height="20"></a>
Per session 131 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,304 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00131 $0.08304
Opus 5 $0.00066 $0.04152
Sonnet 5 $0.00026 $0.01661
Haiku 4.5 $0.00013 $0.00830

Measured yesterday against content hash 76ed08f72932, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

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 yesterday.

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.

skills/memarium/SKILL.md · 617 lines

How it starts

The opening of the file, as written. The whole thing — 617 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/memarium — digest sessions into the typed Memory OS

This skill walks the in-session Claude (you) through digesting the user's already-synced AI coding sessions into ONE per-project knowledge layer: typed memoryepisodic (one per work thread: the arc, dead-ends, decisions), semantic (durable facts), procedural (how-to playbooks + gotchas), core (never-forget rules) — plus the two derived layers, the entity wiki and distilled Q&A. It is AI-native: agents read this via /memarium-recall and the SessionStart primer. There is no human "book" — no chronicles, no topics, no reading site.

Pure mechanical CLI handles I/O ("$VBP" prepare / "$VBP" memory-write / "$VBP" memory-propose / "$VBP" entity-write / "$VBP" qa-write / "$VBP" skip-write / "$VBP" finalize / "$VBP" list-projects); the LLM work — segmentation + writing — is yours, in this conversation, with full context.

Inputs you assume

  • The plugin's orchestrate step (Pre-step + Step 0 below) scans the user's local Claude Code + Copilot Chat + Codex Desktop/interactive CLI JSONL, writes rendered .md into ~/.memarium/session-repo/raw_sessions/..., and updates .memarium/index.json. You don't need to check whether sync ran — the plugin scans on every run.
  • If the user also installed the optional memarium npm CLI for cross-device sync, fine — both write the same spool. Don't gate on it; it's not required.

Step −1 — Locate the plugin binary (DO THIS FIRST OF ALL)

${CLAUDE_PLUGIN_ROOT} is not populated in your in-session Bash environment, so discover the plugin's bin path and stash it in a shell variable:

VBP="${CLAUDE_PLUGIN_ROOT:+$CLAUDE_PLUGIN_ROOT/bin/memarium-plugin.js}"
[ -x "$VBP" ] || VBP=$(ls -d ~/.claude/plugins/cache/*/memarium/*/bin/memarium-plugin.js 2>/dev/null | awk -F/ '{print $(NF-2)"\t"$0}' | sort -V | tail -1 | cut -f2-)
echo "VBP=$VBP"

Confirm it resolves (picks the highest semver version):

[ -x "$VBP" ] && "$VBP" --version

Read the full file on GitHub · 617 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. yesterday Changed · +1 lines 76ed08f72932
  2. 5d ago First seen · 616 lines · 131 tokens per session scan A 1c052bac4dc4

Subscribe to this mod's changes

memarium is a skill published in the GitHub repository june9593/memarium-plugin (1 stars, last pushed today), licensed MIT. It adds 131 tokens to every session and 8,304 once invoked, about $0.0007 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.

Related

Other skills, from other repositories

memory-recall

Search and recall relevant memories from past sessions via memsearch. Use when the user's question could benefit from historical context, past decisions, debugging notes, previous conversations, or project knowledge -- especially questions like 'what did I decide about X', 'why did we do Y', or 'have I seen this…

zilliztech/memsearch · 149 tokens

alive:session-history

Revive sessions (quick or heavy), browse, and search — 'what happened recently?', 'find the session where we discussed X', 'revive yesterday's session'. For single-session recall and multi-session browsing. If the human needs to merge multiple sessions into one working context or detect conflicts between parallel…

alivecontext/alive · 76 tokens

recall

Must be used at the start of any non-trivial task involving code changes, debugging, repo exploration, file inspection, or environment/tooling investigation to surface stored guidance before analysis or tool use.

AgentToolkit/altk-evolve · 42 tokens

cross-session-handoff

Read, write, snapshot, and lock .arcgentic/state.yaml across planner, dev, audit, and optional test sessions.

Arch1eSUN/Arcgentic · 31 tokens

cco-templates

Manage context templates for common task types.

egorfedorov/claude-context-optimizer · 11 tokens

knowledge-priming-refiner

Facilitate a structured conversation to create a project-specific knowledge base document. Produces a knowledge-base.md that primes AI with the project's tech stack, architecture, trusted sources, and project structure. Use when the user says 'set up knowledge base', 'prime the project', 'onboard AI', 'create…

techygarg/lattice · 84 tokens