cli hooks

876 tagged cli, measured the same way as everything else here.

Browse within: bun 35Multi-Agent 29audit 27codex-cli 26terminal 26hooks 22code-quality 21markdown 21statusline 21macos 20agent-memory 19coding-assistant 19agent-orchestration 18context-engineering 18

UserPromptSubmit

289

YuriNachos/claude-scope

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing add-context.sh. From YuriNachos/claude-scope.

8 27d ago A tokens not measured copy · 50% MIT

SessionStart

290

YuriNachos/claude-scope

Hook Claude Code

Runs when a session starts on startup and resume, executing load-context.sh. From YuriNachos/claude-scope.

8 27d ago A tokens not measured original MIT

SessionStart

291

deevus/tea-skills

Hook

Runs when a session starts on startup, resume, clear and compact, executing run-hook.cmd. From deevus/tea-skills.

8 3mo ago A tokens not measured copy · 100% MIT

SessionStart

292

dinglebear-ai/yarr

Hook

Runs when a session starts, executing setup.sh. From dinglebear-ai/yarr.

7 8d ago A tokens not measured AGPL-3.0

ConfigChange

293

dinglebear-ai/yarr

Hook

Runs on the ConfigChange event for user_settings tool calls, executing setup.sh. From dinglebear-ai/yarr.

7 8d ago A tokens not measured AGPL-3.0

PreToolUse

294

piiiico/proof-of-commitment

Hook

Runs before the agent uses a tool for Bash tool calls, running poc-hook-handler. From piiiico/proof-of-commitment.

7 2mo ago A tokens not measured original MIT

PreCompact

295

steve-magne/hookstack

Hook Claude Code

Runs before the context is compacted, executing pre-compact-backup.mjs via node. From steve-magne/hookstack.

7 9d ago A tokens not measured original MIT

PermissionRequest

296

steve-magne/hookstack

Hook Claude Code

Runs when the agent asks permission for an action for ExitPlanMode tool calls, executing permission-auto-allow.mjs and auto-allow-exit-plan.mjs via node (2 commands). From steve-magne/hookstack.

7 9d ago A tokens not measured original MIT

MessageDisplay

297

steve-magne/hookstack

Hook Claude Code

Runs when a message is displayed, executing message-display-redact-secrets.mjs and message-display-redact-pii.mjs via node (2 commands). From steve-magne/hookstack.

7 9d ago A tokens not measured original MIT

CwdChanged

298

taniwhaai/arai

Hook Claude Code

Runs on the CwdChanged event, running arai guardrails --match-stdin. From taniwhaai/arai.

7 20d ago A tokens not measured original Apache-2.0

FileChanged

299

taniwhaai/arai

Hook Claude Code

Runs on the FileChanged event for CLAUDE.md, .cursorrules, .windsurfrules and copilot-instructions.md tool calls, running arai guardrails --match-stdin. From taniwhaai/arai.

7 20d ago A tokens not measured original Apache-2.0

PostToolUse

300

taniwhaai/arai

Hook Claude Code

Runs after a tool call finishes, running arai guardrails --match-stdin. From taniwhaai/arai.

7 20d ago A tokens not measured copy · 88% Apache-2.0

PreToolUse

301

mickelsamuel/migrationpilot

Hook

Runs before the agent uses a tool for Write, Edit, MultiEdit and Bash tool calls, executing hook.js via node. From mickelsamuel/migrationpilot.

7 20d ago A tokens not measured original MIT

SessionStart

302

denfry/codebase-index

Hook

Runs when a session starts, executing bootstrap.sh. From denfry/codebase-index.

7 1mo ago A tokens not measured original MIT

SessionStart

303

ouranos-labs/pseolint

Hook Claude Code

Runs when a session starts on startup, resume, clear and compact, executing ponytail-activate.js. From ouranos-labs/pseolint.

6 3d ago A tokens not measured original MIT

UserPromptSubmit

304

ouranos-labs/pseolint

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing ponytail-mode-tracker.js. From ouranos-labs/pseolint.

6 3d ago A tokens not measured original MIT

PostToolUse

305

netresearch/cli-tools-skill

Hook

Runs after a tool call finishes for Bash tool calls, executing detect_missing_tool.py via python3. From netresearch/cli-tools-skill.

6 4d ago A tokens not measured

PreCompact

306

ccevans/bobbycode

Hook Claude Code

Runs before the context is compacted, executing precompact.sh. From ccevans/bobbycode.

6 8d ago A tokens not measured copy · 86% MIT

Stop

307

ccevans/bobbycode

Hook Claude Code

Runs when the agent finishes a response, executing stop.sh. From ccevans/bobbycode.

6 8d ago A tokens not measured original MIT

PreToolUse

308

randomittin/heimdall

Hook

Runs before the agent uses a tool for Bash, Read, Grep, Glob, Agent, Write, Edit, Edit, MultiEdit and Write tool calls, executing heimdall-stub-patterns.sh with --show-toplevel, ---, --task, --spec and --arg (5 commands). From randomittin/heimdall.

5 12d ago A tokens not measured original MIT

PostToolUse

309

randomittin/heimdall

Hook

Runs after a tool call finishes for Bash, Write, Edit, MultiEdit, NotebookEdit, Write and Edit tool calls, running an inline shell check (3 commands). From randomittin/heimdall.

5 12d ago A tokens not measured original MIT

SessionStart

310

randomittin/heimdall

Hook

Runs when a session starts, executing build-tracker.sh with --show-toplevel, --apply, --advise, --repo and --session (8 commands). From randomittin/heimdall.

5 12d ago A tokens not measured original MIT

Stop

311

Laotree/logs-locally-plugin

Hook

Runs when the agent finishes a response, running llp import. From Laotree/logs-locally-plugin.

5 2mo ago A tokens not measured original MIT

Stop

312

Z-M-Huang/cc-proficiency

Hook

Runs when the agent finishes a response, executing session-end.js via node. From Z-M-Huang/cc-proficiency.

5 4mo ago A tokens not measured original Apache-2.0