/cospan:claudefrom cospan
Delegates code review, architectural analysis, debugging, or implementation tasks to Anthropic Claude Code CLI via cospan. Supports read-only inspection or writable edits with model shortcuts (sonnet, opus, haiku, fable).
Ships in cospan. 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.
None: SKILL.md is the whole skill.
claude)$cospan:claude is a persona-free point-to-point delegation primitive. State the concrete task directly in prompt, and select readonly: true (research/review/verification) vs readonly: false (default writable workspace edits). Runs unrestricted by default unless restricted: true or config.json opts into OS sandboxing.
cospan MCP ToolsAlways prefer the bundled cospan MCP tools over raw shell command calls—they run outside host command sandboxing and block cleanly inside a single tool call without polling overhead:
Dispatch (cospan_send):
Call MCP tool cospan_send with:
cwd: required absolute path of your current repository/workspaceto: "claude"prompt: your task instructionsreadonly: true for read-only inspection/review, false (default) when file edits are allowedrestricted (optional): true to opt into strict OS sandboxing (defaults to unrestricted)model (optional) / effort (optional) / raw (optional) / timeout (optional, e.g. "60m")model / --model (sonnet, opus, haiku, fable), pass explicit full model IDs or <provider>/<model> verbatim when specified, or omit model / --model when unspecified so cospan uses effective target defaults (~/.cospan/config.json and <workspace>/.cospan/config.json defaults; pass inherit to use Claude Code settings default). Never guess or expand version numbers (such as gpt-6.0-*) or append effort suffixes (such as -medium) on the host side—always pass reasoning effort separately via effort / --effort (supported --effort: low, medium, high, xhigh, max) and let cospan resolve shortcuts deterministically at runtime.Collect (cospan_wait):
Call MCP tool cospan_wait with { "cwd": "<workspace>", "id": "<job_id>", "timeout": "20m" } (or { "cwd": "<workspace>", "ids": ["<id1>", "<id2>"], "timeout": "20m" } for batch WaitAll).
cospan_wait blocks quietly until the detached worker(s) finish and returns status + full deliverable outputs in one shot.cospan_wait: pass ids: [id1, id2, ...] when the next step needs all parallel outputs together (e.g., merging multi-module reviews or validating parallel subtasks together)—wakes the host only once. Issue separate cospan_wait calls when parallel jobs are independent with uneven runtimes (e.g., 2 min vs. 15 min) and you want to act on whichever finishes first.exit_code === 2 (status === "running"), call cospan_wait again (batch timeout returns bounded <= 8 KiB JSON without duplicating completed bodies).exit_code === 5 (status === "attention"), ask the user before calling cospan_continue.Follow-up / Peek / Fast Q&A:
cospan_continue (cwd, id or last: true, prompt with only the delta instruction) -> then cospan_wait on the new job ID.phase and touched_files): cospan_observe (cwd, id).cospan_ask (cwd, to: "claude", prompt).cospan_cancel (cwd, id).Result Handling & Evidence Boundaries:
file:line citations, observed facts vs inferences, and severity ordering verbatim.readonly: true was used for a review, present the findings before auto-applying controversial edits if the user only asked for a review.cospan MCP server is unavailable)Run unsandboxed in your workspace directory:
node "<skill-dir>/../../bin/cospan.mjs" send --to claude [--readonly] --prompt "<task>"
node "<skill-dir>/../../bin/cospan.mjs" wait <job-id...> --timeout 10m
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub keli-wen/cospan --plugin cospan7 skills in this plugin
/agyPoint-to-point headless delegation to Google Antigravity (`agy`) via cospan ($cospan:agy). Delegate repository-wide research, multimodal/large-context analysis, code review, or implementation tasks to Google Antigravity CLI. Model shortcuts include `neon`, `carbon`, `hydrogen`, `opus`, `sonnet`./codexPoint-to-point headless delegation to OpenAI Codex (`codex`) via cospan ($cospan:codex). Delegate code review, second-opinion debugging, repository research, scoped implementation tasks, or (only when explicitly requested via Codex) raster image generation/editing to OpenAI Codex CLI. Model shortcuts include `sol`, `terra`, `astra`, `luna`. Use when you need explicit model/effort selection or an isolated detached cospan session./dshPoint-to-point headless delegation to DeepSeek Harness (`dsh`) via cospan ($cospan:dsh). Delegate repository research, verification, second-opinion debugging, or implementation tasks to DeepSeek Harness CLI. Model shortcuts include `flash`, `pro`, `v4.1-flash`, `v4-pro`./flowProgrammable cross-harness workflows via cospan (`cospan_flow` MCP or `cospan flow` CLI) using `agent`, `synthesize`, `orchestrate`, and `refine` primitives./grokPoint-to-point headless delegation to xAI Grok Build (`grok`) via cospan ($cospan:grok). Delegate repository research, fast code review, real-time web/X research and verification, second-opinion debugging, or scoped implementation tasks to Grok Build CLI. Model shortcuts include `build`, `fast`./jobsInternal lifecycle reference for cospan detached jobs inside Codex.Other plugins' skills for the same job