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/kvdm-co-pilot/create-cmp/session-startgit clone --depth 1 https://github.com/kvdm-co-pilot/create-cmpGrade A, and why
SessionStart 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 2d 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
{
"SessionStart": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "printf '%s' '{\"hookSpecificOutput\":{\"hookEventName\":\"SessionStart\",\"additionalContext\":\"This app is governed by its delivery contract (CLAUDE.md): behavior starts in specs/, done is `node qa/verify.mjs` with a committed receipt, approvals gate signed artifacts. The cmp-inspector MCP tools (preview loop, live tier) are the expected eyes — if they are absent from this session, that is a fault to diagnose (plugin disabled, session predates plugin enablement, or stale plugin copy; see cmp-doctor), not a cue to fall back to screenshots or blind adb.\"}}'"
}
]
}
]
}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.
- 2d ago First seen · 13 lines scan A f9efa399d03a
SessionStart is a hook published in the GitHub repository kvdm-co-pilot/create-cmp (0 stars, last pushed 4d 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
UserPromptSubmit
Runs when you submit a prompt, before the agent sees it, running codegraph prompt-hook. From appium/appium.
Stop
Runs when the agent finishes a response, executing docs-aitells-gate.sh via bash. From jo-duchan/tapflow.
PostToolUse
Runs after a tool call finishes for Edit and Write tool calls, executing post-edit-analyze.sh. From K9i-0/ccpocket.
PreToolUse
Runs before the agent uses a tool for Bash tool calls, executing pr-merge-guard.sh, gh-language-gate.sh, adversarial-review-gate.sh and issue-parent-gate.sh via bash (4 commands). From jo-duchan/tapflow.
PostToolUse
Runs after a tool call finishes for Edit, Write and MultiEdit tool calls, executing docs-aitells-reminder.sh via bash. From jo-duchan/tapflow.
SessionStart
Runs when a session starts, executing session-start.sh. From yschimke/compose-ai-tools.