PreToolUse
01Hook
Runs before the agent uses a tool for Bash tool calls, executing hook_pretool.py via python3. From ppgranger/token-saver.
140 14d ago A
tokens not measured
original Apache-2.0
Content-aware output compression for AI coding assistants. 36 specialized processors cut CLI output tokens by 60-99% (git, pytest, npm, terraform, kubectl, docker, and more) without losing errors, diffs, or stack traces.
Hook
Runs before the agent uses a tool for Bash tool calls, executing hook_pretool.py via python3. From ppgranger/token-saver.
Hook
Runs when a session starts, executing hook_session.py via python3. From ppgranger/token-saver.