Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add dbc-oduffy/coordinator-claude/plugin install coordinatorWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/hooks/dbc-oduffy/coordinator-claude/pre-tool-use)<a href="https://agentmods.dev/hooks/dbc-oduffy/coordinator-claude/pre-tool-use"><img src="https://agentmods.dev/badge/hooks/dbc-oduffy/coordinator-claude/pre-tool-use.svg" alt="Measured on agentmods" height="20"></a>Grade C, and why
PreToolUse scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the commands this hook runs, not an audit. A hook is shell that executes on your machine at the event it names, which is why every command in it is printed with what was found.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
"_comment": "PRETOOLUSE-BASH FAN-IN (state/audits/2026-08-16-doe-hook-consolidation-feasibility.md, this dispatch) -- the single PreToolUse(Bash|PowerShell) entrypoint, replacing the three standalone registrations that u The source is not reproduced here
A licence we could not identify
The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.
What else hooks.json configures
This page is one entry in a file that holds 9. Installing the file brings all of them; each is measured and scanned on its own page.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today Changed · +12 lines eb0c18ca3754
- 2d ago Changed · +17 lines a18861ed421e
- 5d ago First seen · 226 lines scan C fd4f93302dac
PreToolUse is a hook published in the GitHub repository dbc-oduffy/coordinator-claude (5 stars, last pushed yesterday), with no licence file. Its token cost is not measured: a hook is shell that never enters the context. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other hooks, from other repositories
PreToolUse
Runs before the agent uses a tool for Bash, Write and Edit tool calls, executing handler.cjs via node. From Samuel0101010/wisp-orchestrator.
PreToolUse
Runs before the agent uses a tool for Bash, Grep, Read and Glob tool calls, running graphify hook-guard search (2 commands). From rafael-adcp/kraken.
SessionStart
Runs when a session starts, executing session-registry-start.sh, parked-resume-check.sh and wip-check.sh via bash (3 commands). From Habitat-Thinking/ai-literacy-superpowers.
PreToolUse
Runs before the agent uses a tool for Write and Edit tool calls, executing markdownlint-check.sh via bash. From Habitat-Thinking/ai-literacy-superpowers.
PostToolUse
Runs after a tool call finishes, executing handler.cjs via node. From Samuel0101010/wisp-orchestrator.
SubagentStart
Runs when a subagent starts, executing relay-watch.js via node. From Teknesyum/Teknesyum-Base.