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

PostToolUse

97

ronmkr/PromptBook

Hook

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.

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

Stop

98

ronmkr/PromptBook

Hook

Runs when the agent finishes a response, executing sg-python.sh via bash. From ronmkr/PromptBook.

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

PreToolUse

100

spyrae/truthguard

Hook

Part of truthguard

Runs before the agent uses a tool for Bash, Write and Edit tool calls, executing block-dangerous.sh, pre-commit-tests.sh and pre-file-change.sh (3 commands). From spyrae/truthguard.

2 5mo ago A tokens not measured

PostToolUse

101

spyrae/truthguard

Hook

Part of truthguard

Runs after a tool call finishes for Bash, Write and Edit tool calls, executing check-exit-code.sh, post-commit-remind.sh and check-file-change.sh (3 commands). From spyrae/truthguard.

2 5mo ago A tokens not measured

SessionStart

102

ph3on1x/wisci

Hook

Part of wisci

Runs when a session starts on startup, resume, clear and compact, executing wisci.py via python3 (2 commands). From ph3on1x/wisci.

1 1mo ago A tokens not measured original MIT

PreCompact

103

ph3on1x/wisci

Hook

Part of wisci

Runs before the context is compacted for auto and manual tool calls, running echo 'Preserve verbatim in the summary: file paths, decision. From ph3on1x/wisci.

1 1mo ago A tokens not measured original MIT

BeforeAgent

104

ilyautov/cordon

Hook

Runs on the BeforeAgent event, executing cli.js via node with --harness. From ilyautov/cordon.

1 12d ago A tokens not measured original MIT

BeforeTool

105

ilyautov/cordon

Hook

Runs on the BeforeTool event, executing cli.js via node with --harness. From ilyautov/cordon.

1 12d ago A tokens not measured original MIT

AfterTool

106

ilyautov/cordon

Hook

Runs on the AfterTool event, executing cli.js via node with --harness. From ilyautov/cordon.

1 12d ago A tokens not measured original MIT

PreToolUse

107

alex-lamport/kaora-memory

Hook Claude Code

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

1 3mo ago A tokens not measured original MIT

PostToolUse

108

alex-lamport/kaora-memory

Hook Claude Code

Runs after a tool call finishes for Bash tool calls, executing log-api-calls.sh. From alex-lamport/kaora-memory.

1 3mo ago A tokens not measured original MIT

SessionStart

109

d-wwei/agent-recall

Hook

Part of agent-recall

Runs when a session starts on startup, clear and compact, executing smart-install.js and bun-runner.js (3 commands). From d-wwei/agent-recall.

1 4mo ago A tokens not measured

PreToolUse

110

d-wwei/agent-recall

Hook

Part of agent-recall

Runs before the agent uses a tool for Glob, Grep, Read and Bash tool calls, executing bun-runner.js. From d-wwei/agent-recall.

1 4mo ago A tokens not measured

SessionStart

112

King-A23/agent-reflectmem

Hook

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

1 3mo ago A tokens not measured original MIT

BeforeAgent

113

King-A23/agent-reflectmem

Hook

Runs on the BeforeAgent event, executing reflectmem_hook.js via node. From King-A23/agent-reflectmem.

1 3mo ago A tokens not measured original MIT

BeforeTool

114

King-A23/agent-reflectmem

Hook

Runs on the BeforeTool event for run_shell_command tool calls, executing reflectmem_hook.js via node. From King-A23/agent-reflectmem.

1 3mo ago A tokens not measured original MIT

PreToolUse

115

Ezee234/symbi-gemini-cli

Hook

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.

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

PostToolUse

116

Ezee234/symbi-gemini-cli

Hook

Runs after a tool call finishes for write_file, replace, run_shell_command and symbi__* tool calls, executing audit-log.sh. From Ezee234/symbi-gemini-cli.

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

ConfigChange

118

dinglebear-ai/dendrite

Hook

Part of adguard

Runs on the ConfigChange event for user_settings tool calls, executing setup.sh. From dinglebear-ai/dendrite.

1 6d ago A tokens not measured AGPL-3.0

UserPromptSubmit

119

eai-support/eai-gofer

Hook Claude Code

Part of eai-gofer

Runs when you submit a prompt, before the agent sees it, executing user-prompt-submit.mjs via node. From eai-support/eai-gofer.

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

PostToolUse

120

eai-support/eai-gofer

Hook Claude Code

Part of eai-gofer

Runs after a tool call finishes, executing post-tool-use.mjs via node. From eai-support/eai-gofer.

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

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: