/mneme:mnemefrom Mneme
Provides architectural governance for projects using Mneme. Retrieves decisions, records ADRs, checks proposed changes for compliance, and reviews pending edits. Activates when discussing architecture, constraints, or before non-trivial edits in repos with a .mneme/ directory.
Ships in Mneme. 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.
This project uses Mneme to keep AI-assisted changes aligned with recorded architectural decisions.
The Skill is the workflow interface: it helps Claude retrieve decisions,
record them, check proposed content, and review pending changes. The Skill does
not implement a second policy engine. Deterministic verdicts come from the
existing mneme check engine and the Claude Code hook.
When the plugin is enabled, Mneme uses a prevent → catch → verify model:
PreToolUse evaluates reconstructable file mutations before they land.Stop audits session-introduced changes that could not be safely preflighted..mneme/project_memory.json file exists in the repo.Before non-trivial edits — run /mneme:context with a descriptive task
phrase such as "storage layer changes" or "auth middleware refactor".
Domain language is more useful than a generic file name for retrieval-based
guidance.
To gate a draft — run /mneme:check against the proposed content with
the real target path when available. Treat the command's verdict as the
authority; do not infer PASS from the Skill's own reasoning.
To record a new decision — run /mneme:record. Choose clear scope and
applicability so future retrieval and enforcement can identify where the
decision belongs.
To review pending changes — run /mneme:review. Use the output as the
evidence layer for an architectural review: which decisions apply, which
changes comply, which are denied or warned, and which surfaces were not
mechanically evaluated.
Mneme deliberately separates architectural context from deterministic policy checks.
/mneme:context retrieves relevant decisions for guidance.FORBID_LITERAL are enforced independently of retrieval
ranking across the decision corpus, subject to explicit path applicability.mneme check --target-path is the authority for path-scoped evaluation.UNKNOWN / incomplete applicability state is not a PASS.Do not assume that a decision was unenforced merely because it was absent from the top retrieved context.
The plugin's PreToolUse hook covers direct Edit, Write, and compatible
MultiEdit mutations by reconstructing the proposed post-edit content and
calling the existing Mneme checker.
For shell mutations, Mneme only preflight-blocks forms whose resulting path and
content can be proven from the command itself, such as supported simple quoted
heredoc writes. Pipelines, substitutions, interpreters, generators, and other
opaque shell forms are allowed to run and are evaluated at the Stop boundary
from the session delta where possible.
The Stop audit is a catch boundary, not proof that every external or remote
mutation surface is governed. If evaluation is unavailable or incomplete,
Mneme must surface that state rather than silently calling it PASS.
In strict mode, a trusted violating verdict can block the mutation or completion boundary and surfaces the violated decision id so Claude can correct course. Anything the adapter cannot evaluate reliably fails open visibly.
For a substantive review, use this order:
/mneme:context./mneme:check or /mneme:review for deterministic evidence.This is the foundation for a richer Architecture Review Skill surface on the roadmap; today it is an executable review workflow over existing Mneme commands, not a new enforcement subsystem.
mneme-hook must be on PATH. Use the
version documented by the plugin README; the runtime and plugin are separate
artifacts.mode configuration option and
reaches the hook as CLAUDE_PLUGIN_OPTION_MODE. Precedence:
MNEME_HOOK_MODE > CLAUDE_PLUGIN_OPTION_MODE > strict; unknown values
fall back to strict.warn while iterating on decisions if blocking would create unnecessary
friction, but do not represent WARN as PASS..mneme/project_memory.jsonmneme --helpintegrations/claude-code-plugin/README.mddocs/integrations/README.mddocs/roadmap/README.mdWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mnemehq/mneme --plugin mnemeOther plugins' skills for the same job