cli hooks

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

Browse within: claude-code-plugin 123ai-coding 48agents 46LLM 45cursor 43ai-tools 39agentic-ai 35bun 33Multi-Agent 29hooks 29codex-cli 28audit 27statusline 27terminal 26

SessionStart

01

google-gemini/gemini-cli

Hook Claude Code ✓ vendor

Runs when a session starts, executing on-start.js via node. From google-gemini/gemini-cli.

not rated 107k +124 today A ✓ AI review tokens not measured original Apache-2.0

SessionStart

02

code-yeongyu/lazycodex

Hook Claude Code

Runs when a session starts, executing cli.js via node. From code-yeongyu/lazycodex.

not rated 3.8k +31 changed 2d ago A tokens not measured original MIT

SessionStart

03

fuxicodex/Fuxi

Hook Claude Code

Runs when a session starts, executing session-start.sh via bash. From fuxicodex/Fuxi.

not rated 3.3k +10 changed 16d ago A tokens not measured

SessionStart

04

SynkraAI/aiox-core

Hook Claude Code

One of 5 in hooks.json

Runs when a session starts, executing session-start.js via node. From SynkraAI/aiox-core.

not rated 3.1k +3 yesterday A tokens not measured

AfterAgent

05

gemini-cli-extensions/ralph

Hook Claude Code

Runs on the AfterAgent event, executing stop-hook.sh. From gemini-cli-extensions/ralph.

not rated 329 +1 8mo ago A tokens not measured original Apache-2.0

UserPromptSubmit

06

mtarcure/claude-vibe-squad

Hook Claude Code

One of 2 in settings.json

Runs when you submit a prompt, before the agent sees it, executing context-tripwire.sh via bash. From mtarcure/claude-vibe-squad.

not rated 165 25d ago A tokens not measured original MIT

SessionStart

07

superplan-md/superplan-plugin

Hook Claude Code

Runs when a session starts on startup, clear and compact, executing run-hook.cmd. From superplan-md/superplan-plugin.

not rated 75 5mo ago A tokens not measured original Apache-2.0

SubagentStop

08

jubscodes/get-shit-pretty

Hook Claude Code

One of 3 in hooks.json

Runs when a subagent finishes for gsp-project-designer, gsp-project-researcher, gsp-project-critic, gsp-brand-creative-director, gsp-brand-engineer, gsp-project-builder, gsp-project-reviewer, gsp-accessibility-auditor, gsp-brand-auditor, gsp-brand-researcher, gsp-brand-strategist, gsp-polisher and gsp-brand-coherence…

not rated 55 4mo ago A tokens not measured original MIT

PostToolUse

09

edochi/mdvs

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Edit, Write, MultiEdit and Bash tool calls, running mdvs hook handle --platform claude-code --kind validate (2 commands). From edochi/mdvs.

not rated 27 11d ago A tokens not measured original MIT

SessionStart

10

thoreinstein/gemini-beads

Hook Claude Code

One of 2 in hooks.json

Runs when a session starts, running bd prime. From thoreinstein/gemini-beads.

not rated 26 7mo ago A tokens not measured original MIT

PostToolUse

11

sampleXbro/agentsmesh

Hook Claude Code

One of 5 in hooks.json

Runs after a tool call finishes for Edit and Write tool calls, running an inline shell check. From sampleXbro/agentsmesh.

not rated 25 changed 1mo ago A tokens not measured original MIT

Stop

12

seite-sh/seite

Hook Claude Code

One of 2 in settings.json

Runs when the agent finishes a response, running seite check --hook claude. From seite-sh/seite.

not rated 25 +3 6d ago A tokens not measured original MIT

PostToolUse

13

onurpolat05/ALBA

Hook Claude Code

One of 10 in settings.json

Runs after a tool call finishes for Bash tool calls, executing error-logger.sh via bash. From onurpolat05/ALBA.

not rated 23 +1 2mo ago A tokens not measured original MIT

PreToolUse

14

buildinternet/uploads

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From buildinternet/uploads.

not rated 18 today A tokens not measured original Apache-2.0

SessionStart

16

opencue/cuecards

Hook Claude Code

One of 2 in settings.json

Runs when a session starts, executing check-codex-freshness.sh via bash. From opencue/cuecards.

not rated 6 yesterday A tokens not measured copy · 42% MIT

SessionEnd

17

iLomer/Metho_agentic

Hook Claude Code

One of 4 in settings.json

Runs when a session ends, running echo '\n⚠️ Session ending — update your agent MEMORY.md bef. From iLomer/Metho_agentic.

not rated 5 8d ago A tokens not measured original MIT

AfterAgent

18

UltimaPhoenix/dev-coach

Hook Claude Code

One of 2 in hooks.json

Runs on the AfterAgent event, executing launch.mjs via node. From UltimaPhoenix/dev-coach.

not rated 5 2d ago A tokens not measured AGPL-3.0

PreToolUse

19

dinhanhthi/coding-friend

Hook Claude Code

One of 8 in hooks.json

Runs before the agent uses a tool for Read, Write, Edit, Glob, Grep and apply_patch tool calls, executing privacy-block.sh and scout-block.cjs (2 commands). From dinhanhthi/coding-friend.

not rated 4 2d ago A tokens not measured original MIT

SessionStart

20

assimovt/trce-cli

Hook Claude Code

One of 10 in hooks.json

Runs when a session starts, running trce spool --harness codex-cli --event SessionStart. From assimovt/trce-cli.

not rated 3 1mo ago A tokens not measured original MIT archived

UserPromptSubmit

21

getappz/agentflare

Hook Claude Code

One of 6 in hooks.json

Runs when you submit a prompt, before the agent sees it, running agentflare hook prompt-submit --agent codex (2 commands). From getappz/agentflare.

not rated 2 changed 17d ago A tokens not measured original Apache-2.0

PostToolUse

22

ronmkr/PromptBook

Hook Claude Code

One of 4 in hooks.json

Runs after a tool call finishes for Edit, Write, MultiEdit, NotebookEdit and Bash tool calls, executing sg-python.sh via bash (6 commands). From ronmkr/PromptBook.

not rated 2 4mo ago A tokens not measured original Apache-2.0

PreToolUse

23

fusengine/codex

Hook Claude Code

One of 7 in hooks.json

Runs before the agent uses a tool for Bash, apply_patch, spawn_agent and multi_agent_v1.spawn_agent tool calls, executing bin.mjs via bun (3 commands). From fusengine/codex.

not rated 2 +1 3d ago A tokens not measured

PreToolUse

24

LucasSantana-Dev/sharekit

Hook Claude Code

One of 10 in settings.json

Runs before the agent uses a tool for Bash, Write, Edit and NotebookEdit tool calls, executing check-dangerous-patterns.sh, check-pr-automation-halt.sh, check-stuck-loop.sh, check-idempotency.sh, check-session-lock.sh and policy-gate.sh via bash (7 commands). From LucasSantana-Dev/sharekit.

not rated 1 3d ago A tokens not measured original 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: