AgentStack
SKILL verified MIT Self-run

Cursor Subagents

skill-hktitan-cursor-sdk-cursor-subagents · by HKTITAN

Define delegated subagents on a Cursor SDK agent via the `agents` field — `AgentDefinition`, MCP scoping, and model inheritance. Use when decomposing work across specialist personas.

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

Install

$ agentstack add skill-hktitan-cursor-sdk-cursor-subagents

✓ 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.

Are you the author of Cursor Subagents? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

cursor-subagents

The Cursor SDK has first-class subagents: declare them on AgentOptions.agents and the parent agent decides when to spawn them. This is not a manual orchestration layer — the parent's planner picks subagents based on their description.

When to use

  • Splitting a workload into specialist personas (planner, coder, reviewer)
  • Scoping a subagent to a subset of MCP servers
  • Running subagents on a different model from the parent

Configuration

  • [[references/agents-field]] — AgentOptions.agents: Record
  • [[references/agent-definition]] — description, prompt, model, mcpServers
  • [[references/mcp-scoping]] — restricting tool access per subagent
  • [[references/model-inheritance]] — "inherit" vs explicit override
  • [[references/persistence]] — re-pass on Agent.resume

Observation

  • [[references/task-events]] — SDKTaskMessage in the run stream

Cross-links

  • MCP server names → [[../cursor-mcp/references/inline-config]]
  • Models → [[../cursor-models/SKILL]]

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.