gemini cli hooks

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

Browse within: codex-cli 36gemini-cli-extension 29gemini 24gemini-cli-extensions 11obsidian 11antigravity 10github-copilot 10hooks 9gemini-extension 8context-injection 7droid 7Workflow Automation 6agentic-engineering 6ai-memory 6

SessionStart

01

breferrari/obsidian-mind

Hook Claude Code

Runs when a session starts on startup, resume, clear and compact, executing session-start.ts via node with --disable-warning and --experimental-strip-types. From breferrari/obsidian-mind.

4.6k +11 8d ago A tokens not measured original MIT

UserPromptSubmit

02

breferrari/obsidian-mind

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing classify-message.ts via node with --disable-warning and --experimental-strip-types. From breferrari/obsidian-mind.

4.6k +11 8d ago A tokens not measured original MIT

PostToolUse

03

breferrari/obsidian-mind

Hook Claude Code

Runs after a tool call finishes for Write and Edit tool calls, executing validate-write.ts via node with --disable-warning and --experimental-strip-types. From breferrari/obsidian-mind.

4.6k +11 8d ago A tokens not measured original MIT

SessionStart

04

RAIT-09/obsidian-agent-client

Hook Claude Code

Runs when a session starts, executing gh-setup.sh. From RAIT-09/obsidian-agent-client.

2.4k yesterday A tokens not measured original Apache-2.0

PreToolUse

05

fcakyon/claude-codex-settings

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From fcakyon/claude-codex-settings.

1.1k 2d ago A tokens not measured original Apache-2.0

PostToolUse

06

fcakyon/claude-codex-settings

Hook Claude Code

Runs after a tool call finishes for Edit, MultiEdit and Write tool calls, running an inline shell check. From fcakyon/claude-codex-settings.

1.1k 2d ago A tokens not measured original Apache-2.0

SessionStart

07

fcakyon/claude-codex-settings

Hook

Runs when a session starts, executing session_start_chat_id.py. From fcakyon/claude-codex-settings.

1.1k 2d ago A tokens not measured original Apache-2.0

BeforeAgent

08

galdawave/pickle-rick-extension

Hook

Runs on the BeforeAgent event, executing dispatch.js via node (2 commands). From galdawave/pickle-rick-extension.

452 3mo ago A tokens not measured original Apache-2.0

BeforeModel

09

galdawave/pickle-rick-extension

Hook

Runs on the BeforeModel event, executing dispatch.js via node. From galdawave/pickle-rick-extension.

452 3mo ago A tokens not measured original Apache-2.0

AfterAgent

10

galdawave/pickle-rick-extension

Hook

Runs on the AfterAgent event, executing dispatch.js via node. From galdawave/pickle-rick-extension.

452 3mo ago A tokens not measured original Apache-2.0

AfterAgent

11

gemini-cli-extensions/ralph

Hook

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

332 7mo ago A tokens not measured original Apache-2.0

PostToolUse

12

niaka3dayo/agent-skills-vrc-udon

Hook Claude Code

Runs after a tool call finishes for Write and Edit tool calls, executing doc-sync-reminder.sh. From niaka3dayo/agent-skills-vrc-udon.

272 13d ago A tokens not measured original MIT

SessionStart

15

thoreinstein/gemini-obsidian

Hook

Runs when a session starts, executing session-init.js via node. From thoreinstein/gemini-obsidian.

102 1mo ago A tokens not measured original ISC

BeforeTool

16

thoreinstein/gemini-obsidian

Hook

Runs on the BeforeTool event for obsidian_create_note tool calls, executing validate-frontmatter.js via node. From thoreinstein/gemini-obsidian.

102 1mo ago A tokens not measured original ISC

AfterTool

17

thoreinstein/gemini-obsidian

Hook

Runs on the AfterTool event for obsidian_(create, append)_note, obsidian_update_frontmatter, obsidian_append_daily_log, obsidian_replace_section, obsidian_insert_at_heading and obsidian_replace_in_note tool calls, executing reindex-note.js via node. From thoreinstein/gemini-obsidian.

102 1mo ago A tokens not measured original ISC

BeforeTool

18

Jamkris/everything-gemini-code

Hook

Runs on the BeforeTool event for tool == "run_shell_command", tool == "run_shell_command", tool == "run_shell_command" && tool_input.command matches "^\\s*(npm (install, test, i, ci), pnpm (install, test, i), yarn (install, test, add, remove, upgrade), bun (install, test, i, add, remove), cargo build, make, docker…

87 3mo ago A tokens not measured original MIT

AfterTool

19

Jamkris/everything-gemini-code

Hook

Runs on the AfterTool event for tool == "run_shell_command", tool == "run_shell_command" && tool_input.command matches "^\\s*(npm run build, pnpm (run )?build, yarn (run )?build, bun (run )?build)\\b", tool == "edit_file" && tool_input.file_path matches "\\.(ts, tsx, js, jsx)$", tool == "edit_file" &&…

87 3mo ago A tokens not measured original MIT

SessionEnd

20

Jamkris/everything-gemini-code

Hook

Runs when a session ends, executing run.js via node (2 commands). From Jamkris/everything-gemini-code.

87 3mo ago A tokens not measured original MIT

SessionStart

21

n24q02m/better-code-review-graph

Hook

Runs when a session starts, running an inline shell check. From n24q02m/better-code-review-graph.

66 yesterday A tokens not measured original Apache-2.0

UserPromptSubmit

22

n24q02m/better-code-review-graph

Hook

Runs when you submit a prompt, before the agent sees it, executing stale-graph-check.py via python. From n24q02m/better-code-review-graph.

66 yesterday A tokens not measured original Apache-2.0

PostToolUse

23

n24q02m/better-code-review-graph

Hook

Runs after a tool call finishes for Write, Edit, Bash and Bash tool calls, executing branch-sync-check.py via python with --from (2 commands). From n24q02m/better-code-review-graph.

66 yesterday A tokens not measured original Apache-2.0

PostToolUse

24

sageox/ox

Hook Claude Code

Runs after a tool call finishes, running an inline shell check. From sageox/ox.

50 3d ago A tokens not measured original MIT