Hooks for Claude Code

1,197 that install into Claude Code. Same mod, same page, whichever agent you run: a URL per tool would split one page into five that compete.

UserPromptSubmit

25

alibaba/skill-up

Hook Claude Code ✓ vendor

One of 4 in hooks.json

Runs when you submit a prompt, before the agent sees it, executing observer.py via python3. From alibaba/skill-up.

not rated 1.2k +47 2d ago A tokens not measured original Apache-2.0

SessionStart

26

AgentWorkforce/relay

Hook Claude Code

One of 3 in hooks.json

Runs when a session starts, executing session-start.sh via bash. From AgentWorkforce/relay.

not rated 887 +12 today A tokens not measured original Apache-2.0

PostToolUse

27

AgriciDaniel/codex-seo

Hook Claude Code

Runs after a tool call finishes for Edit and Write tool calls, executing validate-schema.py via python3. From AgriciDaniel/codex-seo.

not rated 823 +19 1mo ago A tokens not measured

PostToolUse

28

citypaul/.dotfiles

Hook Claude Code

One of 2 in settings.json

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

not rated 742 +2 9d ago A tokens not measured

SessionStart

29

vybestack/llxprt-code

Hook Claude Code

Runs when a session starts, executing on-start.js via node. From vybestack/llxprt-code.

not rated 702 +2 yesterday A tokens not measured copy · 100% Apache-2.0

PreToolUse

30

anthropics/cwc-long-running-agents

Hook Claude Code ✓ vendor

One of 3 in settings.json

Runs before the agent uses a tool for Read, Write and Edit tool calls, executing kill-switch.sh, steer.sh, track-read.sh and verify-gate.sh (4 commands). From anthropics/cwc-long-running-agents.

not rated 696 +3 5mo ago A tokens not measured original Apache-2.0

UserPromptSubmit

31

EverMind-AI/SkillCorpus

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing hook.mjs via node. From EverMind-AI/SkillCorpus.

not rated 686 +2 3d ago A tokens not measured original Apache-2.0

PreToolUse

32

Matt-Dionis/claude-code-configs

Hook Claude Code

One of 2 in hooks.json

Runs before the agent uses a tool for Edit, MultiEdit, Write and Bash tool calls, executing Next.js via sh (2 commands). From Matt-Dionis/claude-code-configs.

not rated 619 +2 1y ago A tokens not measured original MIT

PreToolUse

33

alibaba/anolisa

Hook Claude Code ✓ vendor

One of 4 in hooks.json

Runs before the agent uses a tool for Bash tool calls, executing code_scanner_hook.py, observability_hook.py and pii_checker_hook.py via python3 (3 commands). From alibaba/anolisa.

not rated 603 1mo ago A tokens not measured original Apache-2.0

PostToolUse

34

operately/operately

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. From operately/operately.

not rated 586 +6 yesterday A tokens not measured

PostToolUse

35

agulli/atlas-agents

Hook Claude Code

One of 4 in settings.json

Runs after a tool call finishes for Write, Edit and MultiEdit tool calls, running an inline shell check. From agulli/atlas-agents.

not rated 583 +3 3mo ago A tokens not measured

SessionStart

36

ooples/token-optimizer-mcp

Hook Claude Code

One of 4 in hooks.json

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

not rated 551 +7 today A tokens not measured original MIT

SessionStart

37

josstei/maestro-orchestrate

Hook Claude Code

One of 4 in hooks.json

Runs when a session starts, executing hook-runner.js via node. From josstei/maestro-orchestrate.

not rated 485 +20 today A tokens not measured original Apache-2.0

BeforeAgent

38

galdawave/pickle-rick-extension

Hook Claude Code

One of 3 in hooks.json

Runs on the BeforeAgent event, executing dispatch.js via node (2 commands). From galdawave/pickle-rick-extension.

not rated 453 +1 5mo ago A tokens not measured original Apache-2.0

SessionStart

39

devcodex-labs/devcodex

Hook Claude Code

One of 6 in hooks.json

Runs when a session starts, executing session-start.cjs via node. From devcodex-labs/devcodex.

not rated 439 +1 7d ago A tokens not measured AGPL-3.0

PreToolUse

40

Agent-Threat-Rule/agent-threat-rules

Hook Claude Code

Runs before the agent uses a tool, executing atr_scan.py via python3. From Agent-Threat-Rule/agent-threat-rules.

not rated 417 +7 yesterday A tokens not measured original MIT

PostToolUse

41

cloudwego/abcoder

Hook Claude Code

One of 3 in settings.json

Runs after a tool call finishes for Write, Edit, mcp__abcoder__list_repos, mcp__abcoder__get_repo_structure, mcp__abcoder__get_package_structure and mcp__abcoder__get_file_structure tool calls, executing need_update.sh, prompt.sh and reminder.sh (3 commands). From cloudwego/abcoder.

not rated 390 1mo ago A tokens not measured original Apache-2.0

UserPromptSubmit

42

databricks/databricks-agent-skills

Hook Claude Code ✓ vendor

One of 3 in hooks.json

Runs when you submit a prompt, before the agent sees it, executing databricks-router.py via python3. From databricks/databricks-agent-skills.

not rated 352 +5 2d ago A tokens not measured

PreToolUse

43

zhukunpenglinyutong/ai-max

Hook Claude Code

One of 3 in hooks.json

Runs before the agent uses a tool for tool == "Bash" && tool_input.command matches "(npm run dev, pnpm( run)? dev, yarn dev, bun run dev)", tool == "Bash" && tool_input.command matches "(npm (install, test), pnpm (install, test), yarn (install, test), bun (install, test), cargo build, make, docker, pytest, vitest…

not rated 336 +1 8mo ago A tokens not measured original MIT

AfterAgent

44

gemini-cli-extensions/ralph

Hook Claude Code

Runs on the AfterAgent event, executing stop-hook.sh. From gemini-cli-extensions/ralph.

not rated 329 +1 8mo ago A tokens not measured original Apache-2.0

SessionStart

45

linkerlin/PUAX

Hook Claude Code

One of 3 in hooks.json

Runs when a session starts on startup, clear and compact, executing hook.js via node. From linkerlin/PUAX.

not rated 324 29d ago A tokens not measured original MIT

SessionStart

46

realchendahuang/FlareMo

Hook Claude Code

One of 4 in hooks.json

Runs when a session starts on startup, resume, clear and compact, running "$HOME/.flaremo/bin/flaremo-hook" codex session-start. From realchendahuang/FlareMo.

not rated 312 +8 changed 23d ago A tokens not measured AGPL-3.0

PreToolUse

47

Signet-AI/signetai

Hook Claude Code

One of 4 in hooks.json

Runs before the agent uses a tool, running signet hook notifications -H codex --hook PreToolUse --codex. From Signet-AI/signetai.

not rated 309 +4 3d ago A tokens not measured

SessionStart

48

kbanc85/claudia

Hook Claude Code

One of 2 in hooks.json

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

not rated 299 +1 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: