gemini cli extension hooks

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

Browse within: gemini-cli 29gemini 23cursor-plugin 9gemini-extension 8agent-memory 7alma 7Workflow Automation 6ai-security 6antigravity 6data-protection 6gemini-cli-skills 6agentic-workflow 5

PostToolUse

01

Shopify/Shopify-AI-Toolkit

Hook

Runs after a tool call finishes for Skill and Read tool calls, executing track-telemetry.sh via bash with --hook-source. From Shopify/Shopify-AI-Toolkit.

523 4d ago A tokens not measured original MIT

UserPromptSubmit

02

Shopify/Shopify-AI-Toolkit

Hook

Runs when you submit a prompt, before the agent sees it, executing track-telemetry.sh via bash with --hook-source. From Shopify/Shopify-AI-Toolkit.

523 4d ago A tokens not measured original MIT

SessionStart

03

nowledge-co/community

Hook

Runs when a session starts on startup, resume, clear and compact, executing nmem-hook-read.sh with --title and --importance (2 commands). From nowledge-co/community.

163 3d ago A tokens not measured

SubagentStart

04

nowledge-co/community

Hook

Runs when a subagent starts, executing nmem-hook-subagent.py. From nowledge-co/community.

163 3d ago A tokens not measured

UserPromptSubmit

05

nowledge-co/community

Hook

Runs when you submit a prompt, before the agent sees it, executing nmem.cmd with --json, --version and --outcome. From nowledge-co/community.

163 3d ago A tokens not measured

PostToolUse

06

Toloka/tendem-mcp

Hook

Runs after a tool call finishes for mcp__.*tendem tool calls, executing tendem-post.sh. From Toloka/tendem-mcp.

102 12d ago A tokens not measured original MIT

BeforeTool

07

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

08

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

09

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

SessionEnd

10

PostHog/ai-plugin

Hook

Runs when a session ends, executing session-end-llma.py via python3. From PostHog/ai-plugin.

79 2d ago A tokens not measured

PreToolUse

11

PostHog/ai-plugin

Hook

Runs before the agent uses a tool for __exec$ tool calls, executing gate-exec-write.sh. From PostHog/ai-plugin.

79 2d ago A tokens not measured

PreToolUse

12

skarn-security/agent-guard

Hook

Runs before the agent uses a tool for Bash, WebFetch, WebSearch, Write, Edit, MultiEdit, NotebookEdit and mcp__.* tool calls, running skarn guard --guard-mode audit. From skarn-security/agent-guard.

31 5d ago A tokens not measured original MIT

PermissionRequest

13

skarn-security/agent-guard

Hook

Runs when the agent asks permission for an action for Bash, WebFetch, WebSearch, Write, Edit, MultiEdit, NotebookEdit and mcp__.* tool calls, running skarn guard --agent claude --guard-mode audit. From skarn-security/agent-guard.

31 5d ago A tokens not measured original MIT

UserPromptSubmit

14

skarn-security/agent-guard

Hook

Runs when you submit a prompt, before the agent sees it, running skarn guard --guard-mode audit. From skarn-security/agent-guard.

31 5d ago A tokens not measured original MIT

SessionStart

15

thoreinstein/gemini-beads

Hook

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

26 6mo ago A tokens not measured original MIT

PreCompress

16

thoreinstein/gemini-beads

Hook

Runs on the PreCompress event, running bd prime. From thoreinstein/gemini-beads.

26 6mo ago A tokens not measured original MIT

SessionStart

17

ppak10/RocketSmith

Hook

Runs when a session starts on startup, clear and compact, executing run-hook.cmd. From ppak10/RocketSmith.

21 4mo ago A tokens not measured copy · 86% MIT

SessionEnd

18

ppak10/RocketSmith

Hook

Runs when a session ends for startup, clear and compact tool calls, executing run-hook.cmd. From ppak10/RocketSmith.

21 4mo ago A tokens not measured original MIT

PostToolUse

19

hyhmrright/logic-lens

Hook Claude Code

Runs after a tool call finishes for Edit, Write and MultiEdit tool calls, executing validate-on-edit.sh via bash. From hyhmrright/logic-lens.

21 3d ago A tokens not measured original MIT

SessionStart

20

hyhmrright/logic-lens

Hook

Runs when a session starts on startup, clear and compact, running an inline shell check. From hyhmrright/logic-lens.

21 3d ago A tokens not measured copy · 66% MIT

SessionStart

21

richardcb/oh-my-gemini

Hook

Runs when a session starts on startup, executing session-start.js via node. From richardcb/oh-my-gemini.

16 5mo ago A tokens not measured original MIT

BeforeAgent

22

richardcb/oh-my-gemini

Hook

Runs on the BeforeAgent event, executing before-agent.js via node. From richardcb/oh-my-gemini.

16 5mo ago A tokens not measured original MIT

AfterAgent

23

richardcb/oh-my-gemini

Hook

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

16 5mo ago A tokens not measured original MIT