delegation

Delegate tasks to subagents for synchronous and asynchronous execution.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/nagasriramnani/RunFit --skill delegation-nagasriramnani
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: delegation
Source: https://github.com/nagasriramnani/RunFit/tree/main/.local/skills/delegation
Command: npx skills add https://github.com/nagasriramnani/RunFit --skill delegation-nagasriramnani

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines complex workflows by allowing you to delegate specific tasks to specialized subagents, enabling parallel processing and efficient task management.

Core Features & Use Cases

  • Synchronous Task Execution: Use subagent to run a task and wait for its result, ideal for sequential operations.
  • Asynchronous Task Execution: Employ startAsyncSubagent for tasks that can run in the background, freeing up the main agent.
  • Follow-up Messaging: Communicate with running subagents using messageSubagent (async) or messageSubagentAndGetResponse (sync) for iterative refinement or status checks.
  • Use Case: When planning a complex feature implementation, delegate the unit testing to one subagent, documentation generation to another, and code refactoring to a third, all running concurrently.

Quick Start

Delegate the task of fixing the authentication bug in src/auth.ts to a subagent.

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

Synchronous task execution runs a delegated task and waits for the result before continuing, making it ideal for sequential operations where subsequent steps depend on the immediate output.

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

Yes, you can communicate with running subagents using messageSubagent for asynchronous updates or messageSubagentAndGetResponse for synchronous communication to refine tasks or check status.

What is the best way to orchestrate complex workflows across multiple agents?

Orchestrate complex workflows by distributing work across multiple specialized subagents, enabling concurrent processing of independent tasks like code refactoring, unit testing, and documentation generation.

Does workflow automation with subagents support both synchronous and asynchronous initiation?

Yes, workflow automation supports both synchronous execution via the subagent function for blocking operations and asynchronous execution via startAsyncSubagent for background processing.

When should I not use asynchronous task delegation for agent communication?

You should avoid asynchronous task delegation when subsequent workflow steps strictly require the subagent's output to proceed, necessitating synchronous execution to block and wait for the result.