Skip to content
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.

From plugin
worktrunk
6.4k7 skills3 hooks
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
Read hooks/hooks.json
Ships withworktrunk

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

Get the whole plugin
Stats
6,363
Stars
232
Forks
Active
Maintenance
Rust
Language
4h ago
Last commit
9mo ago
Created

Repo: max-sixty/worktrunk