Hooks
What jig runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.
> /plugin marketplace add ramboz/jig > /plugin install jig@jig
Ships with jig. Installing the plugin gets these hooks.
What fires, and when
PreToolUse
- Matches
Taskbash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/jig-telemetry.sh - Matches
Skillbash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/jig-skill-trace.sh - Matches
Edit|Write|MultiEditbash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/jig-spec-gate.shbash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/jig-secret-scan.sh - Matches
Readbash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/jig-context-check.sh
PostToolUse
- Matches
Edit|Write|MultiEditbash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/jig-post-edit-verify.shbash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/jig-boundary-change-warn.shbash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/jig-entry-gate.sh - Matches
AskUserQuestionbash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/jig-decision-inflight.sh
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.
bash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/jig-context-check.shbash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/jig-project-orient.shbash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/jig-semantic-index.shbash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/jig-git-freshness.sh
UserPromptSubmit
Fires before Claude sees each prompt you send. A plugin can use it to inject context, so the same instruction reaches the model every turn instead of only at session start.
bash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/jig-memory-scan.shbash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/jig-context-check.shbash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/jig-decision-inflight.sh
Stop
bash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/jig-task-capture.shbash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/jig-decision-capture.shbash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/jig-claim-check.sh
A Claude Code and Codex plugin that scaffolds AI-native development practices into new projects. jig adds a repeatable spec, implementation, review, and memory workflow to AI-assisted software projects.

