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 335 ▲
+1 6mo ago A
tokens not measured
original MIT zhukunpenglinyutong/ai-max
Hook Claude Code
One of 3 in hooks.json
Runs after a tool call finishes for tool == "Bash", tool == "Edit" && tool_input.file_path matches "\\.(ts, tsx, js, jsx)$", tool == "Edit" && tool_input.file_path matches "\\.(ts, tsx)$", tool == "Edit" && tool_input.file_path matches "\\.(ts, tsx, js and jsx)$" tool calls, running #!/bin/bash (4 commands). From…
★ not rated 335 ▲
+1 6mo ago A
tokens not measured
copy · 91% MIT