Git and workflow hooks

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

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

PreToolUse

97

poteto/noodle

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing block-sleep.sh (2 commands). From poteto/noodle.

267 5mo ago A tokens not measured original MIT

PreToolUse

98

basecamp/basecamp-cli

Hook

Runs before the agent uses a tool for Bash tool calls, running basecamp agent-hook pre-commit-snapshot. From basecamp/basecamp-cli.

259 2d ago A tokens not measured original MIT

PostToolUse

99

basecamp/basecamp-cli

Hook

Runs after a tool call finishes for Bash tool calls, running basecamp agent-hook post-commit. From basecamp/basecamp-cli.

259 2d ago A tokens not measured original MIT

Stop

100

awattar/claude-code-best-practices

Hook Claude Code

Runs when the agent finishes a response, running git -C "$CLAUDE_PROJECT_DIR" status --short. From awattar/claude-code-best-practices.

250 3mo ago A tokens not measured original MIT

PreToolUse

101

OpenRouterLabs/spawn

Hook Claude Code

Runs before the agent uses a tool for Write, Edit, Bash and Bash tool calls, executing enforce-worktree.ts and pre-merge-check.ts via bun with --show-toplevel (3 commands). From OpenRouterLabs/spawn.

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

SessionStart

102

dilolabs/nosia

Hook Claude Code

Runs when a session starts, running an inline shell check. From dilolabs/nosia.

212 23d ago A tokens not measured original MIT

PermissionRequest

103

scarce/axel

Hook Claude Code

Runs when the agent asks permission for an action, running curl -s -X POST -H 'Content-Type: application/json' -d @- ht. From scarce/axel.

207 4mo ago B tokens not measured

PostToolUse

104

scarce/axel

Hook Claude Code

Runs after a tool call finishes, running curl -s -X POST -H 'Content-Type: application/json' -d @- ht. From scarce/axel.

207 4mo ago B tokens not measured

PreToolUse

105

scarce/axel

Hook Claude Code

Runs before the agent uses a tool, running curl -s -X POST -H 'Content-Type: application/json' -d @- ht. From scarce/axel.

207 4mo ago B tokens not measured

PreToolUse

106

pproenca/dot-skills

Hook Codex

Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From pproenca/dot-skills.

200 17d ago A tokens not measured original MIT

PreToolUse

107

ab604/claude-code-r-skills

Hook

Runs before the agent uses a tool for Bash, Write, Edit and Write tool calls, executing git-push-warn.js, doc-blocker.js and suggest-compact.js via node (3 commands). From ab604/claude-code-r-skills.

197 4mo ago A tokens not measured original MIT

PreToolUse

108

TechDufus/oh-my-claude

Hook

Runs before the agent uses a tool for Bash, Edit and Write tool calls, running uv (5 commands). From TechDufus/oh-my-claude.

176 1mo ago A tokens not measured original MIT

PreToolUse

109

adamayoung/TMDb

Hook Claude Code

Runs before the agent uses a tool for Edit, Write and NotebookEdit tool calls, running an inline shell check. From adamayoung/TMDb.

176 8d ago A tokens not measured original Apache-2.0

SessionStart

110

fancyboi999/open-tag

Hook Claude Code

Runs when a session starts on startup, executing pull-main-on-session-start.sh and worktree-reminder.sh via bash (2 commands). From fancyboi999/open-tag.

180 10d ago A tokens not measured copy · 47% Apache-2.0

PreToolUse

111

softspark/ai-toolkit

Hook

Runs before the agent uses a tool for Bash, Bash, Read, Edit, Write, MultiEdit, Glob, Grep, NotebookEdit, mcp__filesystem__.*, Edit, Write, MultiEdit, Bash and Bash tool calls, executing guard-destructive.sh, guard-path.sh, guard-config.sh, commit-quality.sh and revert-guard.sh (5 commands). From softspark/ai-toolkit.

167 3d ago A tokens not measured original Apache-2.0

PreToolUse

112

romiluz13/cc10x

Hook

Runs before the agent uses a tool for Edit, Write and Bash tool calls, executing cc10x_pretooluse_guard.py and cc10x_git_guard.py via python3 (2 commands). From romiluz13/cc10x.

164 29d ago A tokens not measured original MIT

SessionStart

113

Khan/wonder-blocks

Hook Claude Code

Runs when a session starts on startup, executing git-token-init.mjs, gh-install.mjs and pnpm-install.mjs (3 commands). From Khan/wonder-blocks.

163 4d ago A tokens not measured copy · 50% MIT

PreToolUse

114

Khan/wonder-blocks

Hook Claude Code

Runs before the agent uses a tool for Bash, Bash and Bash tool calls, executing git-filter.mjs, gh-filter.mjs and echo-banner-filter.mjs (3 commands). From Khan/wonder-blocks.

163 4d ago A tokens not measured original MIT

PreToolUse

115

addyosmani/factory

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing block-merge.sh via bash with --show-toplevel. From addyosmani/factory.

168 11d ago A tokens not measured original MIT

PostToolUse

116

notactuallytreyanastasio/deciduous

Hook Claude Code

Runs after a tool call finishes for Bash tool calls, executing post-commit-reminder.sh. From notactuallytreyanastasio/deciduous.

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

PreToolUse

117

DanielSuo117/velocitai

Hook Claude Code

Runs before the agent uses a tool for Bash(git commit *) tool calls, running code-review-graph build. From DanielSuo117/velocitai.

157 3mo ago A tokens not measured

PostToolUse

118

dcostenco/prism-coder

Hook Claude Code

Runs after a tool call finishes for Bash tool calls, executing post-commit-repomix.sh via bash. From dcostenco/prism-coder.

157 5d ago A tokens not measured original Apache-2.0

Stop

119

Red-Hat-AI-Innovation-Team/sdg_hub

Hook Claude Code

Runs when the agent finishes a response, executing commit-on-stop.sh. From Red-Hat-AI-Innovation-Team/sdg_hub.

159 6d ago A tokens not measured original Apache-2.0

PostToolUse

120

bitwarden/ai-plugins

Hook

Runs after a tool call finishes for Task, Agent, Skill, Edit, MultiEdit, Write, NotebookEdit, Bash and mcp__.* tool calls, executing emit_identity.py, emit_git.py and emit_mcp.py via python3 (3 commands). From bitwarden/ai-plugins.

140 4d ago A tokens not measured