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/assafkip/kipi-system/stopgit clone --depth 1 https://github.com/assafkip/kipi-systemWrote 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/assafkip/kipi-system/stop)<a href="https://agentmods.dev/hooks/assafkip/kipi-system/stop"><img src="https://agentmods.dev/badge/hooks/assafkip/kipi-system/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 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.
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 PostToolUse — 142 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": "if test -f \"$CLAUDE_PROJECT_DIR/q-system/.q-system/scripts/code_claim_grounding_guard.py\"; then python3 \"$CLAUDE_PROJECT_DIR/q-system/.q-system/scripts/code_claim_grounding_guard.py\"; fi",
"timeout": 15
},
{
"type": "command",
"command": "if test -f \"$CLAUDE_PROJECT_DIR/q-system/.q-system/scripts/blocked-claim-evidence-lint.py\"; then python3 \"$CLAUDE_PROJECT_DIR/q-system/.q-system/scripts/blocked-claim-evidence-lint.py\"; fi",
"timeout": 15
},
{
"type": "command",
"command": "python3 \"$CLAUDE_PROJECT_DIR/q-system/.q-system/scripts/voice-stop-gate.py\"",
"timeout": 30
},
{
"type": "command",
"command": "python3 \"$CLAUDE_PROJECT_DIR/q-system/hooks/auto-commit.py\"",
"async": true
},
{
"type": "command",
"command": "bash \"$CLAUDE_PROJECT_DIR/q-system/hooks/stop-logger.sh\"",
"async": true
},
{
"type": "command",
"command": "test -f \"$CLAUDE_PROJECT_DIR/q-system/.q-system/scripts/memory_autocapture.py\" && python3 \"$CLAUDE_PROJECT_DIR/q-system/.q-system/scripts/memory_autocapture.py\" 2>/dev/null || true",
"async": true
},
{
"type": "command",
"command": "if test -f \"$CLAUDE_PROJECT_DIR/q-system/.q-system/scripts/kb-graph-guard.py\"; then python3 \"$CLAUDE_PROJECT_DIR/q-system/.q-system/scripts/kb-graph-guard.py\"; fi",
"timeout": 15
}
]
}
]
}What else settings.json configures
This page is one entry in a file that holds 7. 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.
- 3d ago First seen · 43 lines scan A 88654ba434a4
Stop is a hook published in the GitHub repository assafkip/kipi-system (108 stars, last pushed today), 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. It is 86% identical to PostToolUse, differing in 142 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 test-wrapper.sh. From modeled-information-format/mnemonic.
TaskCompleted
Runs when a task is marked completed, running npx hipocampus compact. From kevin-hs-sohn/hipocampus.
Stop
Runs when the agent finishes a response, executing stop.sh via bash. From goldenwo/universal-memory.
SessionStart
Runs when a session starts, executing session_start.js via node. From remember-md/remember.
UserPromptSubmit
Runs when you submit a prompt, before the agent sees it, executing user_prompt.js via node. From remember-md/remember.
SessionStart
Runs when a session starts on startup and resume, running an inline shell check (2 commands). From sublimecoder/aios.