Install
$ agentstack add skill-junerdd-skills-delegate-to-cursor-composer ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo 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.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
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 →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()/taskToolCallchild agent launched inside one Cursor run. It works under Cursor's packet, usescomposer-2.5-fastby 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_cursorfor small, clear, low-risk implementation slices.planned_single_streamwhen one coherent stream benefits from a reviewed plan.hierarchical_orchestrationonly when independent workstreams have clear ownership and local review loops reduce risk or context load.blockedwhen missing context, unsafe action, unavailable permissions, or required user decisions prevent safe delegation.
Workflow
- 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.
- Route: choose the lightest safe mode with
references/routing-policy.mdand record the routing decision. - Prepare authority:
- Direct mode: create
references/task-direct.mdwith## Master Direct Implementation Instructions. - Planned mode: brief the planning subagent with
references/planning-contract.md, review the plan, then createreferences/task-planned.mdwith## Approved Upstream Plan. - Hierarchical mode: define workstream contracts with
references/workstream-contract.md; each authorized workstream createsreferences/task-local.mdwith## Approved Local Plan. - User-provided plan: accept or edit the plan before Cursor receives
references/task-user-plan.mdwith## User-Provided Approved Plan. - Follow-up loop: use
references/task-follow-up.mdonly for bounded findings from upstream review.
- Resolve Cursor model: use
composer-2.5-fastfor 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. - Dispatch Cursor: use inspect-only, proposal, or apply mode according to the routing decision. Prefer
scripts/cursor_delegate.pywhen a headless Cursor CLI is available. - Monitor when useful: when live visibility helps, read
references/live-monitoring.mdand monitorstatus.jsonrather than raw logs by default. - Review: use
references/review-checklist.mdto inspect reports, diffs, verification evidence, scope boundaries, lockfiles, generated files, and integration risks. - 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-fastunless 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: CursorTask()/taskToolCallpolicy, 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.
- Author: JUNERDD
- Source: JUNERDD/skills
- License: MIT
- Homepage: https://junerdd-skills.vercel.app
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.