/cospan:dshfrom cospan
Delegates repository research, verification, debugging, or implementation tasks to DeepSeek Harness CLI via cospan MCP tools. Supports read-only review or writable workspace edits with model shortcuts.
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.
dsh)$cospan:dsh 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: "dsh"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 (flash, pro, v4.1-flash, v4-pro), pass explicit full model IDs or <provider>/<model> verbatim when specified, or omit model / --model when unspecified so cospan uses effective target defaults (defaults to inherit so dsh --profile headless uses your configured DeepSeek Harness provider/model without overriding ~/.dsh). 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: off, low, high, 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: "dsh", 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 dsh [--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`./claudePoint-to-point headless delegation to Anthropic Claude Code (`claude`) via cospan ($cospan:claude). Delegate code review, architectural analysis, repository debugging, or scoped implementation tasks to Anthropic Claude Code CLI. Model shortcuts include `sonnet`, `opus`, `haiku`, `fable`./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.Other plugins' skills for the same job