claude hooks

932 tagged claude, measured the same way as everything else here.

Browse within: claude-code-plugin 458ai-coding 117claude-ai 93agentic-coding 89hooks 81agent-orchestration 69agent-memory 67claude-code-hooks 66agentic-engineering 63ai-memory 63agentic 46agentic-workflow 45ai-workflow 44bun 44

PostToolUse

25

coder/claudecode.nvim

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Write and Edit tool calls, executing format.sh. From coder/claudecode.nvim.

not rated 3.0k +3 today A tokens not measured copy · 52% MIT

Stop

26

centminmod/my-claude-code-setup

Hook Claude Code

One of 2 in settings.json

Runs when the agent finishes a response, running terminal-notifier -title 'Claude Code' -subtitle 'Session Co. From centminmod/my-claude-code-setup.

not rated 2.6k +4 1mo ago A tokens not measured original MIT

SessionStart

27

alpic-ai/skybridge

Hook Claude Code

One of 2 in settings.json

Runs when a session starts on startup, running an inline shell check. From alpic-ai/skybridge.

not rated 2.0k +3 3d ago A tokens not measured original MIT

SessionStart

28

doobidoo/mcp-memory-service

Hook Claude Code

One of 3 in settings.json

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

not rated 1.9k +6 yesterday A tokens not measured original Apache-2.0

PostToolUse

29

doobidoo/mcp-memory-service

Hook Claude Code

One of 3 in settings.json

Runs after a tool call finishes for Write and Edit tool calls, executing post_edit_py_tests.sh via bash. From doobidoo/mcp-memory-service.

not rated 1.9k +6 yesterday A tokens not measured original Apache-2.0

PreToolUse

30

happier-dev/happier

Hook Claude Code

One of 2 in settings.json

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

not rated 1.6k +15 today A tokens not measured original MIT

SessionStart

31

d-kimuson/claude-code-viewer

Hook Claude Code

One of 4 in settings.json

Runs when a session starts on startup, executing on-session-start.sh. From d-kimuson/claude-code-viewer.

not rated 1.3k +1 16d ago A tokens not measured original MIT

CwdChanged

32

d-kimuson/claude-code-viewer

Hook Claude Code

One of 4 in settings.json

Runs on the CwdChanged event, executing on-cwd-changed.sh. From d-kimuson/claude-code-viewer.

not rated 1.3k +1 16d ago A tokens not measured copy · 45% MIT

FileChanged

33

d-kimuson/claude-code-viewer

Hook Claude Code

One of 4 in settings.json

Runs on the FileChanged event for ^\.envrc$, ^flake\.nix$ and ^flake\.lock$ tool calls, executing on-file-changed.sh. From d-kimuson/claude-code-viewer.

not rated 1.3k +1 16d ago A tokens not measured original MIT

PostToolUse

34

sugyan/claude-code-webui

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Edit, MultiEdit and Write tool calls, running an inline shell check. From sugyan/claude-code-webui.

not rated 1.1k 3mo ago A tokens not measured original MIT archived

SessionStart

35

asklokesh/loki-mode

Hook Claude Code

One of 5 in settings.json

Runs when a session starts, executing session-init.sh via bash. From asklokesh/loki-mode.

not rated 1.1k +2 3d ago A tokens not measured

PreToolUse

36

asklokesh/loki-mode

Hook Claude Code

One of 5 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing validate-bash.sh via bash. From asklokesh/loki-mode.

not rated 1.1k +2 3d ago A tokens not measured

PostToolUse

37

asklokesh/loki-mode

Hook Claude Code

One of 5 in settings.json

Runs after a tool call finishes, executing track-metrics.sh via bash. From asklokesh/loki-mode.

not rated 1.1k +2 3d ago A tokens not measured

PreToolUse

38

beizhu-1209/AIHelms

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 beizhu-1209/AIHelms.

not rated 1.0k 9d ago A tokens not measured GPL-3.0

PostToolUse

39

ktnyt/cclsp

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Write, Edit and MultiEdit tool calls, running an inline shell check (2 commands). From ktnyt/cclsp.

not rated 673 +1 6mo ago A tokens not measured original MIT

PostToolUse

40

shanraisshan/claude-code-hooks

Hook Claude Code

One of 31 in settings.json

Runs after a tool call finishes, executing hooks.py via python3. From shanraisshan/claude-code-hooks.

not rated 536 +1 3mo ago A tokens not measured copy · 77% MIT

PostCompact

41

shanraisshan/claude-code-hooks

Hook Claude Code

One of 31 in settings.json

Runs after the context is compacted, executing hooks.py via python3. From shanraisshan/claude-code-hooks.

not rated 536 +1 3mo ago A tokens not measured copy · 78% MIT

TaskCompleted

42

shanraisshan/claude-code-hooks

Hook Claude Code

One of 31 in settings.json

Runs when a task is marked completed, executing hooks.py via python3. From shanraisshan/claude-code-hooks.

not rated 536 +1 3mo ago A tokens not measured copy · 78% MIT

SessionStart

43

ooples/token-optimizer-mcp

Hook

One of 4 in hooks.json

Runs when a session starts, executing session-start.mjs via node. From ooples/token-optimizer-mcp.

not rated 507 today A tokens not measured original MIT

BeforeTool

44

ooples/token-optimizer-mcp

Hook

One of 4 in hooks.json

Runs on the BeforeTool event for read_file, search_file_content, glob, replace, write_file and run_shell_command tool calls, executing pre-tool.mjs via node. From ooples/token-optimizer-mcp.

not rated 507 today A tokens not measured original MIT

AfterTool

45

ooples/token-optimizer-mcp

Hook

One of 4 in hooks.json

Runs on the AfterTool event for replace, write_file and run_shell_command tool calls, executing post-tool.mjs via node. From ooples/token-optimizer-mcp.

not rated 507 today A tokens not measured original MIT

PreToolUse

46

caura-ai/caura

Hook Claude Code

One of 2 in settings.json

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

not rated 475 +3 today A tokens not measured original Apache-2.0

SessionStart

47

notque/vexjoy-agent

Hook Claude Code

One of 11 in settings.json

Runs when a session starts, executing sync-to-user-claude.py, afk-mode.py, session-context.py, cross-repo-agents.py, fish-shell-detector.py, zsh-shell-detector.py, sapcc-go-detector.py, operator-context-detector.py, session-github-briefing.py, session-adr-health-check.py, team-config-loader.py…

not rated 419 yesterday A tokens not measured original MIT

PreToolUse

48

notque/vexjoy-agent

Hook Claude Code

One of 11 in settings.json

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…

not rated 419 yesterday 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: