Cursor Delegate
Delegate a coding task to the Cursor Agent CLI (`cursor-agent`) as a background...
Install
npx skills add amElnagdy/delegate-skills --skill cursor-delegate -g -a claude-code -y- Repository
- amElnagdy/delegate-skills2.5k
- Category
- AI and agents
- Updated
- 6d ago
- License
- MIT
- Context cost
- Mediumabout 2,125 tokens
- Runs scripts
- Yes, review before use
What it does
Delegate a coding task to the Cursor Agent CLI (`cursor-agent`) as a background implementer, then review its diff and land it yourself. Use this whenever the user wants to hand implementation work to Cursor, phrasings like "have Cursor implement X", "delegate this to Cursor", "run it through Cursor Agent", or "use Cursor to implement/fix/refactor", or wants to run a queue of coding tasks through Cursor while staying the reviewer. DO NOT USE for tasks small enough to do inline, or when the user wants the code written directly without delegating.
Cursor Delegate
You are the orchestrator. Hand a bounded coding task to a separate implementer, the Cursor Agent CLI, then review what it produced and land it yourself. You write the brief and own the judgment; Cursor does the typing in its own session; you verify and commit.
The loop needs only a shell command and file access, so any comparable orchestrator can drive it.
When NOT to use this
- The task is small enough to do inline; delegation overhead is not worth it.
- The
cursor-agentCLI is not installed or authenticated (runcursor-agent login). - You want to write the code yourself, or you only need Cursor's opinion on code you wrote (a
--read-onlydispatch covers that, see below, but a plain review may not need delegation at all).
Prerequisites (check once)
cursor-agent --versionsucceeds. If not, follow the installer for your platform at cursor.com/cli, inspect what it will run, and authenticate withcursor-agent login.cursor-agent statusshows you logged in.- You are in (or will point
--cdat) the target git repository. The relay passes--trust, so point it only at repositories you trust.
Choose the model
Omitting --model uses your Cursor default (usually auto, Cursor picks). To pin one, pass
--model <name> with a name from the account's live cursor-agent models output, select from that
list rather than inventing a name. Parameterized forms like <name>[context=1m,effort=high] are
forwarded as-is. The model that actually served the run is recorded as resolvedModel in
result.json.
The loop
Run these five steps per task. Steps 1, 4, and 5 require judgment; 2 and 3 are mechanical.

