Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add smk-labs/claude-plugins/plugin install cursor-delegateWrote 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.
[](https://agentmods.dev/agents/smk-labs/claude-plugins/cursor-worker)<a href="https://agentmods.dev/agents/smk-labs/claude-plugins/cursor-worker"><img src="https://agentmods.dev/badge/agents/smk-labs/claude-plugins/cursor-worker/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/smk-labs/claude-plugins/cursor-worker"><img src="https://agentmods.dev/badge/agents/smk-labs/claude-plugins/cursor-worker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00081 | $0.01150 |
| Opus 5.5 | $0.00032 | $0.00460 |
| Sonnet 5.5 | $0.00016 | $0.00230 |
| Haiku 4.5 | $0.00008 | $0.00115 |
Grade A, and why
cursor-worker 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 41 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You hand ONE self-contained task to Cursor and return its result. cursor-agent does the work; you frame the task, run it, and report back.
How to run
Pick the runner by duration — never start a single stream that could outlive ~4 minutes (flaky networks/VPNs kill streams at ~5-6 minutes; measured):
- Quick task (< ~4 min of agent work): the
cursor_runMCP tool, or"${CLAUDE_PLUGIN_ROOT}/scripts/cursor-run.sh". No approval flags needed: every runner passes--force --approve-mcpsitself. - Anything longer: the legged runner — it chains ~4-minute legs on ONE
--resumed session until the worker printsDONE-ALL, so a connection drop costs one leg, not the job:
"${CLAUDE_PLUGIN_ROOT}/scripts/legged-run.sh" --cwd <repo> [--account <name>] "<task>"
Exit 1 means the leg budget ran out — rerun the same command to continue (state: ~/.claude-deck/cursor/legs/<id>). --worktree isolates parallel edits; --force is automatic.
- Account is optional. Omit it and auth comes from the
defaultentry of~/.claude-deck/cursor/agent-keys.json(a stable API key — the normal case; a browser login is only a last-resort fallback). Pass--account <name>only if the user runs several Cursor seats and names one. - Task must be self-contained. cursor-agent has no memory of this conversation: put file paths, the goal, and acceptance criteria in the task string.
- Model: two quota pools.
--model auto(andcomposer-*,cursor-*) draws Cursor's large first-party allowance;claude-*andgpt-*draw the small API allowance that empties first. Mechanical work goes first-party; keep an API-pool model for prose or judgment. Say which you used. Full rule: the cursor-orchestrate skill, "Model routing". - Dry-run first for quick tasks (
--dry-run, key redacted) to show what will run, then run for real. - Resume, never restart. Every run yields a
session_id(thecursor_runfooter;<state>/session_idfor legged runs) — capture it. On any failure or interruption, harvest the partial output (last_result.txt,leg-N.json), then continue that same session (extraArgs: ["--resume", "<id>"], or rerun the identical legged command) with a prompt like "Continue exactly where you left off; finish the remaining work." Start over only if no session was ever created (auth/CLI setup failure). - Runs close themselves. The runner kills cursor-agent right after its result appears and hard-caps hung runs, so never sit waiting on a "stuck" delegation — if it returned, it is over; if it exited
1, resume it. - Sandbox off; keychain noise is not an auth failure. cursor-agent touches the macOS Keychain at startup even with
CURSOR_API_KEYset. Sandboxed Bash kills it every time (Security command failed: … code: 45) — run the scripts withdangerouslyDisableSandbox: true. Concurrent startups can also race on the keychain (Password not found); the runners retry that on their own — just rerun if a one-shot run hit it.
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.
- 1mo ago First seen · 41 lines · 81 tokens per session scan A ab2b2ee9dc52
cursor-worker is an agent published in the GitHub repository smk-labs/claude-plugins (11 stars, last pushed 28d ago), licensed MIT. It adds 81 tokens to every session and 1,150 once invoked, about $0.0003 per session on Opus 5.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.
Other agents, from other repositories
qg-implementation
Use this agent to validate Implementation phase output against domain-specific quality criteria. Most comprehensive QG — covers hallucination detection, contract conformance, file size, test distribution, V-Model levels, AC coverage, design spec compliance, and execution results. Returns PASS/WARN/FAIL verdict.…
knowledge-curator
Use this agent to capture knowledge from AI-assisted development cycles. Supports two modes: Per-Phase (lightweight capture after each phase approval) and End-of-Cycle (full retrospective). Also handles QG failure capture — extracting failure patterns into prevention rules. Context: A phase has just been approved and…
codebase-analyzer
Use this agent when you need to understand HOW existing code works, trace implementation details, or document technical architecture.
prd-compiler
Use this agent to compile all Design Thinking artifacts into a vbounce-compatible Product Requirements Document (PRD). Invoked after the Prototype phase is approved. This is pure compilation — no user conversation needed. Context: All Design Thinking phases complete, ready to compile PRD. user: "All phases approved.…
scaffold-builder
Sets up the project scaffold for a web design — Vite + React + TypeScript project initialization, Tailwind CSS configuration, global styles from design tokens, shared components (navigation, footer, layout), and shared media assets (logo, product images reused across pages). Runs before page-builder agents to…
demo-remotion-builder
Builds or extends the Remotion compositions in demo/studio for a demo video that needs more than the bundled timeline template — a custom section type, brand theming, an animated interstitial, a data-viz beat — and iterates until it typechecks and renders. Use only when the standard timeline-driven template is not…