Building agents hooks

117 tagged Building agents, measured the same way as everything else here.

Browse within: claude-code-plugin 178agents 100ai-coding 99agentic-ai 80cli 73LLM 72cursor 55ai-tools 45mcp-server 35claude-plugin 34agentic-workflow 31agent-orchestration 30Orchestration 29nextjs 29

Stop

25

Yaomeng1749/claude-code-digital-nomad-config-pack

Hook Claude Code

One of 7 in hooks.json

Runs when the agent finishes a response, executing run-with-flags.js via node (6 commands). From Yaomeng1749/claude-code-digital-nomad-config-pack.

not rated 4 5mo ago A tokens not measured

SessionStart

26

quay/ai-helpers

Hook Claude Code

One of 2 in settings.json

Runs when a session starts, executing session-setup.sh. From quay/ai-helpers.

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

UserPromptSubmit

27

rhtevan/agentfs

Hook Claude Code

One of 3 in hooks.json

Runs when you submit a prompt, before the agent sees it for ^[Hh]ey tool calls, executing detect-hey.sh. From rhtevan/agentfs.

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

UserPromptSubmit

28

cloudguo123/atomlane

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing task_assessment_hook.py via python3. From cloudguo123/atomlane.

not rated 1 4d ago A tokens not measured original MPL-2.0

SessionStart

29

PedroHenrique0713/brain-template

Hook Claude Code

One of 2 in settings.json

Runs when a session starts on compact, executing pos-compactacao.sh. From PedroHenrique0713/brain-template.

not rated 1 3d ago A tokens not measured original MIT

BeforeTool

30

Checkmarx/cx-agentic-ai

Hook Claude Code

One of 2 in hooks.json

Runs on the BeforeTool event for mcp_.*, WriteFile, write_file, write_.*, replace, mcp_.*, WriteFile, write_file, write_.*, replace and run_shell_command tool calls, executing cx_check.sh, cx_run.sh and cx_record_login.sh via sh with --gemini-cli (4 commands). From Checkmarx/cx-agentic-ai.

not rated 0 today A tokens not measured original Apache-2.0

SessionStart

31

shanmukha-here/agentroots

Hook Claude Code

One of 8 in hooks.json

Runs when a session starts, executing hook.mjs via node. From shanmukha-here/agentroots.

not rated 0 23d ago A tokens not measured original Apache-2.0

PostToolUse

32

chenyk1992/codex-mimo

Hook Claude Code

One of 4 in hooks.json

Runs after a tool call finishes for ^(mcp__codex[-_]mimocode__, codex[-_]mimocode/)?mimo_(ask, implement and resume)$ tool calls, executing codex-cli.js via node. From chenyk1992/codex-mimo.

not rated 0 4d 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: