com um clique
subagent
Spawn and manage autonomous background agents for parallel work
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Spawn and manage autonomous background agents for parallel work
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Spawn external coding agents via the Agent Client Protocol (ACP)
Build interactive apps, dashboards, calculators, games, trackers, tools, landing pages, and data visualizations with Preact/TypeScript/CSS
Drive a specific named macOS app via raw input bypassing the Accessibility tree
Control the macOS desktop
Manage contacts, communication channels, access control, and invite links
Write, draft, or compose long-form text (blog posts, articles, essays, reports, guides)
| name | subagent |
| description | Spawn and manage autonomous background agents for parallel work |
| compatibility | Designed for Vellum personal assistants |
| metadata | {"emoji":"🤖","vellum":{"display-name":"Subagent","activation-hints":["Spawn a background worker that runs in parallel with the main turn","Delegate a self-contained research or implementation task off the main thread","Multiple agents at once, or a context-inheriting fork"],"avoid-when":["Task is small enough to do inline (single tool call, quick lookup)","User wants Claude Code or Codex — use the acp skill instead"]}} |
Subagent orchestration -- spawn background agents to work on tasks in parallel.
Subagents follow this status flow: pending -> running -> completed / failed / aborted
subagent_spawn with a label, objective, and role. The subagent runs autonomously.notify_parent while still running -- useful for sharing interim findings or signaling that they are blocked.subagent_status.subagent_read after the subagent reaches a terminal status to retrieve its full output.Each subagent is spawned with a role that determines its tool access. Choose the most restrictive role that can accomplish the task.
recall is local information search across memory, the personal knowledge base, past conversations, and workspace files. Use it when a subagent needs prior context that is not already in the prompt.
| Role | Tools | When to use |
|---|---|---|
general | Full tool access | Task genuinely needs unrestricted capabilities (rare -- prefer a specialized role) |
researcher | web_search, web_fetch, file_read, file_list, recall, notify_parent | Information gathering, web research, codebase exploration, reading documentation |
coder | bash, file_read, file_write, file_edit, web_search, recall, notify_parent | Code changes, file editing, running commands, build/test tasks |
planner | file_read, file_list, web_search, web_fetch, recall, notify_parent | Analysis, planning, synthesizing information, reviewing approaches |
All specialized roles (researcher, coder, planner) include notify_parent for mid-run communication with the parent.
Subagents use notify_parent to send messages to the parent conversation while still running. Each notification has an urgency level:
info -- Progress updates, minor findings. The parent is informed but does not need to act.important -- Key findings, significant results. The parent should review when convenient.blocked -- The subagent needs guidance or a decision from the parent to continue.Use notifications judiciously -- one per major finding or milestone. Do not send a notification for every small step.
Subagents can be referenced by label instead of UUID. The label parameter is accepted on subagent_message, subagent_status, subagent_read, and subagent_abort as an alternative to subagent_id. Label lookup is case-insensitive.
Use descriptive labels when spawning subagents (e.g., "research-auth-libraries", "implement-login-form") so they are easy to reference later.
subagent_read returns the subagent's assistant text output. Use the last_n parameter to retrieve only the most recent N assistant messages instead of the full history. This is useful for large outputs where you only need the final result.
Only the parent conversation that spawned a subagent can interact with it (check status, send messages, abort, or read output).
Set send_result_to_user: false when spawning a subagent whose result is for internal processing only. The parent will still be notified on completion, but the notification will instruct it to read the result without presenting it to the user.
Forks are sub-agents that inherit the parent's full context -- messages, system prompt, and memory -- sharing the KV cache for near-free context inheritance. Use forks when the task benefits from knowing what you've been discussing; use a regular sub-agent when the task is self-contained.
Key behaviors: Forks always run as general role (the role parameter is ignored). send_result_to_user defaults to false. Read fork output with last_n: 1 to get only the final synthesis.
When to fork vs regular sub-agent:
| Task | Mode |
|---|---|
| Single tool call (one search, one file read) | Direct -- don't spawn at all |
| Multi-page web research needing conversation context | Fork |
| Exploratory file search informed by prior discussion | Fork |
| Comparing multiple sources against what was discussed | Parallel forks |
| Self-contained task with a clear objective | Regular sub-agent |
Rule of thumb: "Does this task need to know what we've been talking about?" If yes, fork. If the objective is fully self-describing, use a regular sub-agent with a scoped role.
subagent_status in a loop. You will be notified automatically when a subagent completes.researcher and coder in parallel for research-then-implement workflows -- the researcher gathers context while the coder starts on the known parts.notify_parent for interim findings instead of waiting for completion. This lets the parent act on partial results early.subagent_message to send follow-up instructions to a running subagent.subagent_abort to cancel a subagent that is no longer needed.