No slash command · from colin-shipping
Runs the same task with multiple AI agents for reviews, critiques, or model comparison. Manages participant resolution, prompt assembly, and parallel launch/harvest across OpenCode and native Claude slots.
Ships in colin-shipping. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Solicit independent opinions from multiple models. Parent session is a thin control plane — disk under .tmp/<run-id>/ is durable memory. Do not invent per-run launch/harvest scripts; use the bundled drivers.
Full harness matrices, retry policy, sandbox gotchas, and delivery contracts: reference.md.
--profile X, task type (code-review), or defaults.md / code-review.md. Write .tmp/<run-id>/participants.json.bun "${CLAUDE_SKILL_DIR}/mbot-run.ts" init --run-dir .tmp/<run-id>
prompts/. For role fan-out use:
bun "${CLAUDE_SKILL_DIR}/assemble-prompts.ts" \
--append .tmp/<run-id>/context/bucket-index.md \
--out-dir .tmp/<run-id>/prompts \
.tmp/<run-id>/context/role-state.md:b1-state.full.md \
…
Repeated --append is cumulative. Discovery outputs also get roles/issue-form.md automatically (skipped for merits).
Role templates for ultra: roles/.plan.json with one entry per harness-owned slot (opencode / grok; occtl is a legacy alias of opencode). Native Claude Agent slots use harness: "external" — launch those via the Agent tool yourself; still list them so harvest scores their .out. On an OpenCode host there are no external slots: every participant, Claude models included, is an opencode slot with a colin-mbot-* agent.mbot-run speaks HTTP for both generations: OpenCode 2 on /api, OpenCode 1 on /session and /config/providers. Do not drive OpenCode from this skill.
# Optional explicit preflight (launch probes automatically when slots use opencode).
# Default is an HTTP/binary probe; add --deep for a real model round trip.
bun "${CLAUDE_SKILL_DIR}/mbot-run.ts" smoke \
--run-dir .tmp/<run-id> \
--attach http://127.0.0.1:4096 \
--model openai/gpt-6.1-sol
bun "${CLAUDE_SKILL_DIR}/mbot-run.ts" launch --plan .tmp/<run-id>/plan.json --detach
bun "${CLAUDE_SKILL_DIR}/mbot-run.ts" barrier --run-dir .tmp/<run-id>
bun "${CLAUDE_SKILL_DIR}/mbot-run.ts" harvest --run-dir .tmp/<run-id>
bun "${CLAUDE_SKILL_DIR}/mbot-run.ts" candidates --run-dir .tmp/<run-id>
bun "${CLAUDE_SKILL_DIR}/mbot-run.ts" usage --run-dir .tmp/<run-id>
Use launch --detach then barrier for multi-slot or long-running plans on every host. A shell timeout can interrupt a blocking launch before server cleanup. A blocking single-wave launch needs a host Bash timeout longer than its slot budget. barrier exits nonzero when any slot failed or the launcher died.
Plan knobs: "concurrency": 3 (default when OpenCode attach is used), "opencode_mode": "auto"|"attach"|"local"|"skip", "attach": "http://127.0.0.1:4096" (keeps attach mode). Already-set OPENCODE_SERVER_HOST / OPENCODE_SERVER_PORT / OPENCODE_SERVER_PASSWORD win over that attach URL. GPT OpenCode slots default --variant high and --agent colin-mbot-gpt-sol; every other family must set "agent" and "model" on the slot (colin-mbot-opus + anthropic/claude-opus-5-5, colin-mbot-grok + xai/grok-4.7, …). Prompt/out may be prompts/x.md or .tmp/<id>/prompts/x.md — do not double-prefix. Further launches merge into plan.json (they do not clobber prior slots).
Local OpenCode server readiness defaults to 30 seconds; set "opencode_ready_timeout_ms" on the plan or a slot when cold starts need longer.
Direct Grok CLI slots pin grok-4.7, allow 20 minutes each by default, and use concurrency 2 when no other harness sets the default. Use "grok_timeout_ms" on the plan or "timeout_ms" on a slot to override. Omit barrier --timeout-ms to let it budget all concurrency waves. If the Grok CLI is unauthenticated, use an OpenCode slot with xai/grok-4.7 until CLI login is restored.
Meta records actual_harness (opencode-v1 or opencode-v2, never the occtl alias), attach_mode, actual_model, started_at, ended_at, wall_ms, session_id, session_file, and cost_usd (Grok JSON, or the OpenCode session cost). Harvest salvages a timed-out session from its latest assistant message and must not overwrite per-slot ended_at.harvest.json / results/*.meta.json / agentsview-usage.json only. Never paste full .out bodies into chat. Attribute via meta.actual_model. mbot-run usage talks to agentsview over AGENTSVIEW_URL (HTTP) when the CLI is not on PATH.-- in every OpenCode invocation. After -- is only the harness footer text.launch probes the attach server (OpenCode 2: GET /api/info and GET /api/model; OpenCode 1: GET /config/providers) or, locally, opencode --version; no model call unless "smoke_deep": true. /config/providers on a v2 server is the web UI, not the catalog. Unreachable attach → local spawn; neither → OpenCode slots fail-closed (opencode_mode=skip). A slot whose attach run can't connect re-runs locally once (meta.attach_fallback) and later slots skip attach, unless opencode_mode is attach.test -s empty.out and never sleep N; rg VERDICT. Use mbot-run barrier./api/model on v2, /config/providers on v1) when available (openai/gpt-6.1-sol preferred when listed).launch --detach (new process group). Wrapping a blocking launch in the default 120s bash tool kills the batch. Claude Code keeps blocking launch.Agent tool (then botctl prompt, then claude CLI); everything else goes through mbot-run.mbot-run slot with a colin-mbot-* agent. Do not shell out to claude / botctl / grok, and do not use the OpenCode task tool for participant slots. Shell-outs only when the profile pins a CLI or the agent file is missing from ~/.opencode/agents/. A containerised host may not ship grok / botctl / pi at all — command -v before planning a CLI route.colin-mbot-opus)grok CLI — OpenCode host or missing CLI: colin-mbot-grok)| Owner | Mechanisms | Body |
|---|---|---|
| Harness-owned | mbot-run (OpenCode + Grok) | Full review = final assistant message / stdout. Harness writes --out. |
| Agent-owned | Native Claude Agent only | Child Writes full body to slot path; returns ≤500-char status |
Never tell OpenCode/Grok to Write the harness --out path.
One OpenCode participant still goes through mbot-run (a one-slot plan.json). Do not drive that session yourself — that skips harvest and timeout salvage.
Max one retry per slot; prefer profile backup over second same-model retry. New --out path + rewrite any baked path in the prompt. Exit 124 with rich body = success. Details: reference.md.
.tmp/ lives inside the project root (OpenCode rejects paths outside it).STATE.json (mbot-run updates it; subagents never do).launch-*.ts / harvest.ts / batch.ts / extract-issues.ts under the run dir or /tmp — use mbot-run (candidates after harvest).opencode from the parent session for MBOT slots. mbot-run owns the HTTP API. Timeout recovery lives in mbot-run harvest.agentsview-usage.ts (opens in a new tab)assemble-prompts.test.ts (opens in a new tab)assemble-prompts.ts (opens in a new tab)build-merits.ts (opens in a new tab)code-review.md (opens in a new tab)defaults.md (opens in a new tab)mbot-candidates.ts (opens in a new tab)mbot-paths.ts (opens in a new tab)mbot-run.test.ts (opens in a new tab)mbot-run.ts (opens in a new tab)opencode-v2.test.ts (opens in a new tab)opencode-v2.ts (opens in a new tab)prepare-notes.ts (opens in a new tab)reference.md (opens in a new tab)roles/README.md (opens in a new tab)roles/contracts.md (opens in a new tab)roles/craft.md (opens in a new tab)roles/failure.md (opens in a new tab)roles/integration.md (opens in a new tab)roles/issue-form.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub colinmollenhour/dotfiles --plugin colin-shipping34 skills in this plugin
/cclsp-fix-diagnosticsScan a codebase with the CCLSP MCP and fix reported diagnostics. Language- and project-agnostic. Use for "fix all the LSP errors", "check the workspace for errors", "fix diagnostics in <path>", or auditing a branch/PR/commit range for new errors. Default scope is the whole codebase, chunked. User can narrow to files, folders, commits, ranges, branches, PRs, or MRs./clickup-task-authoringAuthor a ClickUp task from a conversation, plan, review, incident, or spec as CUFM via cup task-sync. Covers the source-fidelity ledger, the house voice for task copy (plain verbs, declarative mood, paragraphs over lists, 5% length budget), rich description structure (banners, toggles, mermaid, tldraw, tables), open-decision blocks (question, AI Recommendation, two alternatives), title conventions, workspace Value Stream / Requested By / Bug-type rules, and the post-write audit. Use when creating or updating ClickUp task content (file a bug, write a ticket, turn this into a task). Load the clickup skill from `cup skill` for CUFM syntax and task-sync flags. Workspace IDs come from `cup` or a project ClickUp skill. Formerly clickup-tasks./cli-designDesign, implement, or review CLI UX: args, flags, help, output, errors, config, interactivity, and distribution.