workflow hooks

69 tagged workflow, measured the same way as everything else here.

Browse within: agent-orchestration 25plugin 11agentic 9state-machine 8tdd 6claude-plugin 5

PostToolUse

01

n8n-io/n8n

Hook Claude Code

Runs after a tool call finishes for Skill tool calls, executing track-skill-usage.mjs via node. From n8n-io/n8n.

203k 2d ago A tokens not measured

UserPromptSubmit

02

dagster-io/dagster

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, running ERK_HOOK_ID=user-prompt-hook erk exec user-prompt-hook. From dagster-io/dagster.

16k 3d ago A tokens not measured original Apache-2.0

PreToolUse

03

dagster-io/dagster

Hook Claude Code

Runs before the agent uses a tool for ExitPlanMode tool calls, running ERK_HOOK_ID=exit-plan-mode-hook erk exec exit-plan-mode-hook. From dagster-io/dagster.

16k 3d ago A tokens not measured original Apache-2.0

SessionStart

04

HughYau/qiushi-skill

Hook

Runs when a session starts on startup, clear and compact, executing run-hook.cmd. From HughYau/qiushi-skill.

3.8k 5d ago A tokens not measured copy · 86% MIT

PreToolUse

05

rohitg00/pro-workflow

Hook

Runs before the agent uses a tool for tool == "Edit", tool == "Write", Read, Bash, tool == "Edit" and tool == "Write" tool calls, executing quality-gate.js, read-before-write.js, reread-tracker.js, tool-call-budget.js, git-blast-radius.js, pre-commit-check.js, commit-validate.js, pre-push-check.js and secret-scan.js…

2.8k 14d ago A tokens not measured

PostToolUse

06

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

07

rohitg00/pro-workflow

Hook

Runs when the agent finishes a response, executing session-check.js and learn-capture.js via node (2 commands). From rohitg00/pro-workflow.

2.8k 14d ago A tokens not measured

SessionStart

08

sirsjg/flux

Hook Claude Code

Runs when a session starts, running flux ready --json. From sirsjg/flux.

98 5d ago A tokens not measured original MIT

PermissionRequest

09

wanghao9610/STAR

Hook Claude Code

Runs when the agent asks permission for an action for ExitPlanMode tool calls, executing star_plan_gate.sh. From wanghao9610/STAR.

45 yesterday A tokens not measured original MIT

PreToolUse

10

wanghao9610/STAR

Hook Claude Code

Runs before the agent uses a tool for Edit, Write, NotebookEdit and Bash tool calls, executing star_involve_gate.sh, star_commit_guard.sh and star_bash_gate.sh (3 commands). From wanghao9610/STAR.

45 yesterday A tokens not measured original MIT

SessionStart

11

wanghao9610/STAR

Hook Claude Code

Runs when a session starts, executing star_model_id.sh and star_memory.sh (2 commands). From wanghao9610/STAR.

45 yesterday A tokens not measured original MIT

PreToolUse

12

WaterplanAI/agentic-config

Hook

Runs before the agent uses a tool, executing tool-audit.py via uv with --no-project and --script. From WaterplanAI/agentic-config.

30 1mo ago A tokens not measured original MIT

PreToolUse

14

jie-worldstatelabs/stagent

Hook

Runs before the agent uses a tool for Agent, Bash and AskUserQuestion tool calls, executing agent-guard.sh, plugin-path-rewrite.sh, ask-user-question-hook.sh and activity-hook.sh (4 commands). From jie-worldstatelabs/stagent.

25 3mo ago A tokens not measured

PostToolUse

15

jie-worldstatelabs/stagent

Hook

Runs after a tool call finishes for Write, Edit, MultiEdit, Agent and AskUserQuestion tool calls, executing postwrite-hook.sh, agent-ledger-add.sh, ask-user-question-hook.sh and activity-hook.sh (4 commands). From jie-worldstatelabs/stagent.

25 3mo ago A tokens not measured

SessionStart

16

dioptx/weft

Hook

Runs when a session starts, executing weft-sessionstart.sh via bash. From dioptx/weft.

20 16d ago A tokens not measured original MIT

PreToolUse

17

dioptx/weft

Hook

Runs before the agent uses a tool for Bash, Edit, Write and Agent tool calls, executing weft-pretooluse.sh via bash. From dioptx/weft.

20 16d ago A tokens not measured original MIT

Stop

18

dioptx/weft

Hook

Runs when the agent finishes a response, executing weft-stop.sh via bash. From dioptx/weft.

20 16d ago A tokens not measured copy · 53% MIT

PreToolUse

19

tae0y/python-project-template

Hook Claude Code

Runs before the agent uses a tool for Write, Write, Edit, Read and Bash tool calls, executing check-new-test-file.sh and guard-settings-files.sh (2 commands). From tae0y/python-project-template.

14 24d ago A tokens not measured

PostToolUse

20

tae0y/python-project-template

Hook Claude Code

Runs after a tool call finishes for Write, Edit and Bash tool calls, executing check-external-lib-usage.sh, check-pre-commit-gate.sh and check-commit-convention.sh (3 commands). From tae0y/python-project-template.

14 24d ago A tokens not measured

SessionStart

22

hxt9805/cadence

Hook

Runs when a session starts on startup, clear and compact, executing run-hook.cmd. From hxt9805/cadence.

5 1mo ago A tokens not measured copy · 86% MIT

SessionStart

23

bengous/claude-code-plugins

Hook Claude Code

Runs when a session starts, executing version-tracker.sh and setup-check.sh with --quiet (2 commands). From bengous/claude-code-plugins.

4 2d ago A tokens not measured copy · 50% MIT

PreToolUse

24

bengous/claude-code-plugins

Hook Claude Code

Runs before the agent uses a tool for Bash, Edit, Write and Bash tool calls, executing guard-destructive.ts, guard-main-branch.ts, guard-git-push.ts and guard-settings-json.ts via bun (4 commands). From bengous/claude-code-plugins.

4 2d ago A tokens not measured original MIT