cursor-delegate

cursor-delegate is a skill for Claude Code, Codex from Vanyangyang/cursor-bridge. It costs 146 tokens per session (2,058 once invoked), scanned A, original, MIT.

A workflow guide for handing bounded coding tasks to Cursor, an AI code editor, while the primary agent keeps control of scope, risk, and review.

In plain words
What is it for?
Use it when Cursor can handle a limited task or work alongside other non-conflicting work, then review and verify the result yourself.
Why use it?
It helps split off small implementation, investigation, documentation, configuration, testing, or tooling tasks without losing oversight or bypassing delegation settings.

Skill for Claude CodeCodex

Part of the cursor-bridge plugin — 2 skills, 2 hooks, 1 MCP server, 1 plugin shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/vanyangyang/cursor-bridge/cursor-delegate
Any agent
npx skills add Vanyangyang/cursor-bridge --skill cursor-delegate
Clone the repo
git clone --depth 1 https://github.com/Vanyangyang/cursor-bridge

Made for: Claude Code, Codex.

Or install cursor-bridge, the plugin that ships this one along with the rest of its 2 skills, 2 hooks, 1 MCP server, 1 plugin.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cursor-delegate

README.md
[![agentmods](https://agentmods.dev/badge/skills/vanyangyang/cursor-bridge/cursor-delegate.svg)](https://agentmods.dev/skills/vanyangyang/cursor-bridge/cursor-delegate)
Your own site
<a href="https://agentmods.dev/skills/vanyangyang/cursor-bridge/cursor-delegate"><img src="https://agentmods.dev/badge/skills/vanyangyang/cursor-bridge/cursor-delegate.svg" alt="Measured on agentmods" height="20"></a>
Per session 146 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,058 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00146 $0.02058
Opus 5 $0.00073 $0.01029
Sonnet 5 $0.00029 $0.00412
Haiku 4.5 $0.00015 $0.00206

Measured 4d ago against content hash 9ea635b386ff, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cursor-delegate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/cursor-delegate/SKILL.md · 95 lines

How it starts

The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cursor Delegate

Use Cursor as an execution partner. Keep direction, scope decisions, risk ownership, result review, and final verification with the primary agent.

Respect execution controls

  • Do not call cursor_do when the user explicitly says not to use Cursor or not to delegate. A direct user opt-out always wins.
  • If cursor_do is unavailable, or cursor_status reports delegation as disabled, do not bypass the setting, repeatedly retry, or ask Cursor to re-enable itself. Complete the work in the primary agent.
  • Treat CURSOR_BRIDGE_DELEGATION=off as an administrator-level host switch. It disables delegated execution but does not by itself disable cursor_context_engine, cursor_init, or cursor_status.
  • Cursor Bridge exposes one fixed delegation contract. Do not invent participation levels, call-frequency controls, or slash commands.
  • cursor_model owns persistent model and reasoning-effort defaults. Call its set or reset action only when the user explicitly asks to change those defaults; ordinary delegation must inherit the stored cursor_do choice without silently changing it.

Follow the default workflow

Use this responsibility chain:

primary agent defines purpose, invariants, and risk boundaries -> form a bounded task envelope -> Cursor investigates locally and executes within the envelope -> collect by task_id -> primary agent inspects the real changes and verifies them

  • Decide what should be achieved, why it matters, what must not change, where Cursor may work, and what evidence makes the result acceptable. Do not delegate product direction, architecture boundaries, or state verdicts.
  • Allow Cursor to locate relevant implementation, compare local approaches, and complete code, documentation, configuration, scripts, tests, and tooling inside those boundaries. Do not require the primary agent to pre-solve the task line by line.
  • Once a task has been selected for delegation, normally call cursor_do once with background=true, then continue non-conflicting primary-agent work. Bridge starts FIFO work in a clean chat automatically.
  • Prefer execution=fifo unless the parallel contract is clearly satisfied.
  • Do not inject a unique completion marker or impose a minimum response length. Rely on task state, stable task_id or agent_id, and the actual result.

Read the full file on GitHub · 95 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 95 lines · 146 tokens per session scan A 9ea635b386ff

Subscribe to this mod's changes

cursor-delegate is a skill published in the GitHub repository Vanyangyang/cursor-bridge (51 stars, last pushed 4d ago), licensed MIT. It adds 146 tokens to every session and 2,058 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.