worktrunk

Orchestrate parallel AI agent sessions in isolated git worktrees.

40|4|Updated Apr 19, 2026
One-click install
npx skills add https://github.com/jjmartres/ai-coding-agents --skill worktrunk-jjmartres
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: worktrunk
Source: https://github.com/jjmartres/ai-coding-agents/tree/main/shared/.ai-agents/skills/worktrunk
Command: npx skills add https://github.com/jjmartres/ai-coding-agents --skill worktrunk-jjmartres

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Worktrunk unifies and automates the lifecycle of multiple AI agents by leveraging Git worktrees, eliminating manual setup and drift when running parallel experiments.

Core Features & Use Cases

  • Create and switch worktrees in a single command and launch AI agents into isolated branches.
  • Manage per-worktree hooks, dev servers, and resources to keep experiments reproducible.
  • Coordinate multiple agent sessions across branches for parallel exploration and rapid iteration.

Quick Start

Create a new feature worktree and launch claude in it using wt switch --create feat -x claude.

Frequently Asked Questions about worktrunk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run parallel AI agents in isolated git worktrees?

You can run parallel AI agents in isolated git worktrees by using commands like wt switch --create to generate a branch and launch an agent session. This isolates experiments and simplifies lifecycle management.

What is the best way to manage multi-branch AI agent experimentation without drift?

Managing multi-branch AI agent experimentation without drift is best handled by orchestrating sessions within isolated git worktrees. This approach applies per-worktree hooks and dev servers to keep all parallel explorations reproducible.

How do I configure per-worktree hooks and dev servers for automated agent lifecycles?

You configure per-worktree hooks and dev servers for automated agent lifecycles using the configuration surfaces provided by the orchestration tool. This enables hook-driven automation and resource isolation for scalable agent coordination.

Can I merge and remove git worktrees when coordinating parallel agent sessions?

Yes, you can merge and remove git worktrees when coordinating parallel agent sessions by using the wt merge and wt remove commands. These commands manage the lifecycle and cleanup of isolated branches after experimentation.

Does worktrunk support launching specific AI agents like claude into a new worktree?

Yes, worktrunk supports launching specific AI agents like claude into a new worktree. You can execute a single command such as wt switch --create feat -x claude to create a feature branch and launch the agent.

When do I need to use git worktrees for AI agent orchestration?

You need to use git worktrees for AI agent orchestration when running collaboration-heavy workflows that require multi-branch experimentation. It eliminates manual setup and drift by providing isolated environments for parallel exploration.