P
PostToolUse (Bash)
HookFires on
PostToolUsematchingBashImmediately after a tool returns, with its result available.
Where this sits in a session
- Session start→
- Prompt submitted→
- Prompt expansion→
- Before tool use→
- After tool use→
- Notification→
- Before compaction→
- Subagent finished→
- Turn finished→
- Session end
Behaviour unclear — We could not tell from the script whether this hook can block. Read it before installing.
What it runs
Executed automatically when the event fires — no prompt, no confirmation.
command· timeout 10s
bash "${PLUGIN_ROOT}/hooks/check-dep-install.sh" PostToolUseInstall it yourself
Paste into .claude/settings.json to run this hook without installing the whole plugin. Adjust the paths to point at your own copy of the scripts.
settings.json
{
"hooks": {
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "bash \"${PLUGIN_ROOT}/hooks/check-dep-install.sh\" PostToolUse",
"timeout": 10
}
],
"matcher": "Bash"
}
]
}
}Shipped by 1 plugin
Installing any of these installs this hook.
Reviews
Log in to leave a review.
No reviews yet — be the first.
Explore related
Other things in this space — across every part of the ecosystem, not just hooks.