Agent skill

create-sub-agent-worktree

Spawn a Copilot CLI agent in its own git worktree and tmux window. Creates a new branch via worktrunk (`wt`), opens a tmux window in the target session, and launches `copilot -i` with a prompt. Use when the user asks to run a task in parallel, hand off work to another agent, or start a background coding task in a separate worktree.

Stars 0
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/lbussell/agent-skills/tree/main/skills/create-sub-agent-worktree

SKILL.md

Script

scripts/create-sub-agent-worktree.sh <branch> <prompt> [--session <name>] [--base <ref>]

Examples

shell
./scripts/create-sub-agent-worktree.sh fix-auth "<prompt>" # single agent
./scripts/create-sub-agent-worktree.sh feat-a "<prompt>" && ./scripts/create-sub-agent-worktree.sh feat-b "<prompt>" # parallel agents
./scripts/create-sub-agent-worktree.sh feat-part-2 "<prompt>" --base @ # branch from current HEAD
./scripts/create-sub-agent-worktree.sh hotfix-v2 "<prompt>" --base upstream/main # branch from a specific ref
./scripts/create-sub-agent-worktree.sh cleanup-deps "<prompt>" --session infra # target a specific tmux session

Full workflow: from zero to parallel agents

shell
tmux new-session -d -s my-project
./scripts/create-sub-agent-worktree.sh feat-a "<prompt>" --session my-project
./scripts/create-sub-agent-worktree.sh feat-b "<prompt>" --session my-project
./scripts/create-sub-agent-worktree.sh feat-c "<prompt>" --session my-project

After spawning

Tell the user how to attach to the tmux session and switch to the sub-agent's window. The window is named after the branch (with / replaced by -).

Expand your agent's capabilities with these related and highly-rated skills.

lbussell/agent-skills

triage-pull-requests

Triage open pull requests in a repository into actionable categories: ready to merge, needs review, needs action, stale, waiting. Use for daily PR triage to quickly identify what needs attention.

0 0
Explore
lbussell/agent-skills

triage-followup

Produce a follow-up document from a .NET containers triage meeting. Takes a VTT transcript and correlates it with the user's recent GitHub activity to produce a markdown document with concrete to-dos and links. Use after a triage meeting when the user has a .vtt transcript file.

0 0
Explore
lbussell/agent-skills

property-testing-cscheck

Write property-based tests in C# using CsCheck. Covers generator composition, property selection (round-trip, invariant, model-based, metamorphic), parallel linearizability testing, performance comparison, classification, and configuration. Use when writing, reviewing, or improving property-based tests in a .NET project that uses CsCheck.

0 0
Explore
lbussell/agent-skills

investigating-pull-request

Shows the CI status for a single GitHub pull request. Displays PR metadata (title, author, fork, branch) and renders Azure Pipelines build timeline trees for each pipeline run. Use when a user provides a PR number or URL and wants to check its CI status or diagnose failures.

0 0
Explore
lbussell/agent-skills

triage-pipelines

List all failing and warning Azure Pipelines for daily triage. Checks preconfigured pipeline folders and reports any with failed or warning builds. Use for daily pipeline health checks.

0 0
Explore
lbussell/agent-skills

investigating-pipeline

Diagnoses a single Azure Pipelines build. Shows the build timeline tree with stages, jobs, and task results, and retrieves task logs for debugging failures. Use when a user provides a build ID or Azure DevOps build URL and wants to understand what failed and why.

0 0
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results