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

PostToolUse

49

ballred/obsidian-claude-pkm

Hook Claude Code

Runs after a tool call finishes for Write and Edit tool calls, executing auto-commit.sh. From ballred/obsidian-claude-pkm.

1.9k 6mo ago A tokens not measured original MIT

PreToolUse

50

nimbalyst/nimbalyst

Hook Claude Code

Runs before the agent uses a tool for mcp__nimbalyst-mcp__developer_git_commit_proposal tool calls, executing agent-test-gate.mjs via node. From nimbalyst/nimbalyst.

1.6k 3d ago A tokens not measured original MIT

PreToolUse

51

happier-dev/happier

Hook Claude Code

Runs before the agent uses a tool, executing prevent-destructive-git.sh. From happier-dev/happier.

1.6k yesterday A tokens not measured original MIT

PreToolUse

52

pedrohcgs/claude-code-my-workflow

Hook Claude Code

Runs before the agent uses a tool for Bash, Write, Edit, MultiEdit and Bash tool calls, executing git-guardrails.py and root-of-trust-guard.py via python3 (2 commands). From pedrohcgs/claude-code-my-workflow.

1.5k 7d ago A tokens not measured original MIT

PreToolUse

53

CloudAI-X/claude-workflow-v2

Hook

Runs before the agent uses a tool for Edit, Write and Bash tool calls, executing protect-files.py, security-check.py, pre-commit-check.py, log-commands.sh and branch-protection.sh via python3 (5 commands). From CloudAI-X/claude-workflow-v2.

1.4k 7d ago A tokens not measured original MIT

SessionStart

54

dyoshikawa/rulesync

Hook Claude Code

Runs when a session starts, running an inline shell check. From dyoshikawa/rulesync.

1.4k yesterday A tokens not measured original MIT

SessionStart

55

dohooo/helmor

Hook Claude Code

Runs when a session starts on startup and resume, executing set-git-identity.sh via bash. From dohooo/helmor.

1.3k 10d ago A tokens not measured original Apache-2.0

PreToolUse

56

fcakyon/claude-codex-settings

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From fcakyon/claude-codex-settings.

1.1k 2d ago A tokens not measured original Apache-2.0

PostToolUse

57

fcakyon/claude-codex-settings

Hook Claude Code

Runs after a tool call finishes for Edit, MultiEdit and Write tool calls, running an inline shell check. From fcakyon/claude-codex-settings.

1.1k 2d ago A tokens not measured original Apache-2.0

SessionStart

58

fcakyon/claude-codex-settings

Hook

Runs when a session starts, executing session_start_chat_id.py. From fcakyon/claude-codex-settings.

1.1k 2d ago A tokens not measured original Apache-2.0

PreToolUse

59

assistant-ui/tool-ui

Hook Claude Code

Runs before the agent uses a tool for Bash(git add*) and Bash(git commit*) tool calls, running an inline shell check (2 commands). From assistant-ui/tool-ui.

773 3mo ago A tokens not measured original MIT

SessionStart

60

arklexai/Agent-First-Organization

Hook Claude Code

Runs when a session starts, running an inline shell check. From arklexai/Agent-First-Organization.

700 4mo ago A tokens not measured original MIT

PreToolUse

61

vybestack/llxprt-code

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing git-pre-push-check.sh. From vybestack/llxprt-code.

700 yesterday A tokens not measured original Apache-2.0

PostToolUseFailure

62

hellowind777/hello2cc

Hook

Runs when a tool call fails for Agent, Task, EnterWorktree and WebSearch tool calls, executing orchestrator.mjs via node (4 commands). From hellowind777/hello2cc.

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

SessionEnd

63

ananddtyagi/cc-marketplace

Hook

Runs when a session ends, executing session-lock-release.sh. From ananddtyagi/cc-marketplace.

688 +1 7mo ago A tokens not measured

Stop

64

anthropics/cwc-long-running-agents

Hook Claude Code

Runs when the agent finishes a response, executing commit-on-stop.sh. From anthropics/cwc-long-running-agents.

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

SessionStart

65

zhnnky329/MathModeling-skills

Hook Claude Code

Runs when a session starts on startup, running an inline shell check. From zhnnky329/MathModeling-skills.

659 7d ago A tokens not measured original MIT

PostToolUse

66

grafana/gcx

Hook Claude Code

Runs after a tool call finishes for EnterWorktree tool calls, running go mod download. From grafana/gcx.

575 2d ago A tokens not measured original Apache-2.0

PreToolUse

67

jo-duchan/tapflow

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing pr-merge-guard.sh, gh-language-gate.sh, adversarial-review-gate.sh and issue-parent-gate.sh via bash (4 commands). From jo-duchan/tapflow.

536 2d ago A tokens not measured copy · 50% MIT

SessionStart

68

me2resh/apexyard

Hook Claude Code

Runs when a session starts, executing pin-ops-root.sh, onboarding-check.sh, check-upstream-drift.sh, check-jq-installed.sh, check-git-hooks-installed.sh, check-portfolio-config.sh, clear-bootstrap-marker.sh, clear-active-reviewer-marker.sh, clear-onboarding-depth-mode-marker.sh…

497 2d ago A tokens not measured original MIT

PreToolUse

69

me2resh/apexyard

Hook Claude Code

Runs before the agent uses a tool for Edit, Write, MultiEdit, Read, Glob, Grep, Write and Bash tool calls, executing require-migration-ticket.sh, require-active-ticket.sh, detect-role-trigger.sh, suggest-mcp-search.sh, warn-review-marker-write.sh, block-git-add-all.sh, block-main-push.sh, validate-branch-name.sh…

497 2d ago A tokens not measured copy · 95% MIT

PostToolUse

70

me2resh/apexyard

Hook Claude Code

Runs after a tool call finishes for Bash, Write, Edit and MultiEdit tool calls, executing auto-code-review.sh, warn-stale-review-markers.sh, suggest-mcp-reindex-after-clone.sh, suggest-mcp-reindex-after-pull.sh and maintain-docs-index.sh via bash (5 commands). From me2resh/apexyard.

497 2d ago A tokens not measured copy · 94% MIT

SessionStart

71

davekilleen/Dex

Hook Claude Code

Runs when a session starts, executing session-start.sh, update_verifier.py, dex-core-orientation.sh, connection-health-checker.cjs, feedback_sweep.py, release_notes_sweep.py and skill-freshness.py via bash with --vault and --session-start (7 commands). From davekilleen/Dex.

473 2d ago A tokens not measured

PreToolUse

72

caura-ai/caura

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing pre-commit-check.sh. From caura-ai/caura.

468 +3 today A tokens not measured original Apache-2.0