Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add hooks/piyush8296/claude-workspace/stopgit clone --depth 1 https://github.com/Piyush8296/claude-workspaceWrote 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/piyush8296/claude-workspace/stop)<a href="https://agentmods.dev/hooks/piyush8296/claude-workspace/stop"><img src="https://agentmods.dev/badge/hooks/piyush8296/claude-workspace/stop.svg" alt="Measured on agentmods" height="20"></a>Grade A, and why
Stop scanned grade A with 0 findings 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 4d ago.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "if command -v osascript &>/dev/null; then\n osascript -e 'display notification \"Claude finished the task\" with title \"Claude Code\" sound name \"Glass\"' 2>/dev/null\nfi",
"timeout": 5,
"async": true
}
]
},
{
"hooks": [
{
"type": "command",
"command": "if command -v npm &>/dev/null && [ -f package.json ]; then\n BUILD_OUTPUT=$(npm run build 2>&1)\n if [ $? -eq 0 ] && command -v vercel &>/dev/null; then\n PREVIEW_URL=$(vercel --prod=false --yes 2>/dev/null | tail -1)\n if [ -n \"$PREVIEW_URL\" ]; then\n echo \"{\\\"feedback\\\": \\\"Vercel preview deployed: $PREVIEW_URL\\\"}\"\n command -v open &>/dev/null && open \"$PREVIEW_URL\"\n fi\n fi\nfi",
"timeout": 120,
"async": true
}
]
}
]
}What else settings.json configures
This page is one entry in a file that holds 4. 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.
- 4d ago First seen · 24 lines scan A 7143786be349
Stop is a hook published in the GitHub repository Piyush8296/claude-workspace (2 stars, last pushed 4mo ago), licensed MIT. Its token cost is not measured: a hook is shell that never enters the context. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other hooks, from other repositories
PostToolUse
Runs after a tool call finishes for Bash tool calls, executing post-error-remind.sh via bash. From TechHU-GS/cc-discipline.
PostToolUse
Runs after a tool call finishes for create_file, write_file, edit_file, replace_string, multi_replace and create_directory tool calls, executing post-edit-commit-reminder.sh and post-tool-session-log.sh via bash (2 commands). From jghiringhelli/forgecraft-mcp.
PreToolUse
Runs before the agent uses a tool for run_in_terminal tool calls, executing pre-exec-safety.sh and pre-exec-health-injector.sh via bash (2 commands). From jghiringhelli/forgecraft-mcp.
PreToolUse
Runs before the agent uses a tool for Edit, Write, MultiEdit, Edit, Write, MultiEdit, Edit, Write, MultiEdit, Bash, Agent, Bash and ExitPlanMode tool calls, executing pre-edit-guard.sh, streak-breaker.sh, action-counter.sh, git-guard.sh and phase-gate.sh via bash (5 commands). From TechHU-GS/cc-discipline.
Stop
Runs when the agent finishes a response, executing stop-session-summary.sh via bash. From jghiringhelli/forgecraft-mcp.
PostToolUseFailure
Runs when a tool call fails for Bash tool calls, executing post-error-remind.sh via bash. From TechHU-GS/cc-discipline.