Skip to content
Development
Hook

Hooks

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

Install
$ npx -y skills add ramboz/jig --agent claude-code

Ships with jig. Installing the plugin gets these hooks.

What fires, and when

PreToolUse

  • Runs jig-telemetry.sh.

PostToolUse

  • Runs jig-post-edit-verify.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.

  • Runs jig-context-check.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.

  • Runs jig-memory-scan.sh.

Stop

  • Runs jig-task-capture.sh.
Read hooks/hooks.json
Ships withjig

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.

Get the whole plugin, auto-invoked