AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Delegate To Cursor Composer

skill-junerdd-skills-delegate-to-cursor-composer · by JUNERDD

Opt-in Cursor Composer delegation workflow for bounded coding tasks, reviewed implementation packets, Cursor internal subagents, hierarchical workstreams, follow-up packets, and live Cursor CLI monitoring. Use only when the user explicitly injects or names `$delegate-to-cursor-composer` / `delegate-to-cursor-composer`; otherwise do not select it proactively.

No reviews yet
0 installs
30 views
0.0% view→install

Install

$ agentstack add skill-junerdd-skills-delegate-to-cursor-composer

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-junerdd-skills-delegate-to-cursor-composer)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Delegate To Cursor Composer? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Delegate to Cursor Composer

Route software engineering work to Cursor Composer through bounded, reviewable task packets. The upstream agent remains accountable for user intent, scope, architecture, risk decisions, verification gates, and acceptance.

Core invariant:

Choose the lightest delegation path that can produce a safe, bounded, reviewable result.

Roles

  • Upstream agent: interpret the user goal, choose the route, define scope and risk gates, approve any plan before implementation, review downstream output, and decide acceptance.
  • Support subagent: perform bounded read-only or advisory work such as repository survey, test triage, security review, API review, documentation review, or independent diff review. It does not edit files, dispatch Cursor, or approve quality.
  • Planning subagent: produce a read-only plan for one coherent workstream. The upstream agent must review and edit the plan before Cursor receives it.
  • Workstream orchestrator subagent: own one bounded workstream in hierarchical delegation. It may create a local plan, dispatch Cursor if authorized, review local output, run limited follow-up loops, and report evidence. It does not own global architecture, cross-workstream interfaces, merge, deployment, or user-facing acceptance.
  • Cursor Composer: execute the approved task packet. Cursor may inspect, propose, apply changes, or launch bounded internal subagents according to the packet, but it must not broaden scope or become the acceptance reviewer.
  • Cursor internal subagent: a Cursor Task() / taskToolCall child agent launched inside one Cursor run. It works under Cursor's packet, uses composer-2.5-fast by default, and returns evidence to Cursor.

Routing Modes

Read references/routing-policy.md before delegating. Emit a short routing decision:

## Routing Decision
Mode: 
Support subagents: 
Reason: 
Risk level: 
Risk gates: 
Workspace strategy: 
Cursor mode: 
Cursor model: 
Cursor internal subagents: 
Live monitor: 

Choose:

  • direct_cursor for small, clear, low-risk implementation slices.
  • planned_single_stream when one coherent stream benefits from a reviewed plan.
  • hierarchical_orchestration only when independent workstreams have clear ownership and local review loops reduce risk or context load.
  • blocked when missing context, unsafe action, unavailable permissions, or required user decisions prevent safe delegation.

Workflow

  1. Intake: identify the user goal, definition of done, workspace constraints, likely repository areas, risk class, validation commands, and destructive or irreversible actions. Ask at most one blocking question; otherwise state assumptions and proceed.
  2. Route: choose the lightest safe mode with references/routing-policy.md and record the routing decision.
  3. Prepare authority:
  • Direct mode: create references/task-direct.md with ## Master Direct Implementation Instructions.
  • Planned mode: brief the planning subagent with references/planning-contract.md, review the plan, then create references/task-planned.md with ## Approved Upstream Plan.
  • Hierarchical mode: define workstream contracts with references/workstream-contract.md; each authorized workstream creates references/task-local.md with ## Approved Local Plan.
  • User-provided plan: accept or edit the plan before Cursor receives references/task-user-plan.md with ## User-Provided Approved Plan.
  • Follow-up loop: use references/task-follow-up.md only for bounded findings from upstream review.
  1. Resolve Cursor model: use composer-2.5-fast for every Cursor dispatch and Cursor internal subagent unless the user explicitly instructed Cursor to use a different Cursor model. Do not treat permission to use support subagents, planning subagents, workstream orchestrators, Cursor internal subagents, or outer-agent model choices as permission to change Cursor's model.
  2. Dispatch Cursor: use inspect-only, proposal, or apply mode according to the routing decision. Prefer scripts/cursor_delegate.py when a headless Cursor CLI is available.
  3. Monitor when useful: when live visibility helps, read references/live-monitoring.md and monitor status.json rather than raw logs by default.
  4. Review: use references/review-checklist.md to inspect reports, diffs, verification evidence, scope boundaries, lockfiles, generated files, and integration risks.
  5. Narrow follow-up or stop: send bounded follow-up packets only for specific findings. Stop and escalate when the implementation needs new product scope, architecture, dependencies, migrations, security posture, public APIs, credentials, destructive commands, billing changes, or deployment actions.

