delegation

Delegate tasks to subagents for synchronous or asynchronous execution.

Updated Feb 9, 2026
One-click install
npx skills add https://github.com/soq123/SE3354-Calo-fit --skill delegation-soq123
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: delegation
Source: https://github.com/soq123/SE3354-Calo-fit/tree/main/.local/skills/delegation
Command: npx skills add https://github.com/soq123/SE3354-Calo-fit --skill delegation-soq123

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Delegation enables automating task execution by dispatching work to specialized subagents, reducing manual overhead and enabling parallel workflows.

Core Features & Use Cases

  • Use subagent for synchronous task execution to obtain immediate results.
  • Use startAsyncSubagent for background task execution to run tasks in parallel.
  • Use messageSubagent and messageSubagentAndGetResponse for asynchronous follow-ups and synchronous replies.
  • Ideal for session plans and multi-task orchestration where tasks can run concurrently.

Quick Start

Delegate a task to a subagent and wait for the result.

Frequently Asked Questions about delegation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate multi-step workflows by delegating tasks to subagents?

Task delegation to subagents is a technique that distributes workload to specialized subagents for autonomous execution. It supports synchronous execution for immediate results and asynchronous execution for parallel background tasks.

What is the difference between synchronous and asynchronous subagent execution?

Synchronous subagent execution waits for immediate results, while asynchronous execution runs tasks in the background using startAsyncSubagent. Asynchronous delegation enables parallel workflows and multi-task orchestration without blocking the main session.

How do I send follow-up messages to a running async subagent?

You can send follow-up messages to a running subagent using the messageSubagent variant for asynchronous communication, or messageSubagentAndGetResponse for synchronous replies. This enables continuous interaction during background task execution.

Can I pass relevant files and skills as context when delegating to a subagent?

Yes, you can pass optional context including relevantFiles and relevantSkills when delegating tasks to subagents. This provides specialized subagents with necessary resources for autonomous execution of multi-step plans.

When should I use parallel task execution instead of synchronous subagent calls?

Use parallel task execution with startAsyncSubagent when your session plan contains independent, parallelizable tasks that benefit from concurrent background processing. Synchronous subagent calls are better when immediate results are required before proceeding.

Does subagent orchestration work for multi-task session plans?

Subagent orchestration is ideal for session plans and multi-task orchestration where tasks can run concurrently. It distributes workload by delegating tasks to specialized subagents for autonomous execution across parallel workflows.