/cursor:cursor-delegationfrom cursor
Delegates coding tasks to Cursor in the background for parallel implementation, scaffolding, or review while Claude continues the session.
Ships in cursor. 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.
This skill is the policy and the loop for delegating work to Cursor without a /cursor:* command. Presenting output stays governed by the cursor-result-handling skill; prompt shape and model notes stay governed by the cursor-prompting skill. Do not duplicate either — defer to them.
status --json and confirm nothing of the same class is still active.Fire — start the job in the background:
node "${CLAUDE_PLUGIN_ROOT}/scripts/cursor-companion.mjs" task --background [--write] [--profile deep|fast] [--model <model>] "<prompt>"
started in the background as <jobId> carries the job id. Record it.--write only when Cursor is supposed to edit files; it removes the per-command confirmation, so add it deliberately.task only. Reviews detach differently — see below.Await — issue the wait as a background Bash task so the harness notifies on completion instead of blocking the session:
Bash({
command: `node "${CLAUDE_PLUGIN_ROOT}/scripts/cursor-companion.mjs" status <jobId> --wait --timeout-ms 1800000 --json`,
description: "Await Cursor job",
run_in_background: true
})
waitTimedOut is true and the job is still active, re-issue the same wait instead of assuming failure — a timeout is not a verdict.Collect — fetch the stored output once the job is terminal:
node "${CLAUDE_PLUGIN_ROOT}/scripts/cursor-companion.mjs" result <jobId> --json
cursor-result-handling skill — including its rule that review findings are never auto-applied: present them, stop, and ask which ones to fix.review and adversarial-review have no companion-side enqueue: the companion parses --background but always runs the review in the foreground, and no started in the background as <jobId> line is printed. Delegate a review by running the whole command as a background Bash task — the wake IS the collect step, carrying the rendered review on stdout:
Bash({
command: `node "${CLAUDE_PLUGIN_ROOT}/scripts/cursor-companion.mjs" review [--base <ref>]`,
description: "Cursor review in background",
run_in_background: true
})
adversarial-review [--base <ref>] [focus text] detaches the same way.status and result work on it afterwards.task or review.auto server-side. There is no --effort flag; depth is a model choice, and --profile deep|fast is a named shortcut for it on task only (review/adversarial-review reject --profile).What SKILL.md sets; muted values are Claude Code's defaults
4 skills in this plugin
/cursor-cli-runtimeInternal helper contract for calling the cursor-companion runtime from Claude Code/cursor-promptingInternal guidance for composing cursor-agent prompts and picking models for coding, review, diagnosis, and research tasks inside the Cursor Claude Code plugin/cursor-result-handlingInternal guidance for presenting Cursor helper output back to the usernpx claudepluginhub zebbern/agent-collab --plugin cursorOther plugins' skills for the same job