Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By MnemeHQv0.1.1MITIn 1 marketplace
Checks AI-proposed edits against your recorded architecture decisions and blocks violations before they reach the repo in the default strict mode. Needs the separately installed mneme-hq CLI (0.5.1+); without it the hook fails open and edits proceed.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Enforcement modemode
Use 'strict' to block edits that violate a recorded decision, or 'warn' to report violations without blocking.
stringdefault strict
Architectural enforcement for Claude Code, packaged as an installable plugin. Enforce your project's ADRs and engineering constraints automatically — before AI-generated edits reach your repo.
This is the plugin form of the flat claude-code integration.
It bundles the enforcement hook, the mneme skill, and four namespaced slash
commands (/mneme:context, /mneme:check, /mneme:record, /mneme:review)
into a single distributable unit.
The plugin directory contains only configuration and Markdown: hooks/hooks.json,
four slash-command prompts in commands/, one skill in skills/mneme/, the
manifest, and this README. It ships no executable code, no MCP server, and no
HTTP hooks.
Executables it invokes:
| What | Where it comes from | When |
|---|---|---|
mneme-hook | Console script from the mneme-hq PyPI package, installed separately by the user (source) | PreToolUse (Edit/Write/MultiEdit/Bash), SessionStart, Stop |
python -m mneme check | Spawned by mneme-hook with the same interpreter, on a temp file holding the proposed change | Per gated tool call and at Stop |
git ls-files | The user's local git | SessionStart baseline and Stop session-delta audit |
mneme check, mneme list, mneme add, mneme test | Same mneme-hq package, run through Claude Code's normal Bash tool | Only when the user runs a /mneme:* command or the skill is used |
Network and data:
.mneme/project_memory.json and the files being edited. The hook writes only
a temp file and a per-session baseline under the OS temp directory;
/mneme:record (mneme add) appends the new decision to
.mneme/project_memory.json.mneme-hq also contains code that can use the network: the opt-in
mneme setup audit pairing, plus library modules for GitHub CI evidence
verification and research classifiers. This plugin never invokes any of them.If mneme-hook is not installed, nothing runs: Claude Code reports a
non-blocking hook error and edits proceed (see Fail-open guarantees).
The plugin drives the mneme-hook / mneme CLI, which ships with the
mneme-hq package. Installation is two steps — the runtime and the plugin are
separate artifacts, and installing one does not install the other.
Step 1 — install the runtime:
pipx install "mneme-hq>=0.5.1"
>=0.5.1 is a real requirement, not a preference. Earlier releases do not
support the --json verdict the hook relies on; on 0.5.0 and below a
crashing check could hard-block an edit, and warn mode reported nothing at
all. If the installed runtime is too old, the hook says so explicitly rather
than silently disabling enforcement.
Step 2 — install the plugin (see below).
If mneme-hook is not on PATH, the hook fails open: Claude Code reports a
non-blocking hook error and the edit proceeds. Enforcement simply stays inactive
until Mneme is installed. (Auto-install / runtime bundling is intentionally not
part of this plugin.)
Local development / trying it out:
claude --plugin-dir /path/to/mneme/integrations/claude-code-plugin
After changes, reload in-session with /reload-plugins.
From the Mneme marketplace:
claude plugin marketplace add https://github.com/MnemeHQ/mneme.git --sparse .claude-plugin integrations/claude-code-plugin
claude plugin install mneme@mneme
The first command registers the marketplace published by Mneme HQ from
this repository over HTTPS. The sparse checkout downloads only the marketplace
manifest and plugin, avoiding unrelated monorepo paths and Windows path-length
limits. The second command installs the mneme plugin. Enabling it from Claude
Code's plugin UI prompts for the enforcement mode (strict or warn).
The plugin registers three hooks, all exec-form invocations of mneme-hook:
| Event | Matcher | Role |
|---|---|---|
PreToolUse | Edit|Write|MultiEdit|Bash | Prevent: block violating mutations before they land. |
SessionStart | (all sources) | Capture the per-session repository baseline used by the Stop boundary. |
Stop | — | Catch: evaluate the session delta before the agent completes. |
7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground