claude-code hooks

6,658 tagged claude-code, measured the same way as everything else here.

Browse within: hooks 92agent-orchestration 88agent-memory 82agentic-coding 68claude-code-skills 65codex-cli 60ai-memory 53code-quality 52claude-plugin 51context-engineering 45Multi-Agent 44plugin 42claude-code-skill 40context-management 40

PostToolUse

49

breferrari/obsidian-mind

Hook Claude Code

Runs after a tool call finishes for Write and Edit tool calls, executing validate-write.ts via node with --disable-warning and --experimental-strip-types. From breferrari/obsidian-mind.

4.6k +13 9d ago A tokens not measured original MIT

SessionStart

50

eugeniughelbur/obsidian-second-brain

Hook

Runs when a session starts, executing load_vault_context.py via python3. From eugeniughelbur/obsidian-second-brain.

4.3k +30 today A tokens not measured original MIT

PostToolUse

51

eugeniughelbur/obsidian-second-brain

Hook

Runs after a tool call finishes for Write, Edit, MultiEdit, NotebookEdit and create_file tool calls, executing validate-ai-first.sh. From eugeniughelbur/obsidian-second-brain.

4.3k +30 today A tokens not measured original MIT

PostCompact

52

eugeniughelbur/obsidian-second-brain

Hook

Runs after the context is compacted, executing obsidian-bg-agent.sh. From eugeniughelbur/obsidian-second-brain.

4.3k +30 today A tokens not measured original MIT

PreCompact

53

nyldn/claude-octopus

Hook Claude Code

Runs before the context is compacted, running bd prime. From nyldn/claude-octopus.

4.0k +9 2d ago A tokens not measured original MIT

SessionStart

54

nyldn/claude-octopus

Hook Claude Code

Runs when a session starts, running bd prime. From nyldn/claude-octopus.

4.0k +9 2d ago A tokens not measured original MIT

PreToolUse

55

parcadei/Continuous-Claude-v3

Hook Claude Code

Runs before the agent uses a tool for Read, Edit, Write, Read, Grep, Task and Edit tool calls, executing pre-tool-use-broadcast.mjs, path-rules.mjs, tldr-read-enforcer.mjs, smart-search-router.mjs, tldr-context-inject.mjs, arch-context-inject.mjs, file-claims.mjs, edit-context-inject.mjs and signature-helper.mjs via…

3.9k +2 7mo ago A tokens not measured original MIT

SessionStart

56

parcadei/Continuous-Claude-v3

Hook Claude Code

Runs when a session starts on resume, compact, clear, startup and resume, executing persist-project-dir.sh, session_start.sh, session-register.mjs, hook_launcher.py, session-start-continuity.mjs and session-start-tldr-cache.mjs via bash (6 commands). From parcadei/Continuous-Claude-v3.

3.9k +2 7mo ago A tokens not measured original MIT

UserPromptSubmit

57

parcadei/Continuous-Claude-v3

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing skill-activation-prompt.mjs, hook_launcher.py, memory-awareness.mjs, impact-refactor.mjs and user_prompt_submit.sh via node (5 commands). From parcadei/Continuous-Claude-v3.

3.9k +2 7mo ago A tokens not measured original MIT

PreToolUse

58

matt1398/claude-devtools

Hook Claude Code

Runs before the agent uses a tool for Edit and Write tool calls, running an inline shell check. From matt1398/claude-devtools.

3.9k +7 3mo ago A tokens not measured original MIT

PostToolUse

59

matt1398/claude-devtools

Hook Claude Code

Runs after a tool call finishes for Edit, Write and NotebookEdit tool calls, running an inline shell check. From matt1398/claude-devtools.

3.9k +7 3mo ago A tokens not measured original MIT

SessionStart

60

matt1398/claude-devtools

Hook Claude Code

Runs when a session starts on compact, running an inline shell check. From matt1398/claude-devtools.

3.9k +7 3mo ago A tokens not measured original MIT

SessionStart

61

agenticnotetaking/arscontexta

Hook

Runs when a session starts, executing session-orient.sh. From agenticnotetaking/arscontexta.

3.5k +3 6mo ago A tokens not measured original MIT

PostToolUse

62

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 +3 6mo ago A tokens not measured original MIT

SessionStart

63

code-yeongyu/lazycodex

Hook

Runs when a session starts, executing cli.js via node. From code-yeongyu/lazycodex.

3.4k +13 24d ago A tokens not measured original MIT

PostToolUse

64

coder/claudecode.nvim

Hook Claude Code

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

3.0k +3 21d ago A tokens not measured copy · 52% MIT

PreToolUse

65

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 +5 yesterday A tokens not measured

PostToolUse

66

rohitg00/pro-workflow

Hook

Runs after a tool call finishes for tool == "Edit" && tool_input.file_path matches "\\.(ts, tsx, js, jsx, py, go, rs)$", tool == "Bash" && tool_input.command matches "(npm test, pnpm test, yarn test, pytest, go test and cargo test)" tool calls, executing post-edit-check.js and test-failure-check.js via node (2…

2.8k +5 yesterday A tokens not measured

Stop

67

rohitg00/pro-workflow

Hook

Runs when the agent finishes a response, executing session-check.js and learn-capture.js via node (2 commands). From rohitg00/pro-workflow.

2.8k +5 yesterday A tokens not measured

SessionStart

69

jeremylongshore/tons-of-skills-marketplace

Hook Claude Code

Runs when a session starts, executing check-mcp-plaintext-creds.mjs via node with --all-local (2 commands). From jeremylongshore/tons-of-skills-marketplace.

2.7k +4 today A tokens not measured original MIT

Stop

70

centminmod/my-claude-code-setup

Hook Claude Code

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

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

0

71

rohitg00/awesome-claude-code-toolkit

Hook

Runs on the 0 event for Bash tool calls, executing smart-approve.py via python3. From rohitg00/awesome-claude-code-toolkit.

2.6k +8 changed today A tokens not measured original Apache-2.0

1

72

rohitg00/awesome-claude-code-toolkit

Hook

Runs on the 1 event for Bash tool calls, executing block-dev-server.js via node. From rohitg00/awesome-claude-code-toolkit.

2.6k +8 changed today A tokens not measured original Apache-2.0