Stats
Actions
Tags
From Frugal
Runs a bash script before any Bash tool execution, on session start, on QA subagent stop, and before each user prompt. Executes shell commands at multiple lifecycle events.
4 events · 6 hooks
Safety signals detected in this hook configuration
Where this hook configuration is defined
Defined in hooks/hooks.json
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"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.'3plugins reuse this hooks config
First indexed Apr 21, 2026
npx claudepluginhub thomaslangbroek/frugal --plugin frugal