Skip to main content
Claude Code invokes each hook command with a JSON object on stdin. gitvow reads these fields: Output contract: exit 0 allows the call; exit 2 blocks it and Claude Code feeds stderr back to the model as the reason. gitvow never writes to stdout from a hook.

Settings entries

gitvow install merges these into settings.json:
Entries are recognised by the gitvow hook prefix, so install is idempotent and uninstall removes only these.

Other agents

Codex CLI, Gemini CLI and Cursor are supported through adapters that translate their payloads into this shape; see Adapter reference.