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/shofer-dev/claude-code-second-brain/stopgit clone --depth 1 https://github.com/shofer-dev/claude-code-second-brainGrade 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 yesterday.
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.
This is a copy
86% identical to Stop — 7 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
What it actually says
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/feed.py\" stop",
"timeout": 10
},
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/drain.py\" stop",
"timeout": 10
}
]
}
]
}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.
- yesterday First seen · 18 lines scan A 19ff24096876
Stop is a hook published in the GitHub repository shofer-dev/claude-code-second-brain (2 stars, last pushed 5d ago), licensed Apache-2.0. 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. It is 86% identical to Stop, differing in 7 lines, and is treated as a copy.
Other hooks, from other repositories
UserPromptSubmit
Runs when you submit a prompt, before the agent sees it, executing consent_gate_grant.mjs via node. From friedbotstudio/baseline.
UserPromptSubmit
Runs when you submit a prompt, before the agent sees it, executing clarify-first.sh and skill-chain-enforcer.sh via bash (2 commands). From mag123c/toktrack.
PreToolUse
Runs before the agent uses a tool for Read, read, read_file, file_read, Grep, grep, Search, search and code_search tool calls, running warden hook redirect (2 commands). From rynald0cst0ltziam/Warden-AI.
Notification
Runs when the agent sends a notification, running osascript -e 'display notification "$CLAUDE_NOTIFICATION" wi. From AmElmo/loadout.
TaskCompleted
Runs when a task is marked completed, executing task-completed-check.py via python3. From AnExiledDev/CodeForge.
PostToolUse
Runs after a tool call finishes for Edit and Write tool calls, executing mark-ts-edit.sh. From kelesmert/turnlens.