delegation

Delegate complex tasks to specialized subagents for synchronous or asynchronous execution.

Updated Dec 10, 2025
One-click install
npx skills add https://github.com/KhaledMKhaled/FodaStore --skill delegation-khaledmkhaled
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: delegation
Source: https://github.com/KhaledMKhaled/FodaStore/tree/main/.local/skills/delegation
Command: npx skills add https://github.com/KhaledMKhaled/FodaStore --skill delegation-khaledmkhaled

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Delegation Skill helps you split complex work into parallel subtasks handled by specialized subagents, reducing turnaround time and cognitive load.

Core Features & Use Cases

  • Synchronous task execution: Use subagent() to delegate work and wait for a result when the output is needed immediately.
  • Background parallel execution: Use startAsyncSubagent() to run tasks concurrently without blocking, then collect outcomes later.
  • Asynchronous follow-ups: Use messageSubagent() to continue work in the background, or messageSubagentAndGetResponse() to request a response immediately after clarification.

Quick Start

Delegate task T003 from your session plan to a synchronous subagent and return the final subagent result to you.

Frequently Asked Questions about delegation

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

FAQPage Schema
How do I split complex tasks into parallel subtasks for autonomous execution?▼

To split complex tasks into parallel subtasks, you delegate them to specialized subagents using startAsyncSubagent() for non-blocking concurrent execution, then collect the outcomes later. This reduces turnaround time and cognitive load.

When should I use synchronous delegation instead of background parallel execution?▼

Use synchronous delegation via subagent() when you need the output immediately and must wait for the result. Use background parallel execution with startAsyncSubagent() to run independent tasks concurrently without blocking your session.

How does asynchronous follow-up work after delegating a task to a subagent?▼

Asynchronous follow-up uses messageSubagent() to continue background work or messageSubagentAndGetResponse() to request an immediate response after clarification, allowing you to coordinate results via waiting or message follow-ups.

Can I delegate specific planned work from an existing session plan?▼

Yes, you can delegate planned multi-step work directly from a session plan by launching subagents with fromPlan, optionally passing relevantFiles and relevantSkills to provide necessary context for autonomous execution.

What is task orchestration with specialized subagents designed to solve?▼

Task orchestration with specialized subagents solves the problem of cognitive overload and slow turnaround by outsourcing complex, multi-step work to autonomous agents that handle synchronous or asynchronous execution.