Development
Hook
Hooks
What worktrunk runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.
Install
> /plugin marketplace add max-sixty/worktrunk > /plugin install worktrunk@worktrunk
Ships with worktrunk. Installing the plugin gets these hooks.
What fires, and when
BeforeAgent
bash "${extensionPath}/plugins/worktrunk/hooks/wt.sh" config state marker set ๐ค || true
AfterAgent
bash "${extensionPath}/plugins/worktrunk/hooks/wt.sh" config state marker set ๐ฌ || true
SessionEnd
bash "${extensionPath}/plugins/worktrunk/hooks/wt.sh" config state marker clear || true
Ships withworktrunk
Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
Get the whole plugin

