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

25

repowise-dev/repowise

Hook

Runs when a session starts on startup, resume and clear, running an inline shell check. From repowise-dev/repowise.

6.3k yesterday A tokens not measured AGPL-3.0

PostToolUse

26

repowise-dev/repowise

Hook

Runs after a tool call finishes for Grep, Glob, Read, Edit, Write and mcp__.*[Rr]epowise.*__.* tool calls, running an inline shell check. From repowise-dev/repowise.

6.3k yesterday A tokens not measured AGPL-3.0

PostToolUseFailure

27

repowise-dev/repowise

Hook

Runs when a tool call fails for Read, Edit, Write, Grep, Glob and NotebookEdit tool calls, running an inline shell check. From repowise-dev/repowise.

6.3k yesterday A tokens not measured AGPL-3.0

PreToolUse

28

ChrisWiles/claude-code-showcase

Hook Claude Code

Runs before the agent uses a tool for Edit, MultiEdit and Write tool calls, running # Prevent editing on main branch. From ChrisWiles/claude-code-showcase.

6.0k 7mo ago A tokens not measured

PreCompact

29

drona23/claude-token-efficient

Hook Claude Code

Runs before the context is compacted, running an inline shell check. From drona23/claude-token-efficient.

6.0k 2mo ago A tokens not measured original MIT

PreToolUse

30

zenml-io/zenml

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing format.sh. From zenml-io/zenml.

5.6k yesterday A tokens not measured original Apache-2.0

SessionStart

31

clidey/whodb

Hook Claude Code

Runs when a session starts, executing session-context.sh via bash with --show-toplevel. From clidey/whodb.

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

PreToolUse

32

fallow-rs/fallow

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing pre-bash-guard.py with --show-toplevel, --cached, --name-only and --diff-filter (2 commands). From fallow-rs/fallow.

4.4k yesterday A tokens not measured original MIT

Stop

33

fallow-rs/fallow

Hook Claude Code

Runs when the agent finishes a response, executing check-comment-quality.mjs with --show-toplevel, --working-tree and --claude-hook. From fallow-rs/fallow.

4.4k yesterday A tokens not measured original MIT

SessionStart

34

dmno-dev/varlock

Hook Claude Code

Runs when a session starts, executing worktree-deps.sh. From dmno-dev/varlock.

4.2k 2d ago A tokens not measured original MIT

PostToolUse

35

dmno-dev/varlock

Hook Claude Code

Runs after a tool call finishes for Bash tool calls, executing git-push-notice.sh. From dmno-dev/varlock.

4.2k 2d ago A tokens not measured original MIT

PostToolUse

36

agenticnotetaking/arscontexta

Hook

Runs after a tool call finishes for Write tool calls, executing write-validate.sh and auto-commit.sh (2 commands). From agenticnotetaking/arscontexta.

3.5k 6mo ago A tokens not measured original MIT

PreToolUse

37

Ataraxy-Labs/sem

Hook Claude Code

Runs before the agent uses a tool for Grep tool calls, executing sem-first.sh. From Ataraxy-Labs/sem.

3.3k 3d ago A tokens not measured original Apache-2.0

Stop

38

Ataraxy-Labs/sem

Hook

Runs when the agent finishes a response, executing keep-listening.sh. From Ataraxy-Labs/sem.

3.3k 3d ago A tokens not measured original Apache-2.0

PreToolUse

39

av/harbor

Hook Claude Code

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

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

PreToolUse

40

SynkraAI/aiox-core

Hook Claude Code

Runs before the agent uses a tool for Bash and run_terminal_command tool calls, executing enforce-git-push-authority.cjs via node. From SynkraAI/aiox-core.

3.1k 2d ago A tokens not measured

PermissionRequest

41

Chachamaru127/claude-code-harness

Hook

Runs when the agent asks permission for an action for Edit, Write, MultiEdit and Bash tool calls, running an inline shell check (2 commands). From Chachamaru127/claude-code-harness.

3.1k 2d ago A tokens not measured copy · 86% MIT

SessionEnd

42

nicknisi/dotfiles

Hook Claude Code

Runs when a session ends, running claude-tmux-cleanup. From nicknisi/dotfiles.

3.0k 4d ago A tokens not measured original MIT

PreToolUse

43

KhazP/vibe-coding-prompt-template

Hook Claude Code

Runs before the agent uses a tool for Edit, Write and Bash tool calls, running an inline shell check (2 commands). From KhazP/vibe-coding-prompt-template.

2.9k 11d ago A tokens not measured original MIT

Stop

44

KhazP/vibe-coding-prompt-template

Hook Claude Code

Runs when the agent finishes a response, running an inline shell check. From KhazP/vibe-coding-prompt-template.

2.9k 11d ago A tokens not measured original MIT

PreToolUse

45

rohitg00/pro-workflow

Hook

Runs before the agent uses a tool for tool == "Edit", tool == "Write", Read, Bash, tool == "Edit" and tool == "Write" tool calls, executing quality-gate.js, read-before-write.js, reread-tracker.js, tool-call-budget.js, git-blast-radius.js, pre-commit-check.js, commit-validate.js, pre-push-check.js and secret-scan.js…

2.8k 14d ago A tokens not measured

PreToolUse

46

huggingface/OpenEnv

Hook Claude Code

Runs before the agent uses a tool for Bash, Edit and Write tool calls, executing pre-commit-check.sh, pre-pr-check.sh and no-direct-code.sh (3 commands). From huggingface/OpenEnv.

2.5k 3d ago A tokens not measured original BSD-3-Clause

PreToolUse

47

openstatusHQ/data-table-filters

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing pre-commit-checks.sh and registry-rebuild-check.sh (2 commands). From openstatusHQ/data-table-filters.

2.2k 2d ago A tokens not measured original MIT

SessionStart

48

doobidoo/mcp-memory-service

Hook Claude Code

Runs when a session starts, executing worktree_guard.sh via bash. From doobidoo/mcp-memory-service.

1.9k 3d ago A tokens not measured original Apache-2.0