/mnema:diagnosing-recordingfrom mnema
Reads Claude Code session transcripts to diagnose why a decision was or was not recorded in the project's record. Useful when a session settled choices but left nothing in the record.
Ships in mnema. 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.
A session that settled a choice and recorded nothing is evidence for the next row of the table in
recording-decisions. This reads the host's transcripts of the session and says what happened,
citing the line it says it from. A finding with no line is dropped.
The host writes one JSON object per line. Claude Code keeps them under ~/.claude/projects/, or
under $CLAUDE_CONFIG_DIR/projects/ where that is set, in a directory it names by flattening the
path it started in. That name is lossy: /, . and - all become -, so a sibling project can
share a prefix, so do not pick a session by directory name. A transcript belongs to a project when
the cwd recorded on its lines is the project's root or under it. packages/code/src/transcripts.ts
in the mnema repository is the product's own reader of this store and the reference for each fact
below; it reads token counts, never words, and this skill is the one place that reads words, on
purpose and for one question.
sessionId), not in the file name.message.id.user line whose content is text, with origin human where the host
writes one. Tool results are user lines too; so are injected text (isMeta) and notifications.grep -n over the file gives every finding its line. Every claim below is
a <transcript path>:<line>.governing_rules, search,
read_record or bootstrap;record_decision, capture_memory or
record_observation. In Claude Code the name carries a prefix, mcp__plugin_mnema_mnema__ or
mcp__mnema__; match on the end.recording-decisions. A sentence that matches no row is a candidate for a new one, with this
line as its evidence. A row is not added or rewritten without a result from before and after.It does not record the decisions it found; that is the job of the session that made them. It does not copy a person's prompt into the record: quote the shortest sentence that supports a finding, and leave the rest of the conversation where it is.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub mnema-work/mnema --plugin mnema3 skills in this plugin
/recording-decisionsUse when a choice between approaches, libraries or trade-offs has just been settled in this project, when an option was turned down, or when the person has just told you how something is to be done here/recording-rulingsUse when the workflow you are following has you write down rulings, calls or provisional decisions in a ledger or progress file that is thrown away when the work ends