dshakes/compass

🧭 Let your coding agent off the leash — not off the rails. Guardrails, a hard budget cap & a self-fixing PR loop for Claude Code / Codex / Gemini. Eval-gated 100/100, you always merge.

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

SessionStart

01

dshakes/compass

Hook

Runs when a session starts, executing inject-context.sh and scan-untrusted-context.sh (2 commands). From dshakes/compass.

19 7d ago A tokens not measured original MIT

UserPromptSubmit

02

dshakes/compass

Hook

Runs when you submit a prompt, before the agent sees it, executing scan-prompt.sh. From dshakes/compass.

19 7d ago A tokens not measured original MIT

PreToolUse

03

dshakes/compass

Hook

Runs before the agent uses a tool for Bash, Edit, Write, MultiEdit and NotebookEdit tool calls, executing protect-paths.sh and budget-gate.sh (2 commands). From dshakes/compass.

19 7d ago A tokens not measured original MIT

PostToolUse

04

dshakes/compass

Hook

Runs after a tool call finishes for Edit, Write, MultiEdit, WebFetch, WebSearch and Bash tool calls, executing format-on-edit.sh and scan-tool-output.sh (2 commands). From dshakes/compass.

19 7d ago A tokens not measured copy · 64% MIT

Stop

05

dshakes/compass

Hook

Runs when the agent finishes a response, executing notify.sh. From dshakes/compass.

19 7d ago A tokens not measured copy · 86% MIT

Notification

06

dshakes/compass

Hook

Runs when the agent sends a notification, executing notify.sh. From dshakes/compass.

19 7d ago A tokens not measured original MIT