Git and workflow hooks

1,104 tagged Git and workflow, measured the same way as everything else here.

Browse within: agentic-coding 29agent-orchestration 26code-quality 26agentic-workflow 23coding-agents 18agent-memory 17claude-plugin 17git-worktrees 17context-engineering 16agentic 15claude-code-skills 15hooks 15typescript 15bash 14

SessionStart

01

Egonex-AI/Understand-Anything

Hook

Runs when a session starts, running an inline shell check. From Egonex-AI/Understand-Anything.

81k +76 6d ago A tokens not measured original MIT

PreToolUse

02

apache/superset

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From apache/superset.

75k yesterday A tokens not measured original Apache-2.0

PreToolUse

03

heygen-com/hyperframes

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, running node -e ". From heygen-com/hyperframes.

43k yesterday A tokens not measured original Apache-2.0

PostToolUse

04

Dokploy/dokploy

Hook Claude Code

Runs after a tool call finishes for EnterWorktree tool calls, executing install-worktree-deps.sh and assign-worktree-port.sh (2 commands). From Dokploy/dokploy.

37k 3d ago A tokens not measured

PreToolUse

05

Donchitos/Claude-Code-Game-Studios

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing validate-commit.sh and validate-push.sh via bash (2 commands). From Donchitos/Claude-Code-Game-Studios.

25k +26 3mo ago A tokens not measured original MIT

WorktreeCreate

06

ccusage/ccusage

Hook Claude Code

Runs when a git worktree is created, running an inline shell check. From ccusage/ccusage.

18k +35 today A tokens not measured

WorktreeRemove

07

ccusage/ccusage

Hook Claude Code

Runs when a git worktree is removed, running an inline shell check. From ccusage/ccusage.

18k +35 today C tokens not measured

PreToolUse

08

windmill-labs/windmill

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing guard-main-branch.sh, guard-rm-outside-tmp.sh and allow-fileops-in-tmp.sh (3 commands). From windmill-labs/windmill.

18k yesterday A tokens not measured

PreToolUse

09

spree/spree

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing pre-commit-gate.sh with --show-toplevel. From spree/spree.

16k yesterday A tokens not measured original BSD-3-Clause

PreToolUse

10

open-metadata/OpenMetadata

Hook Claude Code

Runs before the agent uses a tool for Bash, Edit and Write tool calls, executing generate_entity_index.py with --no-verify (5 commands). From open-metadata/OpenMetadata.

15k yesterday A tokens not measured original Apache-2.0

PreToolUse

11

datahub-project/datahub

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing deny-git-no-verify.sh. From datahub-project/datahub.

13k yesterday A tokens not measured original Apache-2.0

PreToolUse

12

BrasilAPI/BrasilAPI

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing pre-merge-check.sh. From BrasilAPI/BrasilAPI.

11k 3d ago A tokens not measured original MIT

PreToolUse

13

yugabyte/yugabyte-db

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing block-git-push.sh. From yugabyte/yugabyte-db.

11k 2d ago A tokens not measured

WorktreeCreate

14

gitkraken/vscode-gitlens

Hook Claude Code

Runs when a git worktree is created, running node .claude/hooks/worktree.mts create. From gitkraken/vscode-gitlens.

9.9k 3d ago A tokens not measured

PostToolUse

15

gitkraken/vscode-gitlens

Hook Claude Code

Runs after a tool call finishes for Edit and Write tool calls, running an inline shell check (2 commands). From gitkraken/vscode-gitlens.

9.9k 3d ago A tokens not measured

PreToolUse

16

gitkraken/vscode-gitlens

Hook Claude Code

Runs before the agent uses a tool for Edit and Write tool calls, running an inline shell check. From gitkraken/vscode-gitlens.

9.9k 3d ago A tokens not measured

PreToolUse

17

open-gsd/gsd-core

Hook

Runs before the agent uses a tool for Write, Edit, Write, Edit, MultiEdit, Write, Agent and Task tool calls, executing gsd-prompt-guard.js, gsd-read-guard.js, gsd-worktree-path-guard.js, gsd-write-guard.js and gsd-agent-isolation-guard.js via node (5 commands). From open-gsd/gsd-core.

8.9k 2d ago A tokens not measured original MIT

UserPromptSubmit

18

FastLED/FastLED

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing git_context.py. From FastLED/FastLED.

7.5k 4d ago A tokens not measured copy · 84% MIT

PreToolUse

19

telepresenceio/telepresence

Hook Claude Code

Runs before the agent uses a tool for Edit, Write and MultiEdit tool calls, running an inline shell check. From telepresenceio/telepresence.

7.3k 7d ago A tokens not measured original Apache-2.0

PostToolUse

20

telepresenceio/telepresence

Hook Claude Code

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

7.3k 7d ago A tokens not measured original Apache-2.0

PreToolUse

21

Serial-Studio/Serial-Studio

Hook Claude Code

Runs before the agent uses a tool for Edit, Write, MultiEdit and Bash tool calls, executing protect-dirty-files.py and commit-sanitize-gate.py via python3 (2 commands). From Serial-Studio/Serial-Studio.

7.2k +6 today A tokens not measured

BeforeAgent

22

max-sixty/worktrunk

Hook

Runs on the BeforeAgent event, executing wt.sh via bash. From max-sixty/worktrunk.

6.8k yesterday A tokens not measured

AfterAgent

23

max-sixty/worktrunk

Hook

Runs on the AfterAgent event, executing wt.sh via bash. From max-sixty/worktrunk.

6.8k yesterday A tokens not measured

SessionEnd

24

max-sixty/worktrunk

Hook

Runs when a session ends, executing wt.sh via bash. From max-sixty/worktrunk.

6.8k yesterday A tokens not measured