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.
Claude loads one when your task matches it, or you run it by name.
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it sees, changes or blocks tool calls; runs programs; writes files; reads files; reads environment variables (HOME); reads your settings; calls a model on your account; reads or rewrites your prompts.
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.
A Claude Code plugin that enforces Hookify rule files through Claude Code mods. Strict rules stop an action that breaks a convention and tell Claude the conforming alternative; guidance rules let the action through and tell Claude what to fix.
.claude/ in your project (the nearest .claude/ holding rule files, from the working
directory up to the git root).~/.claude/.Each rule is a file named hookify.<name>.local.md, in Hookify's format:
---
name: no-force-push
enabled: true
event: bash
action: block
pattern: git push .*--force
---
Never force-push. Push to a new branch and open a pull request.
event: bash, file, stop, prompt or all.action: block (stop the action), ask (ask you first) or warn (let it run and tell Claude).pattern, or conditions (a list of field, operator, pattern). Operators: regex_match,
contains, equals, not_contains, starts_with, ends_with, and llm_evaluate, a plain-language
question a model answers.ask and llm_evaluate are cc-enforcer additions that Hookify does not understand. CHANGELOG.md lists
them and every deliberate difference from Hookify's behavior.
/cc-enforcer-rules lists each rule's name, event, action, whether it has an evaluator condition,
source (project or personal), on/off state and hits this session. With no rules it names the project
and personal folders where rules can go./cc-enforcer-toggle <name> on|off [project|personal] switches a rule by rewriting only its file's
enabled line; the change applies at once and in later sessions. When the name exists in both
folders, give the source. An unknown name, a missing source, or a file edited since it was read changes
nothing and the command says why.If rules stop applying, Claude Code may have switched mods off for this session. Look for its notice in the transcript and for the mods active line in /plugin, then run /reload-plugins to restore enforcement.
Every enforcement event is written to ~/.cc-enforcer/projects/<project-path>/<session-id>.jsonl
(owner-only), the same shape as ~/.claude/projects/. The log holds each tool call with its full input,
including calls no rule covers, every prompt, every turn end, and each rule hit and finding. It is sent
nowhere. A resumed session reads it back, so the audit pane keeps its history.
The log keeps commands, prompts and file content, which can include secrets. Remove old logs with
/cc-enforcer-cleanup [period], for example /cc-enforcer-cleanup last week; without a period it removes
logs older than 180 days.
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.
npx claudepluginhub rsmdt/cc-enforcer --plugin cc-enforcerPlugins from other owners that cover similar ground