/tgc-skills:orchestrate-list [skill=<name>] [agent=claude|codex] [ship] [items…]from tgc-skills
Fans out a short list of independent items (bugs, review findings, small fixes) to one parallel worker per item, each in its own worktree, on Orca, herdr, or cmux terminals.
Ships in tgc-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are the orchestrator. You do NOT fix the items yourself. You turn a list into lanes, start one worker per lane in its own worktree, watch and unblock them, verify each lane with git plumbing, and report per item. Keep your own context clean: tail reads and git plumbing only, never worker source files or full scrollback.
skill=<name> — every worker invokes this skill before anything else (for example skill=pstack:poteto-mode). Any installed skill works; none is required.agent=claude|codex — worker engine, default claude, launched exactly as orchestrate-plan launches workers (claude --model sonnet --effort high).ship — after verification, ship each fully fixed lane (see Ship).items… — the items. With none given, use the list the user just identified in this conversation.sh "${CLAUDE_PLUGIN_ROOT}/scripts/detect-backend.sh"
none → stop. Say this needs an Orca, herdr, or cmux terminal; suggest fixing the items one at a time in this session or using tgc-skills:orchestrate.${CLAUDE_PLUGIN_ROOT}/skills/orchestrate-plan/references/<backend>.md and ${CLAUDE_PLUGIN_ROOT}/skills/orchestrate-plan/references/templates.md. Every spawn, send, read, wait, and release command comes from those files; this skill adds none.Build one numbered table: # | title | what is wrong | evidence (file:line, failing command, error text) | done-when. Done-when must be checkable: a command that fails now and passes after the fix, or a concrete observable. Ask the user only about items with no checkable done-when, in one batched question.
grep -n, never read source.fix/<slug> on herdr/cmux. On Orca it is whatever git branch --show-current prints in the new worktree: the slug, possibly with Orca's <user>/ prefix. Never lane-1, worker-2, or an item number.git ls-remote origin "refs/heads/<branch>" must print nothing for each lane's branch before it starts (on Orca, check the branch the receipt reports right after the start); otherwise pick another slug.Show the lane table (lane | slug | items | fence = files it may touch), then start.
Once per run:
DEFAULT_BRANCH=$(gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name')
git fetch origin "$DEFAULT_BRANCH"
SESSION_DIR=$(mktemp -d "${TMPDIR:-/tmp}/tgc-orchestrate-list.XXXXXX")
Record the literal default branch, base hash (git rev-parse "origin/$DEFAULT_BRANCH"), and session path in your ledger; shell variables do not survive between tool calls. On Orca, run the backend file's run-create once.
Per lane:
fix/<slug> from origin/<default> with the backend file's per-lane worktree step (--no-track, push.default check).<SESSION_DIR>/<slug>-brief.md: template T1, adapted as below. Its ground truth names the worktree path and branch (on Orca: the worktree the worker starts in).<SESSION_DIR>/<slug>-brief.md and follow it. Keep the done marker text out of that prompt, or the watcher matches its echo. Orca: one worker-start --spec call per the backend file, with --worktree new-top-level --name <slug> --repo path:'<repo>' --base-branch origin/<default> and a list-worker version of T3 as the spec, written to <SESSION_DIR>/<slug>-spec.md and passed from that file as the backend file shows: drop T3's plan and WORKER-BRIEF.md reads and its phase lines, and paste the whole brief instead, including T1's Orca worker_done protocol, so the spec names no file the worktree lacks. --name names both worktree and branch there, so record the branch the receipt reports.skill=<name> is set: Invoke the <name> skill before anything else.BLOCKED: <reason>.BLOCKED: push requested and stop.DONE <slug>. Orca → T1's Orca variant (worker_done, --outcome failed when stuck). Stuck after one real attempt → BLOCKED: <reason> and stop.Run the backend file's monitor loop: Orca W3 (check --wait), herdr W0's agent wait form, because Phase 3 already sent the prompt (W2 as fallback), cmux W1 for one lane or W2 for several. On herdr and cmux, swap the watchers' marker pattern for ^[^[:alnum:]]*DONE [a-z0-9-]+[[:space:]]*$ (prefix (?m) in herdr's wait-output). Every wake is a prompt to read the lane yourself, not a verdict.
status?. Still idle after that → treat as BLOCKED.BLOCKED: → collect them and ask the user in one batched question; relay the answer to that lane.V1 style, git plumbing only, with the literal base hash and the lane's ledger branch:
git -C <worktree> log --oneline <base>..HEAD
git -C <worktree> diff --stat <base>..HEAD
git -C <worktree> status --short
git ls-remote origin "refs/heads/<branch>"
Pass only when commits exist above base, every changed path is inside the fence, the tree is clean, nothing was pushed, and the worker reported the checks it ran with results. Then re-run the lane's stated check command once yourself in that worktree. A failure goes back to the worker; it does not get fixed by you. On Orca, release the worker after its lane settles (W3).
One table per item: # | title | lane | status | evidence.
fixed — branch, commit hashes, the check command and its result.blocked — the reason.needs you — the exact question.ship)The unit is the lane, not the item: one branch, one PR per lane. A lane holding several items ships one PR whose body lists each item it fixes. A lane ships only when every item in it is fixed; otherwise report it and leave it unshipped. Ship each such lane through a subagent told to read and follow ${CLAUDE_PLUGIN_ROOT}/skills/ship/SKILL.md in that lane's worktree, and to replace each CLAUDE_PLUGIN_ROOT placeholder in it, and in every plugin file it points to, with ${CLAUDE_PLUGIN_ROOT} (ship is explicit-only, so it cannot be invoked as a skill, and a read file keeps its placeholders). Run at most 2 at a time, and relay each PR URL and review outcome in the final report. Workers never run ship.
Without ship, leave the branches and worktrees for the user; tgc-skills:merged cleans each one after its PR merges.
Remove <SESSION_DIR> as the last step, whether the run finished, failed, or was aborted.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
14 skills in this plugin
/checkpointUse when the user wants current work saved to the branch mid-flow without ending the task — "checkpoint", "commit and push", "save and push", "push what we have", optionally with a review ask ("checkpoint and review")./cmux-orchestrateUse when orchestrating cmux terminal panes, splits, tabs, worker sessions, or agents in other cmux panes, including reading screens, sending commands, answering prompts, jumping to unread activity, or setting AFK check-ins. Do not use for tmux, IDE/browser tabs, deployment replicas, or plain command execution./explain-prUse before shipping, when the user wants to understand their own branch — "explain what we did", "walk me through this branch", "what am I about to ship", "why did we change that", or any ask to account for the current diff before running tgc-skills:ship. Explains the change back to the user and flags anything it cannot justify. Read-only; not a PR description writer, not a code review.npx claudepluginhub eternalllight/tgc-skills --plugin tgc-skillsOther plugins' skills for the same job