anthropic hooks

454 tagged anthropic, measured the same way as everything else here.

Browse within: claude-code-plugin 537ai-coding 226agentic-coding 127ai-tools 117claude-code-hooks 83ai-memory 75agentic-workflow 74agent-orchestration 73claude-plugin 73claude-ai 57ai-coding-assistant 54ai-assistant 48bash 46agentic 41

PreToolUse

25

ShipWithAI/claude-code-mastery

Hook Claude Code

One of 3 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing npm-audit-check.sh. From ShipWithAI/claude-code-mastery.

not rated 93 1mo ago A tokens not measured original MIT

PreCompact

26

shyftlabs/continuum

Hook Claude Code

One of 11 in settings.json

Runs before the context is compacted for manual and auto tool calls, executing hook-handler.cjs via sh (4 commands). From shyftlabs/continuum.

not rated 84 +1 2d ago A tokens not measured original Apache-2.0

PreToolUse

27

mukul975/Threatswarm

Hook Claude Code

One of 4 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing scope_check.py via python3. From mukul975/Threatswarm.

not rated 77 +2 4mo ago A tokens not measured original MIT

PreToolUse

28

MuhammadUsmanGM/claude-code-best-practices

Hook Claude Code

One of 3 in settings.json

Runs before the agent uses a tool for Write and Edit tool calls, executing block-secrets.sh via bash. From MuhammadUsmanGM/claude-code-best-practices.

not rated 76 +2 2mo ago A tokens not measured original MIT

PreToolUse

29

TOKTOKHAN-DEV/agent-company

Hook Claude Code

One of 3 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing guard-image-generation.sh via bash. From TOKTOKHAN-DEV/agent-company.

not rated 75 +1 9d ago A tokens not measured original MIT

SessionStart

30

dlupiak/claude-session-dashboard

Hook Claude Code

One of 3 in settings.json

Runs when a session starts, executing session-start.sh and start-dashboard.sh (2 commands). From dlupiak/claude-session-dashboard.

not rated 67 yesterday A tokens not measured original MIT

PostToolUse

31

Desko77/claude-code-skills-1c

Hook

One of 2 in hooks.json

Runs after a tool call finishes for Read, Edit, Write and MultiEdit tool calls, executing skill-suggester.mjs via node. From Desko77/claude-code-skills-1c.

not rated 55 +3 3d ago A tokens not measured original MIT

PreToolUse

32

lookfree/cc-harness

Hook Claude Code

One of 4 in settings.json

Runs before the agent uses a tool for Write and Edit tool calls, executing safety_check.sh with --write (2 commands). From lookfree/cc-harness.

not rated 47 1mo ago A tokens not measured original MIT

PreToolUse

33

TheAstrelo/Claude-Pipeline

Hook Claude Code

One of 3 in settings.json

Runs before the agent uses a tool for Edit and Write tool calls, executing protect-files.sh via bash. From TheAstrelo/Claude-Pipeline.

not rated 44 yesterday A tokens not measured original MIT

PostToolUse

34

shopwareLabs/ai-coding-tools

Hook Claude Code

One of 3 in settings.json

Runs after a tool call finishes for Skill tool calls, running an inline shell check. From shopwareLabs/ai-coding-tools.

not rated 43 +1 today A tokens not measured original MIT

PreToolUse

35

kenjudy/pdca-agentic-coding-framework

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing test_build.py. From kenjudy/pdca-agentic-coding-framework.

not rated 42 yesterday A tokens not measured

PreToolUse

36

chacosoldier/compabob

Hook Claude Code

One of 5 in settings.json

Runs before the agent uses a tool for Bash and Read tool calls, executing hook-block-dangerous.py, hook-comms-guard.py and hook-protect-secrets.py via python3 (3 commands). From chacosoldier/compabob.

not rated 32 2mo ago A tokens not measured original MIT

SessionStart

37

kochetkov-ma/claude-brewcode

Hook Codex

One of 2 in hooks.json

Runs when a session starts on startup, resume, clear and compact, executing session-start.mjs via node. From kochetkov-ma/claude-brewcode.

not rated 31 7d ago A tokens not measured

PreCompact

38

lukasz-fedor/claude-memory-template

Hook Claude Code

One of 2 in settings.json

Runs before the context is compacted, executing pre-compact-handover.py via python3. From lukasz-fedor/claude-memory-template.

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

PostToolUse

39

EchoingVesper/mcp-task-orchestrator

Hook Claude Code

One of 8 in settings.json

Runs after a tool call finishes for Edit, Write, MultiEdit, Edit, Write, MultiEdit, Edit, Write, MultiEdit, Bash, Read, Write, Edit, MultiEdit, Read, Write, Edit, MultiEdit and Read tool calls, executing markdown_lint_dispatcher.py, python_error_detector.py and post_read_linter.py with --porcelain (7 commands). From…

not rated 28 1y ago A tokens not measured original MIT archived

PreCompact

40

olgasafonova/miro-mcp-server

Hook Claude Code

One of 3 in settings.json

Runs before the context is compacted, running bd prime. From olgasafonova/miro-mcp-server.

not rated 26 5d ago A tokens not measured copy · 100% MIT

PreToolUse

41

LeeYudok/agents-scaffold

Hook Claude Code

One of 4 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing pre-commit.sh. From LeeYudok/agents-scaffold.

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

UserPromptSubmit

42

connerohnesorge/claude-agent-sdk-go

Hook Claude Code

One of 11 in settings.json

Runs when you submit a prompt, before the agent sees it, running conclaude UserPromptSubmit. From connerohnesorge/claude-agent-sdk-go.

not rated 24 2mo ago A tokens not measured

PostToolUse

43

lukas-grigis/ralphctl

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Edit and Write tool calls, executing format-edited-file.sh. From lukas-grigis/ralphctl.

not rated 23 today A tokens not measured copy · 45% MIT

PreToolUse

44

shanraisshan/agentic-engineering

Hook Claude Code

One of 28 in settings.json

Runs before the agent uses a tool, executing hooks.py via python3. From shanraisshan/agentic-engineering.

not rated 23 +1 4mo ago A tokens not measured

SessionStart

45

srtab/daiv

Hook Claude Code

One of 2 in settings.json

Runs when a session starts, executing session-start.sh. From srtab/daiv.

not rated 22 today A tokens not measured copy · 52% Apache-2.0

Stop

46

mohitbadwal/ringback

Hook Claude Code

One of 2 in settings.json

Runs when the agent finishes a response, executing stop_hook.py via python3. From mohitbadwal/ringback.

not rated 21 2mo ago A tokens not measured original Apache-2.0

PostToolUse

47

onurpolat05/ALBA

Hook Claude Code

One of 10 in settings.json

Runs after a tool call finishes for Bash tool calls, executing error-logger.sh via bash. From onurpolat05/ALBA.

not rated 20 1mo ago A tokens not measured original MIT

PreToolUse

48

eric-cielo/moflo

Hook Claude Code

One of 9 in settings.json

Runs before the agent uses a tool for ^(Write, Edit, MultiEdit)$, ^(Glob, Grep)$, ^Read$, ^(Bash, PowerShell)$ and ^Agent$ tool calls, executing gate-hook.mjs and hook-handler.cjs via node (9 commands). From eric-cielo/moflo.

not rated 18 2d 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: