What is rule-keeper?
rule-keeper is a Claude Code mod by davidparys that when you correct Claude, a band above the prompt offers to save the correction as a permanent rule in CLAUDE.md or a skill. It is listed under Interface and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | davidparys |
| Repository | davidparys/claude-mods |
| Popularity | no public popularity data yet |
| Category | Interface |
| Security | Review before installing (76/100) |
| Rank | #5,584 of 9,397 Claude Code mods; #2,373 in Interface |
| Last commit | 2026-10-11 |
| Hooks | 3 events |
| Sees | every prompt |
| Draws on | AbovePrompt |
Is rule-keeper safe to install?
rule-keeper scores 76/100 on the MCPMods security check: Review before installing. Things to review: watches every prompt or event. It passed 4 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Validator reported problems | Note |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.prompt.submit | drives Claude |
$.state.get | |
$.state.set | |
$.ui.resolve | draws interface |
How do I install rule-keeper?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/davidparys/claude-mods claude plugin validate ./claude-mods/rule-keeper
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add davidparys/claude-mods && claude plugin install rule-keeper@claude-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs rule-keeper for you:
Install the "rule-keeper" Claude Code mod from https://github.com/davidparys/claude-mods/tree/main/rule-keeper. Run claude plugin validate on it first and show me what it can access before you enable it.