harness-files/skills/rad-execute-parallel/SKILL.md
Set up a parallel git worktree for a project and launch orchestration execution in it. Use when asked to "run in parallel", "create a worktree", "execute in a worktree", or when launching a project in an isolated branch for parallel development. Handles git worktree creation, branch setup, source control initialization, and opening the worktree in VS Code, Copilot CLI, Claude Code, or a terminal.
npx skillsauth add MetalHexx/RadOrchestration rad-execute-parallelInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Set up a dedicated git worktree for a project and launch orchestration execution inside it. Frontloads all research, asks all questions in a single call, then creates the worktree and configures source control automatically.
You are an orchestrator. You'll be using the rad-orchestration skill for this project. Read the skill and prepare to use it to run the execution pipeline.
| Subcommand | Input | Output (envelope data) | Purpose |
|--------|-------|--------|---------|
| radorch project context | (none — auto-detects) | { repoRoot, repoName, repoParent, currentBranch, defaultBranch, platform, projectsBasePath, configAutoCommit, configAutoPr, remoteUrl, projectDir, sourceControlInitialized } | Detect git environment and read orchestration config |
| radorch project find | --projects-base-path <path> --repo-root <path> | { basePathExists: boolean, projects: [{ name, masterPlanPath, currentTier, existingWorktreePath, existingBranch, worktreeExists }] } (basePathExists: false indicates a missing/misconfigured projectsBasePath) | Scan for execution-ready projects and check existing worktrees |
| radorch project find | --projects-base-path <path> --repo-root <path> --project-name <name> | Same shape, single-project lookup | Look up one project by name (worktree + master plan info) |
| radorch worktree create | --repo-root <path> --branch <name> --worktree-path <path> --base-branch <ref> | { created, worktreePath, branch, baseBranch, pushed, remoteUrl, compareUrl, error, errorType } | Create worktree, push branch, detect remote URL |
| radorch worktree launch | --agent {claude\|copilot\|vscode\|terminal} --worktree-path <path> plus per-agent flags | { ok, platform, agent, permissionMode? } | Open a terminal at the worktree and launch the chosen agent |
Every subcommand emits { ok, data, error } on stdout. Exit codes (worktree create): 0 = created + pushed, 1 = created but push failed, 2 = create failed.
Follow these steps in order. Run steps 1–2 silently — do not narrate or display output.
Gather context — Run node "${PLUGIN_ROOT}/skills/rad-orchestration/scripts/radorch.mjs" project context. Parse fields from the envelope's data block.
Identify project — Check the conversation, open files, and the argument passed to this prompt for a project name (SCREAMING-CASE) or master plan path. If found, run node "${PLUGIN_ROOT}/skills/rad-orchestration/scripts/radorch.mjs" project find --projects-base-path "{data.projectsBasePath}" --repo-root "{data.repoRoot}" --project-name {name} to get worktree info. If not found, run node "${PLUGIN_ROOT}/skills/rad-orchestration/scripts/radorch.mjs" project find --projects-base-path "{data.projectsBasePath}" --repo-root "{data.repoRoot}" (scan mode) to get all execution-ready candidates.
Ask questions — Before building the askQuestions call, greet the user with a short opening message. Keep it warm and one or two sentences — e.g. "I'll set up an isolated worktree for this project and get orchestration running inside it. Only projects that have been fully planned and approved will appear in the list below." Then build one askQuestions call with only the applicable questions. Read references/workflow-guide.md for the exact question schemas and conditions.
Resolve values — Derive projectName, projectDir, branchName, worktreePath, baseBranch, resolvedAutoCommit, resolvedAutoPr from the answers. See the Value Resolution table in the workflow guide.
Create worktree — If not reusing an existing worktree, run node "${PLUGIN_ROOT}/skills/rad-orchestration/scripts/radorch.mjs" worktree create .... On failure, show the error and a targeted fix from the error table in the workflow guide. Do not proceed if creation fails.
Source control init — Call radorch pipeline signal --event source_control_init via the canonical script-block convention with the resolved values and URLs from worktree create output. See the workflow guide for the exact command template.
Launch — Execute the post-action chosen in step 3 via node "${PLUGIN_ROOT}/skills/rad-orchestration/scripts/radorch.mjs" worktree launch --agent {agent} .... See the workflow guide for the per-agent flag matrix.
references/workflow-guide.md — Question schemas, value resolution, source_control_init template, launch commands, error handlingdevelopment
Use this skill whenever a task might involve code beyond the current working directory — when you're figuring out where code lives, scoping work that may span multiple repositories, or about to act as if the current repo is the whole system — and whenever the user wants to register, bind, describe, group, or manage repositories and repo-groups. The repo registry is your map of the repos a team works across and how they relate.
tools
Stop the detached radorch dashboard UI server (SIGTERM).
business
Report whether the radorch dashboard UI server is running, and its URL.
business
Start the radorch dashboard UI as a detached server and report the URL.