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
8.1k5 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
8,296
Stars
289
Forks
Active
Maintenance
Rust
Language
40m ago
Last commit
11mo ago
Created

Repo: max-sixty/worktrunk