Testing hooks

580 tagged Testing, measured the same way as everything else here.

Browse within: tdd 47code-quality 31regression-testing 19codex-plugin 16github-copilot 15claude-plugin 13agent-orchestration 12gemini-cli 12spec-driven-development 11agentic-workflow 10plugin 10api-testing 9codex-cli 9typescript 9

PreToolUse

01

diegosouzapw/OmniRoute

Hook Claude Code

Runs before the agent uses a tool for Skill, Read, Edit and Bash tool calls, executing log-tool.mjs via node. From diegosouzapw/OmniRoute.

59k yesterday A tokens not measured original MIT

PreToolUse

02

promptfoo/promptfoo

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From promptfoo/promptfoo.

25k yesterday A tokens not measured original MIT

PostToolUse

03

promptfoo/promptfoo

Hook Claude Code

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

25k yesterday A tokens not measured original MIT

UserPromptSubmit

04

appium/appium

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, running codegraph prompt-hook. From appium/appium.

22k 2d ago A tokens not measured original Apache-2.0

SessionStart

05

jnMetaCode/superpowers-zh

Hook

Runs when a session starts on startup, clear and compact, executing run-hook.cmd. From jnMetaCode/superpowers-zh.

7.9k 14d ago A tokens not measured copy · 100% MIT

PreToolUse

06

FastLED/FastLED

Hook Claude Code

Runs before the agent uses a tool for Write, Bash, Edit and Write tool calls, executing check_forbidden_commands.py, check_test_file_pairing.py, protect_example_ino.py, check_pr_merge_reviews.py, rust_tool_guard.py, tdd_guard.py and protect_platform_headers.py (7 commands). From FastLED/FastLED.

7.5k 4d ago A tokens not measured original MIT

PostToolUse

07

FastLED/FastLED

Hook Claude Code

Runs after a tool call finishes for Edit and Write tool calls, executing lint-on-save.py, auto_test_suggest.py and compile_example.py (3 commands). From FastLED/FastLED.

7.5k 4d ago A tokens not measured copy · 83% MIT

PreToolUse

08

czlonkowski/n8n-skills

Hook

Runs before the agent uses a tool for ^mcp__.*__get_node$, ^mcp__.*__n8n_create_workflow$, ^mcp__.*__(n8n_update_partial_workflow, n8n_update_full_workflow)$, ^mcp__.*__(validate_workflow, n8n_validate_workflow)$, ^mcp__.*__n8n_test_workflow$, ^mcp__.*__n8n_instances$ and ^mcp__.*__n8n_manage_credentials$ tool calls…

6.2k 3d ago A tokens not measured original MIT

PreToolUse

09

gnekt/My-Brain-Is-Full-Crew

Hook Claude Code

Runs before the agent uses a tool for Edit and Write tool calls, executing protect-system-files-wrapper.sh via bash. From gnekt/My-Brain-Is-Full-Crew.

3.5k 2mo ago A tokens not measured

PostToolUse

10

gnekt/My-Brain-Is-Full-Crew

Hook Claude Code

Runs after a tool call finishes for Write tool calls, executing validate-frontmatter-wrapper.sh via bash. From gnekt/My-Brain-Is-Full-Crew.

3.5k 2mo ago A tokens not measured

Notification

11

gnekt/My-Brain-Is-Full-Crew

Hook Claude Code

Runs when the agent sends a notification, executing notify-wrapper.sh via bash. From gnekt/My-Brain-Is-Full-Crew.

3.5k 2mo ago A tokens not measured

PreToolUse

12

Chachamaru127/claude-code-harness

Hook

Runs before the agent uses a tool for Write, Edit, MultiEdit, Bash, Read, AskUserQuestion, Write, Edit, mcp__chrome-devtools__.*, mcp__playwright__.* and mcp__plugin_playwright_playwright__.* tool calls, running an inline shell check (5 commands). From Chachamaru127/claude-code-harness.

3.1k 2d ago A tokens not measured original MIT

PermissionRequest

13

Chachamaru127/claude-code-harness

Hook

Runs when the agent asks permission for an action for Edit, Write, MultiEdit and Bash tool calls, running an inline shell check (2 commands). From Chachamaru127/claude-code-harness.

3.1k 2d ago A tokens not measured copy · 86% MIT

PostToolUse

14

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 14d ago A tokens not measured

Stop

15

FluidInference/FluidAudio

Hook Claude Code

Runs when the agent finishes a response for \.swift$ tool calls, running swift format --in-place --recursive --configuration .swift-f. From FluidInference/FluidAudio.

2.7k 9d ago A tokens not measured original Apache-2.0

SubagentStop

16

huggingface/OpenEnv

Hook Claude Code

Runs when a subagent finishes for tester, implementer and docs-updater tool calls, executing after-tester.sh, after-implementer.sh and after-docs-updater.sh (3 commands). From huggingface/OpenEnv.

2.5k 3d ago A tokens not measured original BSD-3-Clause

PreToolUse

17

nizos/tdd-guard

Hook

Runs before the agent uses a tool for Write, Edit, MultiEdit and TodoWrite tool calls, running npx tdd-guard@latest. From nizos/tdd-guard.

2.3k 16d ago A tokens not measured original MIT

UserPromptSubmit

18

nizos/tdd-guard

Hook

Runs when you submit a prompt, before the agent sees it, running npx tdd-guard@latest. From nizos/tdd-guard.

2.3k 16d ago A tokens not measured original MIT

SessionStart

19

nizos/tdd-guard

Hook

Runs when a session starts on startup, resume and clear, running npx tdd-guard@latest. From nizos/tdd-guard.

2.3k 16d ago A tokens not measured original MIT

Stop

20

levy-street/world-of-claudecraft

Hook Claude Code

Runs when the agent finishes a response, executing qa-stop.sh. From levy-street/world-of-claudecraft.

2.2k yesterday A tokens not measured original MIT

SessionStart

21

maxritter/pilot-shell

Hook

Runs when a session starts on startup, resume, clear, compact, startup, startup, resume, clear, compact, startup, clear, compact, clear and compact, executing license_check.py, licensed_assets_sync.py, codex_skill_sync.py, cc_skill_sync.py and run_if_licensed.py via uv with --no-project, --python and --exec (13…

2.1k +2 changed today A tokens not measured

PreToolUse

22

maxritter/pilot-shell

Hook

Runs before the agent uses a tool for Write, Edit, MultiEdit, EnterPlanMode, Edit, Write, MultiEdit, Bash, WebSearch, WebFetch, Grep, Glob and Bash tool calls, executing run_if_licensed.py via uv with --no-project and --python (4 commands). From maxritter/pilot-shell.

2.1k +2 changed today A tokens not measured

PostToolUse

23

maxritter/pilot-shell

Hook

Runs after a tool call finishes for Write, Edit, MultiEdit, EnterPlanMode, ExitPlanMode, Write, Edit and MultiEdit tool calls, executing run_if_licensed.py via uv with --no-project, --python and --exec (5 commands). From maxritter/pilot-shell.

2.1k +2 changed today A tokens not measured

PostToolUse

24

doobidoo/mcp-memory-service

Hook Claude Code

Runs after a tool call finishes for Write and Edit tool calls, executing post_edit_py_tests.sh via bash. From doobidoo/mcp-memory-service.

1.9k 4d ago A tokens not measured original Apache-2.0