Claude Code hooks

342 tagged Claude Code, measured the same way as everything else here.

Browse within: claude-code-plugin 468ai-coding 176cli 173cursor 160agents 118agentic-ai 106agent-orchestration 92ai-tools 85LLM 75agentic-coding 71claude-ai 70claude-plugin 69agent-memory 62skills 62

SessionStart

25

nota-america/forgecat-agent-profiles

Hook Claude Code

One of 2 in settings.json

Runs when a session starts, executing _fc_wrap.sh. From nota-america/forgecat-agent-profiles.

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

UserPromptSubmit

26

sysnet4admin/_Book_Claude-Code

Hook Claude Code

One of 2 in settings.json

Runs when you submit a prompt, before the agent sees it, running date >> last_prompting_history.log. From sysnet4admin/_Book_Claude-Code.

not rated 83 10d ago A tokens not measured

SessionStart

27

k-kolomeitsev/data-structure-protocol

Hook Claude Code

One of 5 in settings.json

Runs when a session starts, executing dsp-session-start.sh. From k-kolomeitsev/data-structure-protocol.

not rated 67 3mo ago A tokens not measured original Apache-2.0

SessionStart

28

IAPro-Community/Orquestrador-Maestro

Hook Claude Code

One of 8 in hooks.json

Runs when a session starts on startup, resume, clear and compact, executing hook.js via node. From IAPro-Community/Orquestrador-Maestro.

not rated 66 +2 today A tokens not measured original Apache-2.0

SubagentStop

29

jubscodes/get-shit-pretty

Hook Claude Code

One of 3 in hooks.json

Runs when a subagent finishes for gsp-project-designer, gsp-project-researcher, gsp-project-critic, gsp-brand-creative-director, gsp-brand-engineer, gsp-project-builder, gsp-project-reviewer, gsp-accessibility-auditor, gsp-brand-auditor, gsp-brand-researcher, gsp-brand-strategist, gsp-polisher and gsp-brand-coherence…

not rated 59 +1 5mo ago A tokens not measured original MIT

Stop

30

Mexregkan/claude-for-researchers

Hook Claude Code

One of 3 in settings.json

Runs when the agent finishes a response, executing promise-checker.sh and reap-wolfram.sh via bash (2 commands). From Mexregkan/claude-for-researchers.

not rated 54 changed 2mo ago A tokens not measured original MIT archived

PreToolUse

31

YuDefine/nuxt-supabase-starter

Hook Claude Code

One of 8 in settings.json

Runs before the agent uses a tool for Bash, Edit, Write, Edit, Write, Agent, Artifact, Bash, Bash, Bash, Bash, Bash, Bash, Bash, Bash, Bash, Bash, Bash, Bash, Bash, Bash, Bash, Bash, Bash, Bash, Bash, Monitor, Bash, Bash, Bash, Bash, Edit, Write, Edit, Write, MultiEdit, Edit, Write, MultiEdit, NotebookEdit, Edit…

not rated 45 today A tokens not measured original MIT

PostToolUse

32

aleclindz/seo-skill-bench

Hook Claude Code

One of 3 in settings.json

Runs after a tool call finishes for Write and Edit tool calls, running an inline shell check. From aleclindz/seo-skill-bench.

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

SessionStart

33

kochetkov-ma/claude-brewcode

Hook Claude CodeCodex

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

not rated 41 +1 yesterday A tokens not measured original MIT

SessionStart

34

yucai0302/memory-loop

Hook Claude Code

One of 2 in hooks.json

Runs when a session starts, executing session-start.sh via bash. From yucai0302/memory-loop.

not rated 32 5mo ago A tokens not measured

PostToolUse

35

sampleXbro/agentsmesh

Hook Claude Code

One of 5 in hooks.json

Runs after a tool call finishes for Edit and Write tool calls, running an inline shell check. From sampleXbro/agentsmesh.

not rated 31 +1 changed 2mo ago A tokens not measured original MIT

PostCompact

36

IdoCohen560/claude-unity-game-studio

Hook Claude Code

One of 10 in settings.json

Runs after the context is compacted, executing post-compact.sh via bash. From IdoCohen560/claude-unity-game-studio.

not rated 30 4mo ago A tokens not measured copy · 48% MIT

PostToolUse

37

SaravananJaichandar/world-model-mcp

Hook Claude Code

One of 5 in settings.json

Runs after a tool call finishes for Edit, Write, Bash and Read tool calls, executing world-model-capture.js via node. From SaravananJaichandar/world-model-mcp.

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

PostToolUseFailure

38

onurpolat05/ALBA

Hook Claude Code

One of 7 in settings.json

Runs when a tool call fails, executing error-logger.sh via bash. From onurpolat05/ALBA.

not rated 25 changed 27d ago A tokens not measured original MIT

Stop

39

oikon48/claudecode-book

Hook Claude Code

One of 4 in settings.json

A completion hook that displays a macOS notification when the coding agent finishes a response. A hook is an automatic action triggered by a specified event.

not rated 25 3mo ago A tokens not measured original MIT

SessionStart

40

sgx-labs/statelessagent

Hook Claude Code

One of 5 in settings.json

Runs when a session starts, running same hook session-bootstrap (3 commands). From sgx-labs/statelessagent.

not rated 24 1mo ago A tokens not measured

PreToolUse

41

JotJunior/cstk

Hook Claude Code

One of 2 in hooks.json

Runs before the agent uses a tool, executing pretooluse.sh via sh. From JotJunior/cstk.

not rated 24 changed 1mo ago A tokens not measured original MIT

PermissionRequest

42

EduardMaghakyan/ipe

Hook Claude Code

Runs when the agent asks permission for an action for ExitPlanMode tool calls, running ipe. From EduardMaghakyan/ipe.

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

SessionStart

43

michalstrnadel/AgentBar

Hook Claude Code

One of 7 in hooks.json

Runs when a session starts, executing agentbar.js via node. From michalstrnadel/AgentBar.

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

SessionStart

44

XTSoftwareLabs/neatcontext-plugins

Hook Claude Code

Runs when a session starts on startup, resume, clear and compact, executing session-start.mjs via node. From XTSoftwareLabs/neatcontext-plugins.

not rated 13 3mo ago A tokens not measured original MIT

PostToolUse

45

ai-plugin-marketplace/template

Hook Claude Code

Runs after a tool call finishes for write_file tool calls, running an inline shell check. From ai-plugin-marketplace/template.

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

Stop

46

SPHINX998/forged-in-prod

Hook Claude Code

One of 2 in settings.json

Runs when the agent finishes a response, executing worklog_reminder.py via python. From SPHINX998/forged-in-prod.

not rated 11 4mo ago A tokens not measured original MIT

PreToolUse

47

ezBuilder/code-brain

Hook Claude Code

One of 5 in settings.json

Runs before the agent uses a tool for Bash, Read, Edit and Write tool calls, executing block-dangerous.sh, block-secret-commit.sh and protect-secrets.sh (3 commands). From ezBuilder/code-brain.

not rated 11 3mo ago A tokens not measured original Apache-2.0

PreToolUse

48

RealManage/dx-training

Hook Claude Code

One of 3 in settings.json

Runs before the agent uses a tool for Bash and Edit tool calls, running an inline shell check (2 commands). From RealManage/dx-training.

not rated 10 1mo ago A tokens not measured

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: