/segmem:reviewfrom segmem
Health review of the segmem store: size, wake cost per project, pressure and where it comes from, duplicates, untagged facts, session bursts. Use when the user asks how memory is doing, says "review segmem" or "audit the store", or once a month.
Ships in segmem. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Run segmem audit. It prints the numbers; this skill is how to read them
and what to do. Fix what is cheap in the store as you go, then report.
Memories. Live versus total by kind. A superseded share above a third in one kind is normal churn; in identity it means the user's preferences are being re-noted instead of held.
Per project. Wake bytes, procedural notes hidden by the cap, episodic
rows printed raw because no compression landed, and compressions pending.
A wake above about 12 KB costs the session real tokens. The lever is the
pending nap: answer it now with segmem nap. Hidden procedural notes are
fine; recall still finds them.
Pressure. Each fact or dossier under pressure, with the projects and
sessions its touches came from. A fact pressed mostly from another project
or from a burst of short sessions is not really under pressure; its
evidence is noise. Confirm it with segmem touch <id> and look for the
source of the noise below.
Sessions per day. A day with many times the usual session count is a
harness, a builder fleet, or an eval, not a person. Those sessions should
run with SEGMEM_QUIET=1 in their environment: they still read memory but
leave no touches and take no Stop nag. Find the spawner and set it.
Duplicates. Live notes with identical text. Keep the older id and
segmem forget the newer one.
Untagged procedural. Facts with no entities never feel pressure and so never get reviewed. Supersede each with the same text and the entities it should carry, or forget it if it fails the 30-day test.
Summaries. python3 evals/run.py audit (free) flags stored summaries
against their leaves: a dropped hedge, a token no leaf holds, leaves that
contribute nothing. Read each flagged summary beside its leaves and judge
it on three questions, as docs/design-nap-gate.md describes: does it keep
what a future decision needs, does a doubt stay a doubt, is every claim in
a leaf. Print the ones that fail, with the reason, for the person. Never
re-nap on your own: a re-nap replaces a line, and one judge at the
agreement rates measured so far is wrong too often for a write. A summary
that describes a different block than the one it sits over is the range
bug from before September 11, 2026; say so and let the person forget it
from that project.
Store. Database and write-ahead log sizes. A log many times the
database means a long-lived process holds a connection (segmem serve, an
MCP client); harmless. Integrity should say ok.
Look at what the numbers do not show: does the wake read like a briefing a colleague would want, or like a changelog? Are recent episodic notes recording why, or only what? Say so.
Lead with the one thing that changes what the user does next. Then a short table of the numbers that matter. Then what you fixed in the store and what needs a person: a spawner to quiet, a fact to verify against a repo you cannot see. Record one episodic note only for a finding that would change a future decision.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
4 skills in this plugin
/compileMove a stable-and-hot segmem fact out of memory and into the repo in its strongest form (enforcement, then a skill, then CLAUDE.md, then docs). Use when wake or a <segmem-upkeep> block says a fact is "stable and hot" or "compile it into the repo", or when the user asks to make a memory permanent./importReconcile Claude Code's markdown memory (~/.claude/projects/<slug>/memory/*.md) with segmem. Use when a project has both, when the user says "import my memory" or "merge the memories", or when a wake contradicts something the markdown memory says./orgThe org layer of segmem, a shared knowledge repo of one fact per file. Use when recall shows an (org) fact, when wake says a local fact matches a candidate or OVERRIDES an org fact, when the user asks to share a fact with the team, or to set up the repo with org-init.npx claudepluginhub mahuebel/segmem --plugin segmem