gemini-cli hooks

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

Browse within: codex-cli 40gemini-cli-extension 29gemini 28cursor 22obsidian 16ai-coding 11cli 10antigravity 9claude-code-plugin 9droid 9gemini-cli-extensions 9github-copilot 9hooks 9knowledge-management 9

SessionStart

01

josstei/maestro-orchestrate

Hook Claude Code

One of 4 in hooks.json

Runs when a session starts, executing hook-runner.js via node. From josstei/maestro-orchestrate.

not rated 479 +14 5d ago A tokens not measured original Apache-2.0

BeforeAgent

02

galdawave/pickle-rick-extension

Hook Claude Code

One of 3 in hooks.json

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

not rated 453 +1 5mo ago A tokens not measured original Apache-2.0

AfterAgent

03

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

AfterTool

04

thoreinstein/gemini-obsidian

Hook Claude Code

One of 3 in hooks.json

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.

not rated 102 yesterday A tokens not measured original ISC

BeforeTool

05

Jamkris/everything-gemini-code

Hook Claude Code

One of 6 in hooks.json

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…

not rated 89 +1 4mo ago A tokens not measured original MIT

SessionStart

06

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

Notification

07

thoreinstein/gemini-notifier

Hook Claude Code

Runs when the agent sends a notification, executing notify.js via node. From thoreinstein/gemini-notifier.

not rated 25 4mo ago A tokens not measured

AfterAgent

08

richardcb/oh-my-gemini

Hook Claude Code

One of 6 in hooks.json

Runs on the AfterAgent event, executing phase-gate.js and ralph-retry.js via node (2 commands). From richardcb/oh-my-gemini.

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

BeforeTool

09

thoreinstein/beads-workflow

Hook Claude Code

One of 3 in hooks.json

Runs on the BeforeTool event for write_file and replace tool calls, executing enforce-obsidian-writes.sh. From thoreinstein/beads-workflow.

not rated 11 +1 6mo ago A tokens not measured

PostToolUse

10

ai-plugin-marketplace/template

Hook Claude Code

Runs after a tool call finishes for write_file tool calls, running an inline shell check. From ai-plugin-marketplace/template.

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

BeforeTool

11

itallstartedwithaidea/google-ads-gemini-extension

Hook Claude Code

One of 2 in hooks.json

Runs on the BeforeTool event for run_gaql tool calls, executing validate-gaql.js via node. From itallstartedwithaidea/google-ads-gemini-extension.

not rated 9 3mo ago A tokens not measured original MIT

SessionStart

12

yideng-xl/gemini-cli-hud

Hook Claude Code

One of 4 in hooks.json

Runs when a session starts, executing hook.js via node. From yideng-xl/gemini-cli-hud.

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

SessionStart

13

benediktkraus/dreviho

Hook Claude Code

One of 6 in hooks.json

Runs when a session starts, executing bootstrap-runtime.mjs via node. From benediktkraus/dreviho.

not rated 6 4mo ago A tokens not measured

PreCompact

14

fmind/dotfiles

Hook Claude Code

One of 5 in hooks.json

Runs before the context is compacted, running dot agent hook session grok. From fmind/dotfiles.

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

PreToolUse

15

ThirdKeyAI/symbi-gemini-cli

Hook Claude Code

One of 2 in hooks.json

Runs before the agent uses a tool for write_file, replace, run_shell_command and symbi__* tool calls, executing policy-guard.sh and policy-log.sh (2 commands). From ThirdKeyAI/symbi-gemini-cli.

not rated 3 7mo ago A tokens not measured original Apache-2.0

AfterAgent

16

djinn-soul/gemini-mem

Hook Claude Code

One of 3 in hooks.json

Runs on the AfterAgent event, executing hook-runner.cjs via node. From djinn-soul/gemini-mem.

not rated 3 6mo ago A tokens not measured original MIT

BeforeTool

17

kenryu42/gemini-safety-net

Hook Claude Code

Runs on the BeforeTool event, running npx -y cc-safety-net hook --gemini-cli. From kenryu42/gemini-safety-net.

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

PostToolUse

18

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

Notification

19

wangke19/gemini-ai-helpers

Hook Claude Code

One of 2 in hooks.json

Runs when the agent sends a notification, running an inline shell check. From wangke19/gemini-ai-helpers.

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

PreToolUse

20

alex-lamport/kaora-memory

Hook Claude Code

One of 3 in settings.json

Runs before the agent uses a tool for Write, Edit and MultiEdit tool calls, executing protect-credentials.sh. From alex-lamport/kaora-memory.

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

SessionStart

21

King-A23/agent-reflectmem

Hook Claude Code

One of 4 in hooks.json

Runs when a session starts, executing reflectmem_hook.js via node. From King-A23/agent-reflectmem.

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

PreToolUse

22

Ezee234/symbi-gemini-cli

Hook Claude Code

One of 2 in hooks.json

Runs before the agent uses a tool for write_file, replace, run_shell_command and symbi__* tool calls, executing policy-guard.sh and policy-log.sh (2 commands). From Ezee234/symbi-gemini-cli.

not rated 1 3d ago A tokens not measured copy · 100% Apache-2.0

SessionStart

23

priyanshuchawda/tracepilot-gemini-cli

Hook Claude Code

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

not rated 1 4mo ago A tokens not measured copy · 100% Apache-2.0

SessionStart

24

kongyo2/gemini-time-injector

Hook Claude Code

One of 6 in hooks.json

Runs when a session starts, executing inject-time.js via node. From kongyo2/gemini-time-injector.

not rated 1 5mo 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: