| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-05-03 | 1.2 kB | |
| v0.3.2 -- Mneme for Claude Code source code.tar.gz | 2026-05-03 | 865.8 kB | |
| v0.3.2 -- Mneme for Claude Code source code.zip | 2026-05-03 | 978.0 kB | |
| Totals: 3 Items | 1.8 MB | 0 | |
Architectural governance for Claude Code, packaged.
No engine changes — shells out to existing `mneme check` v0.3.x CLI.
What's new
- `mneme-hook` — Claude Code `PreToolUse` hook. Intercepts every Edit / Write / MultiEdit, reconstructs the full post-edit file, and blocks on decision violations. Fails open on all execution errors (binary missing, IO error, timeout).
- Installer — `python scripts/install_claude_code.py` writes `.claude/settings.json`, slash commands, and a discovery skill. Idempotent.
- Slash commands — `/mneme-check`, `/mneme-context`, `/mneme-record`, `/mneme-review`
- SKILL.md — discovery front door for Claude Code sessions
- Modes — `MNEME_HOOK_MODE=strict` (default) blocks; `warn` surfaces without blocking
Quick install
```bash pip install mneme python scripts/install_claude_code.py ```
Notes
Retrieval is keyword-based. The hook query is derived from the target file path — decisions whose scope tokens overlap with file names are retrieved. Use `/mneme-context` before large edits to confirm coverage. See docs/integrations/claude-code.md for details.