Skip to content
Development
Hook

Hooks

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

From plugin
ship
9111 skills3 hooks1 MCP
Install
> /plugin marketplace add heliohq/ship
> /plugin install ship@heliohq

Ships with ship. Installing the plugin gets these hooks.

What fires, and when

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.

  • Matchesstartup|clear|compactbash "${CLAUDE_PLUGIN_ROOT}/scripts/session-start.sh"

PreToolUse

  • bash "${CLAUDE_PLUGIN_ROOT}/scripts/phase-guardrail.sh"

Stop

  • bash "${CLAUDE_PLUGIN_ROOT}/scripts/stop-gate.sh"
Read hooks/hooks.json

In the plugin's words

How ship describes its own hook set.

Ship plugin hooks — lightweight Ship routing hint and workflow quality gates
Ships withship

An agentic development harness for Claude Code & Codex: agent-routed workflows from raw requirement to green PR.

Get the whole plugin, auto-invoked
Stats
91
Stars
7
Forks
Maintained
Maintenance
Shell
Language
MIT
License
2mo ago
Last commit
6mo ago
Created

Repo: heliohq/ship