delegation

Delegate tasks to subagents for autonomous execution via subagent APIs.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/rezosnd/MINI-PROJECT- --skill delegation-rezosnd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: delegation
Source: https://github.com/rezosnd/MINI-PROJECT-/tree/main/ML%20BACKEND%20DASHBOARD/.local/skills/delegation
Command: npx skills add https://github.com/rezosnd/MINI-PROJECT- --skill delegation-rezosnd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Delegates tasks to specialized subagents for autonomous execution.

Core Features & Use Cases

  • Subagent orchestration: Launch a subagent to perform a task and wait for completion.
  • Background execution: StartAsyncSubagent to run tasks in the background and track results.
  • Async follow-ups: Use messageSubagent to send follow-ups without blocking.
  • Sync follow-ups: Use messageSubagentAndGetResponse to obtain results within a timeout.

Quick Start

Delegate a task to a subagent by calling subagent with a task description and then handle the returned result.

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 asynchronous parallel execution?

You can delegate tasks to subagents for asynchronous execution by calling the subagent or startAsyncSubagent API with a task description, enabling parallel processing and background work without blocking the main workflow.

What is the best way to send follow-up messages to a running background subagent?

To send follow-up messages to a running background subagent, use the messageSubagent API for non-blocking communication, or messageSubagentAndGetResponse to retrieve results synchronously within a specified timeout period.

Can I coordinate multiple AI agents running in parallel using task orcheststration?

Yes, you can coordinate multiple AI agents running in parallel by launching ad-hoc or plan-based tasks through the startAsyncSubagent API, orchestrating autonomous subagent execution for concurrent background processing.

Does asynchronous subagent orchestration require external dependencies?

Asynchronous subagent orchestration requires no external dependencies, providing built-in APIs like subagent and startAsyncSubagent to manage task delegation and background execution natively within your environment.

What is the difference between plan-based and ad-hoc task delegation for AI agents?

Plan-based task delegation executes predefined structured workflows, while ad-hoc handling allows dynamic task delegation to subagents, both utilizing the same core APIs for autonomous asynchronous execution and result tracking.

When should I avoid using background subagents for task orchestration?

You should avoid using background subagents when tasks require immediate synchronous results without parallel processing, as async orchestration is optimized for autonomous background execution rather than blocking sequential operations.