Git and workflow hooks

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

Browse within: claude-code-plugin 33cli 24agentic-ai 21agents 17LLM 16ai-coding 15bun 13ai-coding-assistant 12agentic-workflow 9cursor 9agentic-coding 8agent-memory 7provenance 7skills 7

BeforeAgent

01

max-sixty/worktrunk

Hook Claude Code

One of 3 in hooks.json

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

not rated 9.3k +122 today A tokens not measured

SessionEnd

02

nicknisi/dotfiles

Hook Claude Code

One of 2 in settings.json

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

not rated 3.0k +1 4d ago A tokens not measured original MIT

AfterTool (gemini)

03

webjsdev/webjs

Hook Gemini CLI

Runs on the AfterTool event for write_file and replace tool calls, executing nudge-uncommitted.sh. From webjsdev/webjs.

not rated 27 7d ago A tokens not measured original MIT

PreToolUse

04

heyJordanParker/dotfiles

Hook Claude Code

One of 2 in hooks.json

Runs before the agent uses a tool for Bash tool calls, executing block-git-revert.sh and block-unsafe-delete.sh (2 commands). From heyJordanParker/dotfiles.

not rated 22 changed 17d ago A tokens not measured

PreToolUse

05

meloncafe/claude-code-hooks

Hook Claude Code

One of 7 in settings.json

Runs before the agent uses a tool for Write, Edit, Update, Bash, WebFetch and WebSearch tool calls, executing token_manager.py, command_restrictor.py, pattern_enforcer.py, no_mock_code.py, secret_scanner.py, timestamp_validator.py and validate_git_commit.py via python3 (11 commands). From meloncafe/claude-code-hooks.

not rated 21 6d ago A tokens not measured original MIT

PreToolUse

06

vinipx/ai-architecture-explorer

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing protect-main-branch.sh. From vinipx/ai-architecture-explorer.

not rated 6 6mo ago A tokens not measured

PreToolUse

07

ApexIQ/skillsmith

Hook Claude Code

One of 2 in settings.json

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

not rated 5 6mo ago A tokens not measured original MIT

PreToolUse

08

zookanalytics/gc-toolkit

Hook Claude Code

One of 3 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing gh-origin-guard.sh. From zookanalytics/gc-toolkit.

not rated 5 today A tokens not measured original MIT

SessionStart

09

Zts0hg/codexspec

Hook Claude Code

Runs when a session starts, running git. From Zts0hg/codexspec.

not rated 5 changed 4d ago A tokens not measured original MIT

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: