golang hooks

102 tagged golang, measured the same way as everything else here.

Browse within: go 15claude-agent-sdk 10golang-library 10agent-memory 9dev-journal 7devlog 7Multi-Agent 6call-graph 5creative-writing 5cryptography 5design-patterns 5local-first 5novel-writing 5snapshot 5

PostToolUse

01

mvanhorn/cli-printing-press

Hook Claude Code

Runs after a tool call finishes for Write and Edit tool calls, running an inline shell check. From mvanhorn/cli-printing-press.

4.6k 2d ago A tokens not measured original MIT

PostToolUse

02

stacklok/toolhive

Hook Claude Code

Runs after a tool call finishes for Edit and Write tool calls, running an inline shell check. From stacklok/toolhive.

2.1k +1 yesterday A tokens not measured original Apache-2.0

PostToolUse

03

MadAppGang/dingo

Hook Claude Code

Runs after a tool call finishes for Edit and Write tool calls, executing check-forbidden-patterns.sh. From MadAppGang/dingo.

1.9k 1mo ago A tokens not measured

PostToolUse

04

Azure/azure-sdk-for-go

Hook

Runs after a tool call finishes, executing azsdk_tool_telemetry.ps1 via pwsh. From Azure/azure-sdk-for-go.

1.9k 3d ago A tokens not measured copy · 100% MIT

UserPromptSubmit

05

regent-vcs/re_gent

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, running rgt message-hook user. From regent-vcs/re_gent.

787 2mo ago A tokens not measured copy · 55% Apache-2.0

Stop

06

regent-vcs/re_gent

Hook Claude Code

Runs when the agent finishes a response, running rgt message-hook assistant. From regent-vcs/re_gent.

787 2mo ago A tokens not measured copy · 63% Apache-2.0

PostToolBatch

07

regent-vcs/re_gent

Hook Claude Code

Runs after a batch of tool calls, running rgt tool-batch-hook. From regent-vcs/re_gent.

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

SessionStart

08

pax-beehive/paxm

Hook

Runs when a session starts on startup, resume, clear and compact, executing paxm-hook.sh via sh. From pax-beehive/paxm.

433 4d ago A tokens not measured original Apache-2.0

UserPromptSubmit

09

pax-beehive/paxm

Hook

Runs when you submit a prompt, before the agent sees it, executing paxm-hook.sh via sh. From pax-beehive/paxm.

433 4d ago A tokens not measured original Apache-2.0

PostToolUse

10

pax-beehive/paxm

Hook

Runs after a tool call finishes, executing paxm-hook.sh via sh. From pax-beehive/paxm.

433 4d ago A tokens not measured original Apache-2.0

PreToolUse

11

Totoro-jam/battle-tested-patterns

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From Totoro-jam/battle-tested-patterns.

339 1mo ago A tokens not measured original MIT

SessionStart

12

ory/lumen

Hook

Runs when a session starts on startup, resume, clear and compact, running an inline shell check. From ory/lumen.

254 21d ago A tokens not measured

PreToolUse

13

ory/lumen

Hook

Runs before the agent uses a tool for Grep and Bash tool calls, running an inline shell check. From ory/lumen.

254 21d ago A tokens not measured

Stop

14

hiromaily/go-crypto-wallet

Hook Claude Code

Runs when the agent finishes a response, running afplay /System/Library/Sounds/Funk.aiff. From hiromaily/go-crypto-wallet.

127 4mo ago A tokens not measured MIT

PreToolUse

15

hiromaily/go-crypto-wallet

Hook Claude Code

Runs before the agent uses a tool for Edit and Write tool calls, executing prevent-generated-edit.sh (2 commands). From hiromaily/go-crypto-wallet.

127 4mo ago A tokens not measured MIT

SessionStart

16

Xiaoyangy/novel-studio

Hook

Runs when a session starts on startup, resume, clear and compact, executing story_codex_hook.py. From Xiaoyangy/novel-studio.

97 1mo ago A tokens not measured original Apache-2.0

PreToolUse

17

Xiaoyangy/novel-studio

Hook

Runs before the agent uses a tool for Bash, apply_patch, Edit, Write and Bash tool calls, executing story_codex_hook.py (2 commands). From Xiaoyangy/novel-studio.

97 1mo ago A tokens not measured copy · 81% Apache-2.0

PostCompact

18

Xiaoyangy/novel-studio

Hook

Runs after the context is compacted for manual and auto tool calls, executing story_codex_hook.py. From Xiaoyangy/novel-studio.

97 1mo ago A tokens not measured original Apache-2.0

SessionStart

19

ai-sdlc-framework/ai-sdlc

Hook Claude Code

Runs when a session starts, executing session-start.sh via bash. From ai-sdlc-framework/ai-sdlc.

92 +1 8d ago A tokens not measured original Apache-2.0

PreToolUse

20

ai-sdlc-framework/ai-sdlc

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing enforce-blocked-actions.sh via bash. From ai-sdlc-framework/ai-sdlc.

92 +1 8d ago A tokens not measured original Apache-2.0

PostToolUse

21

ai-sdlc-framework/ai-sdlc

Hook Claude Code

Runs after a tool call finishes, executing collect-tool-sequence.sh via bash. From ai-sdlc-framework/ai-sdlc.

92 +1 8d ago A tokens not measured original Apache-2.0

PostToolUse

22

axiomhq/cli

Hook

Runs after a tool call finishes for Bash tool calls, executing nudge-skill.sh. From axiomhq/cli.

59 5d ago A tokens not measured original MIT

SessionStart

23

xieyuschen/gopls-mcp

Hook

Runs when a session starts, executing on_session_start.sh. From xieyuschen/gopls-mcp.

57 1mo ago A tokens not measured original BSD-3-Clause

PreCompact

24

olgasafonova/miro-mcp-server

Hook Claude Code

Runs before the context is compacted, running bd prime. From olgasafonova/miro-mcp-server.

26 6d ago A tokens not measured copy · 100% MIT