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

PreToolUse

337

prototypdigital/bluetemberg

Hook Claude Code

Runs before the agent uses a tool for EnterWorktree tool calls, running an inline shell check. From prototypdigital/bluetemberg.

5 5d ago A tokens not measured original MIT

PostToolUse

338

prototypdigital/bluetemberg

Hook Claude Code

Runs after a tool call finishes for Bash and EnterWorktree tool calls, executing spawn-pr-review.sh with --show-toplevel, --prefix and --silent (2 commands). From prototypdigital/bluetemberg.

5 5d ago A tokens not measured original MIT

SessionEnd

339

prototypdigital/bluetemberg

Hook Claude Code

Runs when a session ends, executing spawn-session-audit.sh. From prototypdigital/bluetemberg.

5 5d ago A tokens not measured original MIT

PreToolUse

341

joshsmithxrm/power-platform-developer-suite

Hook Claude Code

Runs before the agent uses a tool for Edit, Write, Edit, Write, Edit, Write, Bash(rm:*), Bash(rm -rf:*), Bash(rm -fr:*), Bash(Remove-Item:*), Bash(del:*), Bash(rmdir:*), Bash, Bash, Edit, Write, Bash(git worktree remove:*), Write and Edit tool calls, executing protect-main-branch.py, snk-protect.py…

5 9d ago C tokens not measured copy · 86% MIT

PostToolUse

342

joshsmithxrm/power-platform-developer-suite

Hook Claude Code

Runs after a tool call finishes for Bash(git worktree remove:*) tool calls, executing worktree-safety.py via python. From joshsmithxrm/power-platform-developer-suite.

5 9d ago A tokens not measured original MIT

Stop

343

joshsmithxrm/power-platform-developer-suite

Hook Claude Code

Runs when the agent finishes a response, executing shakedown-readonly-guard.py via python. From joshsmithxrm/power-platform-developer-suite.

5 9d ago A tokens not measured original MIT

SessionStart

344

ArchCodexOrg/archcodex

Hook Claude Code

Runs when a session starts, executing archcodex-session-start.sh. From ArchCodexOrg/archcodex.

5 3mo ago A tokens not measured original MIT

PreToolUse

345

ArchCodexOrg/archcodex

Hook Claude Code

Runs before the agent uses a tool for Write, Write, Edit, Read and EnterPlanMode tool calls, executing archcodex-pre-write.sh, archcodex-reminder.sh, archcodex-pre-read.sh and archcodex-plan-mode.sh (4 commands). From ArchCodexOrg/archcodex.

5 3mo ago A tokens not measured original MIT

PostToolUse

346

ArchCodexOrg/archcodex

Hook Claude Code

Runs after a tool call finishes for Write and Edit tool calls, executing post-write-archcodex.sh. From ArchCodexOrg/archcodex.

5 3mo ago A tokens not measured original MIT

PreToolUse

347

jaysonmulwa/flanner

Hook Claude Code

Runs before the agent uses a tool for Write, Edit and MultiEdit tool calls, running flanner hook guard-write. From jaysonmulwa/flanner.

5 3d ago A tokens not measured original MIT

UserPromptSubmit

348

rhi-zone/normalize

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing inject-orchestrator-rules.sh, inject-style-rules.sh, post-history.sh and plan-envelope-antibody.sh (4 commands). From rhi-zone/normalize.

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

PreToolUse

349

rhi-zone/normalize

Hook Claude Code

Runs before the agent uses a tool for Agent, SendMessage, Bash, Bash, Agent, Workflow and Agent tool calls, executing inject-subagent-identity-agent.sh, block-blocking-bash.sh, block-runaway-find.sh, enforce-cost-tier.sh, block-mainsession-exploration.sh and require-explicit-agent-type.sh (6 commands). From…

5 4d ago A tokens not measured copy · 41% Apache-2.0

SubagentStart

350

rhi-zone/normalize

Hook Claude Code

Runs when a subagent starts, executing subagent-context-start.sh. From rhi-zone/normalize.

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

UserPromptSubmit

351

wislertt/bakefile

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing skill-activation-prompt.sh. From wislertt/bakefile.

5 5d ago A tokens not measured copy · 55% Apache-2.0

PostToolUse

352

wislertt/bakefile

Hook Claude Code

Runs after a tool call finishes for Edit, MultiEdit and Write tool calls, executing post-tool-use-tracker.sh. From wislertt/bakefile.

5 5d ago A tokens not measured copy · 47% Apache-2.0

SessionStart

353

youdie006/sessionwiki

Hook

Part of sessionwiki

Runs when a session starts on startup, running sessionwiki hook session-start. From youdie006/sessionwiki.

5 +1 13d ago A tokens not measured original MIT

SessionStart

354

hbkdad/arc

Hook Claude Code

Runs when a session starts, running an inline shell check. From hbkdad/arc.

4 1mo ago A tokens not measured original MIT

Stop

355

marcoguillermaz/Tierward

Hook Claude Code

Part of tierward

Runs when the agent finishes a response, running an inline shell check. From marcoguillermaz/Tierward.

4 7d ago A tokens not measured original MIT

SessionStart

356

vikxlp/rocky

Hook

Part of rocky

Runs when a session starts, executing session-start.sh. From vikxlp/rocky.

4 4mo ago A tokens not measured

TaskCompleted

357

vikxlp/rocky

Hook

Part of rocky

Runs when a task is marked completed, executing rocky-buddy.sh. From vikxlp/rocky.

4 4mo ago A tokens not measured

PostToolUse

358

vikxlp/rocky

Hook

Part of rocky

Runs after a tool call finishes for ExitPlanMode tool calls, executing rocky-buddy.sh. From vikxlp/rocky.

4 4mo ago A tokens not measured

PreToolUse

359

buildinternet/releases-cli

Hook Claude Code

Runs before the agent uses a tool for Edit, Write, MultiEdit, NotebookEdit and Bash tool calls, executing protect-env.sh (2 commands). From buildinternet/releases-cli.

4 3d ago A tokens not measured copy · 86% MIT

SessionStart

360

dcotelo/cprof

Hook

Part of cprof

Runs when a session starts, executing session-start.sh. From dcotelo/cprof.

4 5d ago A tokens not measured copy · 63% MIT

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: