skymanbp/cc-enforcer

Rules your coding agent physically cannot ignore. Claude Code hooks that DENY the tool call and BLOCK the reply - stopping reactive patches, guessed citations, and premature 'done' claims. Also works as an LLM-agnostic rule pack.

5Stars on the repository
15Mods indexed here, across every type
6d agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

SessionStart

01

skymanbp/cc-enforcer

Hook

Runs when a session starts, executing inject_context.py via python with --event. From skymanbp/cc-enforcer.

5 6d ago A tokens not measured original MIT

UserPromptSubmit

02

skymanbp/cc-enforcer

Hook

Runs when you submit a prompt, before the agent sees it, executing inject_context.py via python with --event. From skymanbp/cc-enforcer.

5 6d ago A tokens not measured original MIT

PreToolUse

03

skymanbp/cc-enforcer

Hook

Runs before the agent uses a tool for Read, Edit, Write and Bash tool calls, executing read_guard.py and bash_guard.py via python (2 commands). From skymanbp/cc-enforcer.

5 6d ago A tokens not measured original MIT

Stop

04

skymanbp/cc-enforcer

Hook

Runs when the agent finishes a response, executing stop_guard.py via python. From skymanbp/cc-enforcer.

5 6d ago A tokens not measured original MIT