Git and workflow hooks

1,105 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

WorktreeCreate

73

ai-driven-dev/framework

Hook Claude Code

Runs when a git worktree is created, executing worktree-create.js via node. From ai-driven-dev/framework.

445 2d ago A tokens not measured original MIT

PreToolUse

74

evanklem/evanflow

Hook

Runs before the agent uses a tool for Bash tool calls, executing block-dangerous-git.sh. From evanklem/evanflow.

418 3mo ago A tokens not measured

PreToolUse

75

cwinvestments/memstack

Hook Claude Code

Runs before the agent uses a tool for Write, Edit, MultiEdit, Bash, Bash and Bash tool calls, executing pre-tool-notify.sh and gate-on-command.sh via bash with --critical (3 commands). From cwinvestments/memstack.

417 5d ago A tokens not measured original MIT

PostToolUse

76

cwinvestments/memstack

Hook Claude Code

Runs after a tool call finishes for Bash, Write, Edit, MultiEdit and Bash tool calls, executing gate-on-command.sh and post-tool-monitor.sh via bash (2 commands). From cwinvestments/memstack.

417 5d ago A tokens not measured original MIT

PreToolUse

77

notque/vexjoy-agent

Hook Claude Code

Runs before the agent uses a tool for Bash, Write, Edit, Read, Write, Edit, MultiEdit, NotebookEdit, Bash, Write, Edit, Write, Edit and Agent tool calls, executing suggest-compact.py, pretool-unified-gate.py, pretool-worktree-edit-guard.py, pretool-branch-safety.py, ci-merge-gate.py, pretool-ruff-format-gate.py…

417 2d ago A tokens not measured original MIT

WorktreeCreate

78

decocms/studio

Hook Claude Code

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

401 yesterday A tokens not measured original MIT

SessionStart

79

blueberrycongee/termcanvas

Hook

Runs when a session starts, executing memory-session-start.sh. From blueberrycongee/termcanvas.

392 3mo ago A tokens not measured original MIT

WorktreeCreate

80

rhesis-ai/rhesis

Hook Claude Code

Runs when a git worktree is created, executing worktree-hook.sh. From rhesis-ai/rhesis.

391 4d ago A tokens not measured

WorktreeRemove

81

rhesis-ai/rhesis

Hook Claude Code

Runs when a git worktree is removed, executing worktree-hook.sh. From rhesis-ai/rhesis.

391 4d ago A tokens not measured

PostToolUse

82

mixpeek/amux

Hook Claude Code

Runs after a tool call finishes for Edit, Write, MultiEdit and Bash tool calls, executing check-and-commit.sh and auto-deploy.sh (2 commands). From mixpeek/amux.

375 2d ago A tokens not measured

SessionStart

83

librefang/librefang

Hook Claude Code

Runs when a session starts, executing session-start-worktree-check.sh. From librefang/librefang.

364 2d ago A tokens not measured original MIT

PreToolUse

84

librefang/librefang

Hook Claude Code

Runs before the agent uses a tool for Bash, Edit, Write, MultiEdit, NotebookEdit and Bash tool calls, executing forbid-main-worktree.sh and guard-bash-safety.sh (2 commands). From librefang/librefang.

364 2d ago A tokens not measured original MIT

PreToolUse

85

AndrewDryga/emisar

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing commit-gate.sh. From AndrewDryga/emisar.

356 2d ago A tokens not measured

SessionStart

86

0xquinto/bcherny-claude

Hook Claude Code

Runs when a session starts, running an inline shell check. From 0xquinto/bcherny-claude.

355 3mo ago A tokens not measured original MIT

PreToolUse

87

delexw/claude-code-trace

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing pre-commit.sh. From delexw/claude-code-trace.

348 3d ago A tokens not measured original MIT

PreToolUse

88

neohaskell/NeoHaskell

Hook Claude Code

Runs before the agent uses a tool for Edit, Write and MultiEdit tool calls, executing dialect-guard.py and expectation-guard.py via python3 with --show-current (3 commands). From neohaskell/NeoHaskell.

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

PreToolUse

89

AvivK5498/The-Claude-Protocol

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing block-branch-for-epic-child.sh. From AvivK5498/The-Claude-Protocol.

345 6mo ago A tokens not measured original MIT

PreToolUse

90

receptron/mulmoclaude

Hook Claude Code

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

343 2d ago A tokens not measured original MIT

PreToolUse

91

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

Stop

92

zhukunpenglinyutong/ai-max

Hook

Runs when the agent finishes a response, running #!/bin/bash. From zhukunpenglinyutong/ai-max.

336 6mo ago A tokens not measured original MIT

PreToolUse

93

TheDecipherist/claude-code-mastery-project-starter-kit

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing check-rybbit.sh, check-branch.sh, check-ports.sh, check-e2e.sh and block-dangerous-bash.py via bash (5 commands). From TheDecipherist/claude-code-mastery-project-starter-kit.

336 2mo ago A tokens not measured original MIT

UserPromptSubmit

94

vfarcic/dot-ai

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing prd-done-changelog-reminder.sh. From vfarcic/dot-ai.

335 10d ago A tokens not measured original MIT

PreToolUse

95

automagik-dev/genie

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing git-safety.sh via bash (2 commands). From automagik-dev/genie.

334 yesterday A tokens not measured original MIT

PreToolUse

96

AlpacaLabsLLC/skills-for-architects

Hook

Runs before the agent uses a tool for Bash tool calls, executing pre-commit-spec-lint.sh. From AlpacaLabsLLC/skills-for-architects.

332 7d ago A tokens not measured original MIT