0xhimanshu/governor

Claude Code usage governor: compact professional output, context slimming, tool-output filtering, telemetry, and drift guardrails.

133Stars on the repository
20Mods indexed here, across every type
2mo agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

SessionStart

01

0xhimanshu/governor

Hook

Runs when a session starts, executing governor.py via python3. From 0xhimanshu/governor.

133 2mo ago A tokens not measured original MIT

UserPromptSubmit

02

0xhimanshu/governor

Hook

Runs when you submit a prompt, before the agent sees it, executing governor.py via python3. From 0xhimanshu/governor.

133 2mo ago A tokens not measured original MIT

PostToolUse

03

0xhimanshu/governor

Hook

Runs after a tool call finishes, executing governor.py via python3. From 0xhimanshu/governor.

133 2mo ago A tokens not measured original MIT

PostToolUseFailure

04

0xhimanshu/governor

Hook

Runs when a tool call fails, executing governor.py via python3. From 0xhimanshu/governor.

133 2mo ago A tokens not measured copy · 86% MIT

PreCompact

05

0xhimanshu/governor

Hook

Runs before the context is compacted, executing governor.py via python3. From 0xhimanshu/governor.

133 2mo ago A tokens not measured original MIT