delegation

Delegate tasks to specialized subagents for synchronous or asynchronous execution.

Updated Apr 18, 2026
One-click install
npx skills add https://github.com/samibrahmi/instanotes-api --skill delegation-samibrahmi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: delegation
Source: https://github.com/samibrahmi/instanotes-api/tree/main/newcontent/skills/delegation
Command: npx skills add https://github.com/samibrahmi/instanotes-api --skill delegation-samibrahmi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Delegate tasks to specialized subagents to enable autonomous execution, parallel work, and flexible follow-up flows across synchronous and asynchronous tasks.

Core Features & Use Cases

  • Subagent: run a task synchronously and return results.
  • startAsyncSubagent: run tasks in the background for parallel execution.
  • messageSubagent: send follow-ups without blocking.
  • messageSubagentAndGetResponse: follow-ups that return results immediately when done.

Quick Start

Describe the task and choose the appropriate delegation method (subagent for sync, startAsyncSubagent for background, messageSubagent for async follow-ups, or messageSubagentAndGetResponse for sync follow-ups) to begin.

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 workflow orchestration?

To delegate tasks to subagents for parallel workflow orchestration, use the startAsyncSubagent function to run tasks in the background, enabling autonomous execution across multiple work streams without blocking the main session.

What is the difference between synchronous and asynchronous subagent execution?

Synchronous subagent execution runs a task and immediately returns results, while asynchronous execution uses startAsyncSubagent to run background tasks and messageSubagent to send non-blocking follow-ups during workflow orchestration.

How do I send a follow-up message to a running background subagent?

You can send a follow-up message to a running background subagent using the messageSubagent function for non-blocking communication, or messageSubagentAndGetResponse if you need to retrieve the results immediately upon completion.

Can I control the context and specialization when I delegate a task to a subagent?

Yes, when you delegate a task to a subagent, you can control context and flow using parameters such as task, fromPlan, relevantFiles, relevantSkills, and specialization to tailor the autonomous execution environment.

When should I use subagent orchestration for my session plans?

You should use subagent orchestration for session plans that involve multiple tasks, parallel work streams, and follow-up interactions requiring either synchronous or asynchronous autonomous execution to manage complex workflows efficiently.