cli hooks

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

Browse within: bun 35rust 35Multi-Agent 29audit 27codex-cli 26terminal 26typescript 23hooks 22code-quality 21markdown 21statusline 21golang 20macos 20agent-memory 19

PostToolUse

97

alivecontext/alive

Hook

Runs after a tool call finishes for Write and Edit tool calls, executing alive-post-write.sh and alive-inbox-check.sh via bash (2 commands). From alivecontext/alive.

127 6d ago A tokens not measured original MIT

PreCompact

98

alivecontext/alive

Hook

Runs before the context is compacted, executing alive-pre-compact.sh via bash. From alivecontext/alive.

127 6d ago A tokens not measured original MIT

SessionStart

99

mendixlabs/mxcli

Hook Claude Code

Runs when a session starts, executing session-start.sh. From mendixlabs/mxcli.

115 2d ago A tokens not measured copy · 52% Apache-2.0

PostToolUse

100

mendixlabs/mxcli

Hook Claude Code

Runs after a tool call finishes for Bash tool calls, executing post-push.sh. From mendixlabs/mxcli.

115 2d ago A tokens not measured original Apache-2.0

UserPromptSubmit

101

Monet-AI-Editor/Monet

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing Paper.js via bash. From Monet-AI-Editor/Monet.

114 1mo ago A tokens not measured original MIT

PostToolUse

102

gmickel/gno

Hook Claude Code

Runs after a tool call finishes for Edit and Write tool calls, running bun run lint. From gmickel/gno.

109 2d ago A tokens not measured copy · 100% MIT

SessionStart

103

tombelieber/claude-view

Hook

Runs when a session starts on startup, resume, clear and compact, executing start-server.sh. From tombelieber/claude-view.

104 13d ago A tokens not measured original MIT

UserPromptSubmit

104

aspenkit/aspens

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing skill-activation-prompt.sh, save-tokens-prompt-guard.sh and graph-context-prompt.sh (3 commands). From aspenkit/aspens.

96 17d ago A tokens not measured copy · 53% MIT

PostToolUse

105

aspenkit/aspens

Hook Claude Code

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

96 17d ago A tokens not measured copy · 47% MIT

PreCompact

106

aspenkit/aspens

Hook Claude Code

Runs before the context is compacted, executing save-tokens-precompact.sh. From aspenkit/aspens.

96 17d ago A tokens not measured copy · 45% MIT

Stop

107

FlorianBruniaux/ccboard

Hook Claude Code

Runs when the agent finishes a response, executing session-stop.sh via bash. From FlorianBruniaux/ccboard.

94 22d ago A tokens not measured original MIT

PreToolUse

108

FlorianBruniaux/ccboard

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing pre-commit-format.sh via bash. From FlorianBruniaux/ccboard.

94 22d ago A tokens not measured copy · 44% MIT

Notification

109

FlorianBruniaux/ccboard

Hook Claude Code

Runs when the agent sends a notification, executing notification.sh via bash. From FlorianBruniaux/ccboard.

94 22d ago A tokens not measured copy · 41% MIT

PostToolUse

110

Stupidoodle/swissdevjobs-cli

Hook Claude Code

Runs after a tool call finishes for Edit, Write and MultiEdit tool calls, executing py-check.sh. From Stupidoodle/swissdevjobs-cli.

93 4d ago A tokens not measured original MIT

PreToolUse

111

optave/ops-codegraph-tool

Hook Claude Code

Runs before the agent uses a tool for Bash, Read and Grep tool calls, executing snapshot-pre-bash.sh, check-readme.sh, guard-git.sh, guard-pr-body.sh, commitlint-local.sh, pre-commit.sh, lint-staged.sh and enrich-context.sh with --show-toplevel (9 commands). From optave/ops-codegraph-tool.

92 3d ago A tokens not measured original Apache-2.0

PostToolUse

112

optave/ops-codegraph-tool

Hook Claude Code

Runs after a tool call finishes for Edit, Write and Bash tool calls, executing update-graph.sh, track-edits.sh, track-bash-writes.sh, track-moves.sh and post-git-ops.sh with --show-toplevel (5 commands). From optave/ops-codegraph-tool.

92 3d ago A tokens not measured copy · 94% Apache-2.0

UserPromptSubmit

113

uwuclxdy/clauth

Hook

Runs when you submit a prompt, before the agent sees it, running clauth hook-profile-changed-note. From uwuclxdy/clauth.

84 3d ago A tokens not measured original MIT

SessionStart

114

uwuclxdy/clauth

Hook

Runs when a session starts, running clauth hook-profile-changed-note (2 commands). From uwuclxdy/clauth.

84 3d ago A tokens not measured original MIT

PostToolUse

115

uwuclxdy/clauth

Hook

Runs after a tool call finishes for mcp__plugin_clauth_clauth__delegate$ tool calls, running clauth mcp-await-job (2 commands). From uwuclxdy/clauth.

84 3d ago A tokens not measured original MIT

SessionStart

116

toroleapinc/claude-brain

Hook

Runs when a session starts on startup and resume, executing pull.sh with --quiet and --auto-merge. From toroleapinc/claude-brain.

84 2mo ago A tokens not measured original MIT

SessionEnd

117

toroleapinc/claude-brain

Hook

Runs when a session ends, executing push.sh with --quiet. From toroleapinc/claude-brain.

84 2mo ago A tokens not measured original MIT

PreCompact

118

toroleapinc/claude-brain

Hook

Runs before the context is compacted for auto tool calls, executing export.sh with --memory-only and --quiet. From toroleapinc/claude-brain.

84 2mo ago A tokens not measured original MIT

SessionStart

119

NVIDIA/elements

Hook Claude Code

Runs when a session starts on startup, executing session-start.sh with --show-toplevel. From NVIDIA/elements.

83 2d ago A tokens not measured original Apache-2.0

PreToolUse

120

NVIDIA/elements

Hook Claude Code

Runs before the agent uses a tool for Edit, Write and Bash tool calls, executing pre-tool-use-edit-write.sh and pre-tool-use-bash.sh with --show-toplevel (2 commands). From NVIDIA/elements.

83 2d ago A tokens not measured original Apache-2.0