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/khazp/vibe-coding-prompt-template/notificationgit clone --depth 1 https://github.com/KhazP/vibe-coding-prompt-templateGrade A, and why
Notification scanned grade A 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 3d 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
"command": "node -e \"/* Static message text, so no shell-quoting surprises. */ const {exec}=require('child_process'); if(process.platform==='win32'){ exec('powershell -Command \\\"Add-Type -AssemblyName System.Windows.F What it actually says
{
"Notification": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "node -e \"/* Static message text, so no shell-quoting surprises. */ const {exec}=require('child_process'); if(process.platform==='win32'){ exec('powershell -Command \\\"Add-Type -AssemblyName System.Windows.Forms; [System.Windows.Forms.MessageBox]::Show(\\'Claude Code needs your attention\\',\\'Claude Code\\')\\\"'); } else if(process.platform==='darwin'){ exec('osascript -e \\'display notification \\\"Claude Code needs your attention\\\" with title \\\"Claude Code\\\"\\''); } else { exec('notify-send \\\"Claude Code\\\" \\\"Claude Code needs your attention\\\"'); }\"",
"timeout": 5000
}
]
}
]
}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.
- 3d ago First seen · 14 lines scan A 0b420ebd9b60
Notification is a hook published in the GitHub repository KhazP/vibe-coding-prompt-template (3,027 stars, last pushed 12d 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 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other hooks, from other repositories
PostToolUse
Runs after a tool call finishes for Edit and Write tool calls, running bun run lint. From gmickel/flow-next.
PreToolUse
Runs before the agent uses a tool for Edit, Write, Grep, Glob, Bash, Edit, Write, NotebookEdit and Bash tool calls, executing spec-hint.js, module-hint.js and docs-hint.js via node (3 commands). From kaanozhan/Frame.
PostToolUse
Runs after a tool call finishes for Write and Edit tool calls, executing validate-test.sh via bash. From adriannoes/awesome-agentic-ai.
Stop
Runs when the agent finishes a response, running an inline shell check. From sahithvibudhi/vibe-tree.
PreToolUse
Runs before the agent uses a tool for Write, Edit, Bash, Agent, Task, SendMessage and TaskStop tool calls, running bash (3 commands). From modu-ai/moai-adk.
SessionStart
Runs when a session starts on startup and resume, executing check-dependencies.sh. From MartinOlivero/saas-builder.