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.
| Script | Input | Output | Purpose |
|--------|-------|--------|---------|
| scripts/gather-context.js | (none — auto-detects) | { repoRoot, repoName, repoParent, currentBranch, defaultBranch, platform, orchRoot, projectsBasePath, configAutoCommit, configAutoPr } | Detect git environment and read orchestration config |
| scripts/find-projects.js | --projects-base-path <path> --repo-root <path> | { projects: [{ name, masterPlanPath, currentTier, existingWorktreePath, existingBranch, worktreeExists }] } | Scan for execution-ready projects and check existing worktrees |
| scripts/find-projects.js | --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) |
| scripts/create-worktree.js | --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 |
| scripts/inject-theme.js | --worktree-path <path> | { theme, settingsPath, gitignorePath, error } | Pick a random built-in VS Code theme, write .vscode/settings.json, add entry to .gitignore |
| scripts/launch-claude.js | --worktree-path <path> --projects-base-path <path> --prompt <string> [--permission-mode <mode>] | { success, platform, permissionMode } | Cross-platform terminal launcher: opens a new terminal window and starts Claude Code with a given prompt and permission mode (default auto) |
All scripts output JSON to stdout. Exit codes: 0 = success, 1 = partial (created but push failed), 2 = failure.
Follow these steps in order. Run steps 1–2 silently — do not narrate or display output.
Gather context — Run gather-context.js. Parse the JSON result.
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 find-projects.js --project-name {name} to get worktree info. If not found, run find-projects.js (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 create-worktree.js. 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 pipeline.js --event source_control_init with the resolved values and URLs from create-worktree.js output. See the workflow guide for the exact command template.
Launch — Execute the post-action chosen in step 3. See the workflow guide for platform-specific launch commands.
references/workflow-guide.md — Question schemas, value resolution, source_control_init template, launch commands, error handlingscripts/gather-context.js — Git environment detection + orchestration config reader (standalone, no external dependencies)scripts/find-projects.js — Project scanner: finds execution-ready projects, checks worktree status (standalone)scripts/create-worktree.js — Worktree creation: git worktree add, branch push, remote URL detection (standalone)scripts/inject-theme.js — Random VS Code theme injection: writes .vscode/settings.json, protects it with .gitignore (standalone)scripts/launch-claude.js — Cross-platform terminal launcher: opens a new terminal window and starts Claude Code with a chosen --permission-mode (default auto)development
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.