worktrunk-agent-handoff

Automate AI agent setup and management within git worktrees for PR workflows.

1|1|Updated Apr 24, 2026
One-click install
npx skills add https://github.com/adrianmross/worktrunk-codex --skill worktrunk-agent-handoff
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: worktrunk-agent-handoff
Source: https://github.com/adrianmross/worktrunk-codex/tree/main/skills/worktrunk-agent-handoff
Command: npx skills add https://github.com/adrianmross/worktrunk-codex --skill worktrunk-agent-handoff

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Facilitates the seamless initiation and management of AI agents like Codex or Goose within Git-managed worktrees, simplifying PR handling, branch creation, and task delegation.

Core Features & Use Cases

  • PR and branch automation: Launches AI agents inside isolated worktrees for specific PRs or new branches, streamlining review and development workflows.
  • Integrated git & GitHub management: Automates PR context resolution, status inspection, and checks validation through command-line instructions.
  • Use case: A developer wants to set up an AI-powered review process for a pull request, executing commands like 'wt switch pr:123 -x codex' to start processing instantly.

Quick Start

Use this skill to start Codex on PR 45 by executing: wt switch pr:45 -x codex

Frequently Asked Questions about worktrunk-agent-handoff

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

FAQPage Schema
How do I automate AI agent workflows for GitHub PRs and branches?

To automate AI agent workflows for GitHub PRs, you can launch agents like Codex inside isolated git worktrees to streamline review, branch creation, and task delegation through integrated command-line instructions.

Can I start Codex on a specific GitHub pull request using command line?

Yes, you can start Codex on a specific GitHub PR by executing a command like 'wt switch pr:45 -x codex', which sets up an isolated worktree and initiates the agent for that pull request instantly.

How does running an AI agent in git worktrees improve pull request review?

Running an AI agent in git worktrees isolates the review environment, allowing the agent to safely process PR context, inspect statuses, and validate checks without affecting your primary local branch.

Do I need to manually pull GitHub PR data before launching an AI agent for review?

No, you do not need to manually pull GitHub PR data first; the workflow automatically resolves PR context, inspects status, and validates checks before executing the AI agent within the worktree.

What's the best way to delegate development tasks to AI agents using git?

The best way to delegate development tasks to AI agents using git is to launch them within dedicated worktrees for specific branches, ensuring isolated execution and streamlined command-line task delegation.

Does this workflow support Goose as well as Codex for branch creation?

Yes, the workflow supports managing both Goose and Codex AI agents within Git-managed worktrees to handle branch creation, PR review, and task delegation seamlessly.