This plugin provides seamless integration between OpenCode (or Kilo Code) and Worktrunk, the ultimate Git worktree manager for AI agents.
- Status Markers: Reflects AI activity in
wt listwith markers like🤖(active) and💬(idle). - Context Injection: Injects current worktree path and branch into the agent's prompt.
- Autonomous Management: Provides the agent with tools like
wt_create,wt_switch, andwt_merge.
Clone this repository into your plugins directory:
git clone https://github.com/nkia-christoph/worktrunk-opencode-plugin ~/.config/opencode/plugins/worktrunkThe plugin uses the wt CLI. Ensure it is installed and available in your PATH.
curl -fsSL https://worktrunk.dev/install.sh | shPowered by Bun.
bun install