Skip to main content

Cursor Subagent Cookbook

Map Cursor subagents to profiles and fleet.

Skill metadata​

SourceBundled (installed by default)
Pathskills/software-development/cursor-subagent-cookbook
Version1.0.0
AuthorVibeOS
LicenseMIT
Platformslinux, macos, windows
Tagscursor, subagent, profiles, fleet, delegation, kanban
Related skillscursor-task-orchestration, kanban-automations, plan, requesting-code-review, cursor-review-bridge

Reference: full SKILL.md​

info

The following is the complete skill definition that VibeOS loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.

Cursor Subagent Cookbook

Cursor stores specialized agents as .cursor/agents/*.md. VibeOS does not copy that file format. Map the same intent onto profiles, fleet presets, delegate_task, or kanban — zero new core tools.

When to Use​

  • User asks for a custom subagent / “как create-subagent в Cursor”
  • Choosing between in-process leaf, profile, or durable kanban worker
  • Setting up fleet specialists (researcher, builder, critic, …)

Prerequisites​

  • Read cursor-task-orchestration for short parallel leaves
  • Read kanban-automations when work must survive restart
  • Optional: Desktop fleet presets in apps/desktop/src/lib/fleet-specialist-presets.ts
  • Profiles live under ~/.vibeos/profiles/<name> (isolated VIBEOS_HOME)

How to Run​

  1. Name the specialty (explore, implement, review, monitor, …).
  2. Pick the socket from the Quick Reference table.
  3. Write a short SOUL / system note for that profile or leaf goal — not a mid-chat system-prompt rewrite on the parent (keeps prompt cache stable).
  4. Smoke with one concrete task.

Quick Reference​

Cursor ideaVibeOS socketWhen
Explore codebase agentdelegate_task leaf, toolsets file+terminalMinutes, fresh context
Implementer agentleaf or fleet builder profileCoding with tests
Reviewer / Bugbot-likeleaf + requesting-code-review or fleet criticIndependent verify
Long-lived specialistvibeos -p <profile> chat + SOUL.mdSame persona across sessions
Team of workerskanban assignees + dispatcherSurvives restart / multi-profile
Monitor / watchercron Monitor + fleet monitorCheap poll, wake on delta
Nested orchestratordelegate_task role=orchestratorBounded by max_spawn_depth

Fleet role → keep-skills (desktop presets): researcher, builder, critic, creative, operator, archivist, monitor, orchestrator.

Procedure​

A. One-shot leaf (closest to Cursor Task)​

delegate_task(
goal="…",
context="…inline everything needed…",
toolsets=["file", "terminal"],
role="leaf"
)
  • Do not give leaves delegate_task / clarify / messaging unless required.
  • Parent integrates; do not let a leaf grade its own work.

B. Reusable profile (closest to .cursor/agents/foo.md)​

  1. vibeos profile create <name> (or Desktop Create specialist).
  2. Put persona + constraints in that profile’s SOUL.md / skills keep-list.
  3. Narrow toolsets in the profile config (coding profile is the template).
  4. Launch: vibeos -p <name> chat or ACP with that VIBEOS_HOME.

C. Durable worker​

  1. Create kanban task with assignee profile.
  2. Dispatcher claims → worker subprocess.
  3. Use kanban-automations for webhook/cron intake.

D. Translating a Cursor agent markdown file​

Cursor frontmatter / bodyVibeOS
name / descriptionprofile name + description
system prompt bodyprofile SOUL.md (stable per session)
tool allow-listprofile tools.*.enabled / toolsets
model overrideprofile model section
“readonly” exploreleaf with no write tools / careful prompt

Do not add a loader for .cursor/agents/ into core.

Pitfalls​

  • Process-local delegate_task(background=true) dies with the process — use kanban/cron for durability.
  • Mid-conversation toolset swaps break prompt cache — change on the profile or next session.
  • Do not invent new core tools named after Cursor Task types.
  • Profiles are islands: no live config inheritance from default (by design).

Verification​

  • One leaf completes a research summary without editing unrelated files.
  • A named profile starts with vibeos -p <name> chat and shows expected skills.
  • Durable path: kanban task claimed by the assignee profile at least once.