Skip to content
Testing
Hook

Hooks

What velocitai runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.

From plugin
velocitai
15813 skills1 agent2 hooks
Install
> /plugin marketplace add danielsuo117/velocitai
> /plugin install velocitai@velocitai-dev

Ships with velocitai. Installing the plugin gets these hooks.

What fires, and when

PreToolUse

  • MatchesWrite|Editif command -v py >/dev/null 2>&1; then py -3 "${CLAUDE_PLUGIN_ROOT}/scripts/gate_cli.py" --mode write; elif command -v python3 >/dev/null 2>&1; then python3 "${CLAUDE_PLUGIN_ROOT}/scripts/gate_cli.py" --mode write; else python "${CLAUDE_PLUGIN_ROOT}/scripts/gate_cli.py" --mode write; fi
  • MatchesBashif command -v py >/dev/null 2>&1; then py -3 "${CLAUDE_PLUGIN_ROOT}/scripts/gate_cli.py" --mode commit; elif command -v python3 >/dev/null 2>&1; then python3 "${CLAUDE_PLUGIN_ROOT}/scripts/gate_cli.py" --mode commit; else python "${CLAUDE_PLUGIN_ROOT}/scripts/gate_cli.py" --mode commit; ficode-review-graph build

SessionStart

Fires once when a session begins, and again after a context compaction. It is where a plugin sets up its environment, or restores state the compaction dropped.

  • code-review-graph status
Read hooks/hooks.json
Ships withvelocitai

Next-generation UI automation harness powered by Python & Playwright. Chat with AI Agents to seamlessly generate, architect, and execute enterprise-grade UI test code.

Get the whole plugin