delegation

Delegate tasks to specialized subagents for synchronous and asynchronous execution.

2|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/patriotnewsactivism/Casebuddy-AI-Law-Partner --skill delegation-patriotnewsactivism
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: delegation
Source: https://github.com/patriotnewsactivism/Casebuddy-AI-Law-Partner/tree/main/.local/skills/delegation
Command: npx skills add https://github.com/patriotnewsactivism/Casebuddy-AI-Law-Partner --skill delegation-patriotnewsactivism

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines complex workflows by allowing you to delegate tasks to specialized subagents, enabling parallel processing and autonomous execution.

Core Features & Use Cases

  • Synchronous Task Execution: Use subagent to run tasks that require immediate results, blocking until completion.
  • Asynchronous Task Execution: Use startAsyncSubagent for background tasks that don't need immediate output, allowing for parallel processing.
  • Follow-up Messaging: Communicate with running subagents using messageSubagent (async) or messageSubagentAndGetResponse (sync) for iterative refinement.
  • Use Case: When planning a complex feature, delegate the coding of different modules to separate subagents using startAsyncSubagent and then use waitForBackgroundTasks to collect all results.

Quick Start

Delegate the task of fixing the authentication bug in src/auth.ts to a subagent and wait for its completion.

Frequently Asked Questions about delegation

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

FAQPage Schema
How do I delegate tasks to subagents for parallel processing in AI workflows?

You can delegate tasks to subagents for parallel processing by initiating asynchronous execution, which allows background tasks to run simultaneously without blocking your main workflow.

What is the difference between synchronous and asynchronous task execution for subagents?

Synchronous task execution blocks your workflow until the subagent finishes and returns immediate results, while asynchronous task execution runs in the background to enable parallel processing.

Can I send follow-up messages to a running subagent for iterative refinement?

Yes, you can communicate with running subagents using follow-up messaging, allowing you to send additional instructions asynchronously or synchronously to refine iterative tasks.

How do I collect results from multiple background subagents after parallel execution?

After starting parallel background tasks via asynchronous subagent initiation, you can use wait commands to collect all results once the delegated modules have completed their execution.

When should I use asynchronous task delegation instead of standard synchronous execution?

Use asynchronous task delegation when planning complex features that require parallel processing, such as coding different modules simultaneously, rather than blocking the workflow with synchronous execution.