delegation

Delegate tasks to subagents for synchronous or asynchronous execution.

Updated Feb 17, 2026
One-click install
npx skills add https://github.com/Celia-12/Proyecto-Mern --skill delegation-celia-12
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: delegation
Source: https://github.com/Celia-12/Proyecto-Mern/tree/main/frontend/.local/skills/delegation
Command: npx skills add https://github.com/Celia-12/Proyecto-Mern --skill delegation-celia-12

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Delegate work that would otherwise block the main agent by offloading discrete tasks to specialized subagents, enabling parallelism and background processing for complex session plans.

Core Features & Use Cases

  • Synchronous Delegation: Run a subagent and wait for its result when you need immediate output.
  • Asynchronous Background Tasks: Start subagents that run in the background and collect results later with waitForBackgroundTasks.
  • Message-Based Follow-ups: Send asynchronous or synchronous follow-ups to running subagents to refine or request additional results.
  • Use Case: When a session plan contains multiple independent tasks (e.g., T002, T003, T004), launch them in parallel as async subagents and aggregate results once complete.

Quick Start

Start a synchronous subagent for task T003 from the session plan and print its result.

Frequently Asked Questions about delegation

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

FAQPage Schema
How do I run parallel background tasks with autonomous subagents?

To run parallel background tasks with autonomous subagents, launch them using asynchronous invocation patterns and collect their results later using the waitForBackgroundTasks method. This enables concurrent execution of independent multi-step session plan tasks.

What is synchronous task delegation in multi-agent orchestration?

Synchronous task delegation in multi-agent orchestration is the process of running a specialized subagent and waiting for its immediate output before proceeding. It allows the main agent to offload discrete tasks and block for direct results.

Can I send follow-up messages to a running background subagent?

Yes, you can send follow-up messages to a running background subagent using message-based synchronous or asynchronous follow-ups. This allows you to refine instructions or request additional results while the subagent executes its task.

When should I use asynchronous subagents instead of synchronous execution?

Use asynchronous subagents instead of synchronous execution when a session plan contains multiple independent tasks, such as T002, T003, and T004. Asynchronous invocation allows these tasks to run concurrently in the background without blocking the main agent.

How do I provide file access to delegated subagents?

You provide file access to delegated subagents by using the optional relevantFiles parameter during invocation. This grants the autonomous subagent access to specified files needed to execute its specialized background task.