javascript hooks

27 tagged javascript, measured the same way as everything else here.

Browse within: typescript 9aot-compilation 8compiler 8garbage-collection 8nodejs 8wasm-gc 8

SessionStart

01

react/react

Hook Claude Code

Runs when a session starts, running an inline shell check. From react/react.

248k 4d ago B tokens not measured original MIT

PreToolUse

02

oven-sh/bun

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing pre-bash-guard.js. From oven-sh/bun.

96k +21 today A tokens not measured

PostToolUse

03

oven-sh/bun

Hook Claude Code

Runs after a tool call finishes for Write, Edit and MultiEdit tool calls, executing post-edit-format.js. From oven-sh/bun.

96k +21 today A tokens not measured

SessionStart

04

TryGhost/Ghost

Hook Claude Code

Runs when a session starts, executing nvm-path.sh via bash. From TryGhost/Ghost.

55k +8 today A tokens not measured original MIT

PostToolUse

05

vercel/ai

Hook Claude Code

Runs after a tool call finishes for Write and Edit tool calls, running pnpm fix. From vercel/ai.

27k +14 today A tokens not measured

PreToolUse

06

fallow-rs/fallow

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing pre-bash-guard.py with --show-toplevel, --cached, --name-only and --diff-filter (2 commands). From fallow-rs/fallow.

4.4k 2d ago A tokens not measured original MIT

SessionStart

07

fallow-rs/fallow

Hook Claude Code

Runs when a session starts, executing scan-hidden-unicode.py via python3 with --mode. From fallow-rs/fallow.

4.4k 2d ago A tokens not measured original MIT

Stop

08

fallow-rs/fallow

Hook Claude Code

Runs when the agent finishes a response, executing check-comment-quality.mjs with --show-toplevel, --working-tree and --claude-hook. From fallow-rs/fallow.

4.4k 2d ago A tokens not measured original MIT

PreToolUse

09

MetaMask/metamask-mobile

Hook Claude Code

Runs before the agent uses a tool for Skill tool calls, executing hook-claude-dispatch.sh. From MetaMask/metamask-mobile.

3.0k +1 today A tokens not measured

UserPromptSubmit

10

SonicJs-Org/sonicjs

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, running echo '. From SonicJs-Org/sonicjs.

1.7k 3d ago A tokens not measured original MIT

SessionStart

11

growthxai/output

Hook

Runs when a session starts, running an inline shell check. From growthxai/output.

434 3d ago A tokens not measured original Apache-2.0

PreToolUse

12

karmacircleCommunity/KarmaCircle

Hook Claude Code

Runs before the agent uses a tool for Glob and Grep tool calls, running an inline shell check. From karmacircleCommunity/KarmaCircle.

396 2d ago A tokens not measured original MIT

SessionStart

13

karmacircleCommunity/KarmaCircle

Hook Claude Code

Runs when a session starts, running an inline shell check. From karmacircleCommunity/KarmaCircle.

396 2d ago A tokens not measured original MIT

PreToolUse

14

saeloun/miru-web

Hook Claude Code

Runs before the agent uses a tool for Skill tool calls, executing check-gstack.sh. From saeloun/miru-web.

266 10d ago A tokens not measured copy · 55% MIT

PreToolUse

15

joelmoss/proscenium

Hook Claude Code

Runs before the agent uses a tool for Edit and Write tool calls, running an inline shell check. From joelmoss/proscenium.

104 5d ago A tokens not measured MIT

PostToolUse

16

joelmoss/proscenium

Hook Claude Code

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

104 5d ago A tokens not measured MIT

SessionStart

17

loopdive/js2

Hook Claude Code

Runs when a session starts, executing prune-agent-status.mjs, reconcile-tasklist.mjs, sync-current-tasklist.mjs, sync-workspace-main.sh, ensure-sshd.sh and usage-limit-monitor.sh via node with --quiet (6 commands). From loopdive/js2.

59 yesterday A tokens not measured original Apache-2.0

PreToolUse

18

loopdive/js2

Hook Claude Code

Runs before the agent uses a tool for Bash, Bash, Bash, Bash, Bash, Bash, Bash, Bash, Agent and Agent tool calls, executing check-cwd.sh, pre-git-commit.sh, block-no-verify.sh, check-commit-author.sh, pre-merge.sh, check-worktree-path.sh, pre-git-push-loc.sh and pre-agent-spawn.sh with --arg (10 commands). From…

59 yesterday A tokens not measured original Apache-2.0

PostToolUse

19

loopdive/js2

Hook Claude Code

Runs after a tool call finishes for Edit, Write and Bash tool calls, executing post-file-edit.sh and provision-worktree.sh (3 commands). From loopdive/js2.

59 yesterday A tokens not measured original Apache-2.0

Stop

21

clankercode/claude-inject-idle-time

Hook

Runs when the agent finishes a response, executing stop.js via node. From clankercode/claude-inject-idle-time.

5 2mo ago A tokens not measured