Cursor Dispatch Wrapper

Use the wrapper only after creating a task packet with exactly one valid authority section and no unresolved template placeholders.

python scripts/cursor_delegate.py \
  --workspace /path/to/repo \
  --task-file /path/to/cursor-task.md \
  --planning-source auto \
  --output-format stream-json \
  --stream-partial-output

The wrapper defaults to Cursor model composer-2.5-fast, and internal Cursor subagents inherit that default. Pass --model or --internal-subagent-model only when the user explicitly directed Cursor to use a different Cursor model, and include --user-authorized-model plus --override-reason.

Add --apply only when file modification is authorized and the workspace is reviewable. Use --inspect-only for feasibility checks and blockers. The wrapper refuses apply mode on dirty git workspaces unless explicitly overridden with a reason.

Wrapper runs write status.json, metadata.json, prompt.txt, and a /latest pointer. Raw stdout, stderr, and event logs are written only with --include-raw-logs; raw-event-only logging is available with --include-raw-events. Both raw-output flags require --override-reason. Prefer status.json for low-noise live monitoring.

Guardrails

  • Keep delegated context minimal, relevant, and role-specific.
  • Default every Cursor dispatch and Cursor internal subagent to model composer-2.5-fast unless an explicit user Cursor-model instruction exists.
  • Do not pass secrets, private keys, tokens, production credentials, or unrelated proprietary context to Cursor or subagents.
  • Allow Cursor internal subagents only when the task packet includes ## Cursor Internal Subagent Policy; otherwise keep Cursor as a single executor.
  • Prefer version control before apply-mode Cursor runs.
  • Use separate branches or worktrees for hierarchical or parallel workstreams.
  • Avoid concurrent writes to the same files unless the upstream agent serializes ownership.
  • Treat downstream outputs as evidence, not authority.
  • Preserve user intent over downstream suggestions.
  • Do not commit, push, deploy, rotate credentials, alter billing, run destructive commands, or expand scope unless the user explicitly requested the action and the upstream agent reviewed the risk.

Resources

  • references/routing-policy.md: mode selection rules, support-subagent brief, escalation and downgrade rules.
  • references/planning-contract.md: planning-subagent brief and upstream plan-review format.
  • references/workstream-contract.md: hierarchical workstream contract and local completion report.
  • references/task-direct.md: direct Cursor task packet template.
  • references/task-planned.md: reviewed upstream plan task packet template.
  • references/task-local.md: local workstream task packet template.
  • references/task-user-plan.md: user-provided plan task packet template.
  • references/task-follow-up.md: bounded follow-up task packet template.
  • references/cursor-internal-subagents.md: Cursor Task() / taskToolCall policy, model defaults, review evidence, and packet block.
  • references/review-checklist.md: routing, plan, workstream, Cursor, follow-up, and acceptance gates.
  • references/live-monitoring.md: live Cursor run status artifacts, usage, and limits.
  • scripts/cursor_delegate.py: optional headless Cursor CLI wrapper with authority-heading checks, placeholder checks, git safety checks, sanitized status output, and run metadata.

Response

Report:

  • routing mode and reason;
  • subagents used, if any;
  • Cursor mode: inspect-only, proposal, or apply;
  • Cursor model and internal subagent model used;
  • Cursor internal subagents used, if any;
  • changes made or downstream findings;
  • verification performed and results;
  • upstream review verdict: accepted, accepted with notes, needs bounded follow-up, or blocked;
  • remaining risks or user decisions.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.