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

UserPromptSubmit

73

craigcossairt/trellis

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing context-enrichment.sh via bash. From craigcossairt/trellis.

4 13d ago A tokens not measured original MIT

PreToolUse

74

ThirdKeyAI/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 ThirdKeyAI/symbi-gemini-cli.

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

PostToolUse

75

ThirdKeyAI/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 ThirdKeyAI/symbi-gemini-cli.

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

SessionStart

76

danilkotelnikov/vedix

Hook

Part of vedix

Runs when a session starts, executing mempalace-recall.sh. From danilkotelnikov/vedix.

3 3mo ago A tokens not measured original MIT

PreCompact

77

danilkotelnikov/vedix

Hook

Part of vedix

Runs before the context is compacted, executing mempalace-save.sh. From danilkotelnikov/vedix.

3 3mo ago A tokens not measured original MIT

PostToolUse

78

danilkotelnikov/vedix

Hook

Part of vedix

Runs after a tool call finishes for Task and Write tool calls, executing codex-fallback-detect.sh and superpowers-plan-mine.sh (2 commands). From danilkotelnikov/vedix.

3 3mo ago A tokens not measured original MIT

AfterAgent

79

djinn-soul/gemini-mem

Hook

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

3 4mo ago A tokens not measured original MIT

BeforeAgent

80

djinn-soul/gemini-mem

Hook

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

3 4mo ago A tokens not measured original MIT

SessionStart

81

djinn-soul/gemini-mem

Hook

Runs when a session starts, executing hook-runner.cjs via node. From djinn-soul/gemini-mem.

3 4mo ago A tokens not measured original MIT

BeforeTool

82

kenryu42/gemini-safety-net

Hook

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

3 15d ago A tokens not measured original MIT

PreToolUse

83

combinatrix-ai/agenv

Hook Claude Code

Runs before the agent uses a tool for Write and Edit tool calls, executing pre-config-protect.sh via bash. From combinatrix-ai/agenv.

3 2mo ago A tokens not measured original MIT

PostToolUse

84

combinatrix-ai/agenv

Hook Claude Code

Runs after a tool call finishes for Write, Edit and NotebookEdit tool calls, executing post-edit-lint.sh via bash. From combinatrix-ai/agenv.

3 2mo ago A tokens not measured original MIT

Stop

85

combinatrix-ai/agenv

Hook Claude Code

Runs when the agent finishes a response, executing stop-test.sh via bash. From combinatrix-ai/agenv.

3 2mo ago A tokens not measured copy · 45% MIT

PreToolUse

90

HECer/yoke

Hook

Part of yoke

Runs before the agent uses a tool for ^Bash$ tool calls, executing codex-rtk-hook.mjs via node. From HECer/yoke.

2 12d ago A tokens not measured original MIT

UserPromptSubmit

92

uppadhyayraj/dq-awesomeqa

Hook

Part of dq-awesomeqa

Runs when you submit a prompt, before the agent sees it, executing sanitize-input.js and audit-log.js via node (2 commands). From uppadhyayraj/dq-awesomeqa.

2 13d ago A tokens not measured

PreToolUse

93

uppadhyayraj/dq-awesomeqa

Hook

Part of dq-awesomeqa

Runs before the agent uses a tool for Bash, Write and Edit tool calls, executing qa-safety.js and audit-log.js via node (2 commands). From uppadhyayraj/dq-awesomeqa.

2 13d ago A tokens not measured

Stop

95

rajkaria/boil-the-ocean

Hook

Part of boil-the-ocean

Runs when the agent finishes a response, executing ocean-stop-guard.sh via bash. From rajkaria/boil-the-ocean.

2 1mo ago A tokens not measured copy · 59% MIT

SessionStart

96

ronmkr/PromptBook

Hook

Runs when a session starts, executing sg-python.sh via bash. From ronmkr/PromptBook.

2 3mo 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: