From Frugal
Before a tool call (Bash|Read|Grep|Glob|Agent): runs python3 "${CLAUDE_PLUGIN_ROOT}/hooks/guard_inline.py". Before a tool call (Agent): runs bash "${CLAUDE_PLUGIN_ROOT}/hooks/guard_expensive.sh". And 5 more.
4 events · 8 hooks
Ships in Frugal. Installing the plugin adds it to Claude Code.
Safety signals detected in this hook configuration
Event handlers and matchers — expand Raw configuration for the full JSON
Bash|Read|Grep|Glob|Agentpython3 "${CLAUDE_PLUGIN_ROOT}/hooks/guard_inline.py"Agentbash "${CLAUDE_PLUGIN_ROOT}/hooks/guard_expensive.sh"Agentpython3 "${CLAUDE_PLUGIN_ROOT}/hooks/guard_sensitive.py"Agentpython3 "${CLAUDE_PLUGIN_ROOT}/hooks/guard_budget.py"echo 'FRUGAL ROUTING ACTIVE — apply this policy to every task, every response. No drift:'; awk '/^---$/{c++; next} c>=2' "${CLAUDE_PLUGIN_ROOT}/skills/routing/SKILL.md"; python3 "${CLAUDE_PLUGIN_ROOT}/scripts/stats.py" --advice 2>/dev/null || truepython3 "${CLAUDE_PLUGIN_ROOT}/hooks/log_metrics.py"echo 'FRUGAL ROUTING ACTIVE — one-shot deterministic tool first, then cheapest capable agent (scout/extractor -> mechanic/builder -> main loop). Bright line: 3+ inline search/list/read operations on one question = you are exploring inline, delegate to scout/extractor instead. Escalate only on verified failure.'python3 "${CLAUDE_PLUGIN_ROOT}/hooks/guard_budget.py"Where this hook configuration is defined
Defined in hooks/hooks.json
4 plugins ship this exact hooks config · first indexed Apr 21, 2026
npx claudepluginhub thomaslangbroek/frugal --plugin frugalOther plugins' hooks for the same job