원클릭으로
delegate-task
Dispatches a task to a specialized agent role using async-first, non-blocking delegation via the Spartan Swarm.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Dispatches a task to a specialized agent role using async-first, non-blocking delegation via the Spartan Swarm.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
TEMPORARILY DISABLED. Do not use this skill for automatic Optimus fleet dispatch. The Optimus orchestrator passthrough is currently disabled because wait_for_completion can exceed MCP request timeouts; when users ask for optimus-fleet, fleet mode, or automatic orchestration, explain that the skill is disabled and use manual step-by-step execution or direct sub-agents instead.
First-run protocol for the Master Agent. Read this BEFORE using any Optimus MCP tools.
Integrate Optimus Agent Runtime into external applications via HTTP REST, TypeScript SDK, or CLI contract. Use when a user wants to embed AI agent capabilities into their own app, service, or CI/CD pipeline — without dealing with MCP transport.
Autonomous release gate: runs on a schedule, inspects commits since the last tag, determines whether to release, and executes the release pipeline via the release-process skill.
Generic, config-driven release process for any project type. Covers version bumping, changelog, build, documentation, tagging, and publishing with auto-detection for npm, Python, and Rust projects.
Audits new or modified skills for Optimus compliance before deployment. Use this skill whenever reviewing a skill that has been created or changed — check file paths, MCP tool references, structural quality, and error handling. Also use when doing a quality sweep of all skills in the project.
| name | delegate-task |
| description | Dispatches a task to a specialized agent role using async-first, non-blocking delegation via the Spartan Swarm. |
This skill activates when the user asks to assign a specific already-scoped task to an agent, delegate a concrete execution step, or spawn a specialized worker.
If the request is broad, vague, or clearly multi-step (feature delivery, refactor, investigation with unknown scope, "handle this end-to-end"), do not start with this skill. Route through optimus_orchestrate so Optimus chooses the internal delegate/council/plan flow first.
All delegation MUST use delegate_task_async by default. This is a hard rule, not a preference.
delegate_task_async — fire-and-forget background dispatch.delegate_task (synchronous) ONLY if the user explicitly requests blocking/synchronous execution.Choose the Optimus entry point before selecting a role:
| Request shape | Correct entry point |
|---|---|
| Broad / multi-step / needs decomposition | optimus_orchestrate |
| Already decomposed into multiple explicit dependent items | dispatch_plan_async |
| Single already-scoped worker task | delegate_task_async |
Do not bypass this by reaching for external built-in sub-agent features first. The master agent should use the same Optimus-native orchestration model the product exposes.
Before randomly creating and assigning roles, you MUST act as the strategic commander and execute this strict pipeline:
You cannot command an army blindly.
Action: Use your available roster inspection tool (e.g., roster_check) with the current workspace_path to retrieve the list of currently registered personnel in your Swarm.
Note: Do not skip this step even if you think you know the roster.
Analyze the user's task request against the roster you just retrieved. First, verify that this really is a direct delegate_task_async case, then classify the task scope using the Decision Matrix below, then select the appropriate role.
Before picking a T1/T2/T3 role, decide which category of role the task requires:
| If the task is… | Action |
|---|---|
| Vague scope, multi-file, needs decomposition, feature request without exact file/location, or needs PR review coordination | Stop and use optimus_orchestrate instead |
| Already decomposed into multiple explicit items or dependency edges | Stop and use dispatch_plan_async instead |
| Specific, single-file or well-scoped change, bug fix with known root cause, "quick fix" or "just change X in file Y" | Continue and send to dev directly |
| Review/audit, security scan, QA verification, or domain expertise request with clear scope | Continue and send to matching specialist (security, qa-engineer, etc.) |
Anti-patterns: Never send an entire Epic directly to dev. Never use this skill as a substitute for optimus_orchestrate. Never route a one-liner fix through PM.
webgl-shader-guru). The system will auto-create a T2 template on first use.For new or existing roles, prepare structured role info:
role_description: What this role does and its expertise (used to generate/update the T2 template)role_engine: Which engine to use — check the roster's Engine & Model Spec section (e.g., claude-code, copilot-cli)role_model: Which model (e.g., claude-opus-4.6-1m). Omit to let the system auto-resolve.Before delegating, you MUST evaluate if the current role description is sufficiently deep for the specific task at hand. Zero-shot or basic templates are often too thin to handle complex enterprise requirements.
Action:
.optimus/roles/security.md), read the role file first..optimus/roles/<name>.md file using an edit tool before dispatching.task_description to provide context.Check which skills the role needs to execute the task. Look at the roster's Available Skills section.
required_skillsskill-creator to create it (using required_skills: ["skill-creator"]), then retryOnce you have determined the exact role name from Step 2, summarize your decision clearly to the user (e.g., "I am delegating this to our T2 chief-architect...").
Action: Use delegate_task_async to dispatch with all structured info:
{
"role": "security-auditor",
"role_description": "Security auditing expert who reviews code for vulnerabilities",
"role_engine": "claude-code",
"role_model": "claude-opus-4.6-1m",
"task_description": "Review the auth module for OWASP Top 10...",
"required_skills": ["git-workflow"],
"output_path": ".optimus/reports/security-audit.md",
"workspace_path": "/path/to/project",
"context_files": ["src/auth/handler.ts"]
}
The tool will return a taskId. After dispatch:
check_task_status only when progress needs to be checked or the user asks for an update.completed, read the output path file to collect results.After dispatching, your responsibilities are:
check_task_status with the taskId when the user asks for progress, or when you need the result to proceed with a dependent task.check_task_status reports completed, read the output artifact from the output_path and present or act on the results.This mirrors the non-blocking pattern used in the council-review skill (see Step 3: Non-Blocking Status Check and Result Collection).
The following behaviors are strictly prohibited:
delegate_task unless the user explicitly requests blocking execution.while (!done) behavior, no repeated immediate check_task_status calls, no artificial delays.If delegate_task_async or delegate_task returns an error or the task fails, DO NOT give up. Immediately analyze the stdout/stderr trace, formulate a fix, and retry the delegation, or fall back to doing the work manually.