hktitan/cursor-sdk · Archived

cursor-subagents

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.

First seen May 3, 2026

Installation

$ npx skills add hktitan/cursor-sdk --skill cursor-subagents

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from hktitan/cursor-sdk · top by installs.

npx skills add hktitan/cursor-sdk

Browse all from hktitan/cursor-sdk

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 1
License LICENSE
Default branch main
Open issues 0
Status Archived

Skill metadata

Parsed from SKILL.md frontmatter.

More metadata
internal
source
https://cursor.com/docs/sdk/typescript

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,371 B
  • docs SUMMARY.md 208 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 4 installs

SKILL.md

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<string, AgentDefinition>
  • [[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]]