delegation

Delegate tasks to subagents for synchronous or asynchronous execution.

Updated May 6, 2026
One-click install
npx skills add https://github.com/Devvraj10/Niv --skill delegation-devvraj10
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: delegation
Source: https://github.com/Devvraj10/Niv/tree/main/.local/skills/delegation
Command: npx skills add https://github.com/Devvraj10/Niv --skill delegation-devvraj10

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides a mechanism to delegate tasks to specialized subagents, allowing for autonomous execution and improved workflow management.

Core Features & Use Cases

  • Task Delegation: Delegate tasks to subagents for synchronous or asynchronous execution.
  • Synchronous Execution: Use subagent to execute tasks that require immediate results.
  • Asynchronous Execution: Utilize startAsyncSubagent for background task execution.
  • Message Subagents: Send messages to subagents for follow-ups and collect results with messageSubagent and messageSubagentAndGetResponse.
  • Use Case: For instance, you can delegate a complex task like 'Code review for new features' to a subagent and monitor its progress without interruption.

Quick Start

Use the delegation skill to start a subagent for code review of the 'new-features' branch using the command: delegation subagent(code-review, fromPlan=true, relevantFiles=["src/new-features/**"], relevantSkills=[".local/skills/code-review/SKILL.md"]).

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

You can delegate tasks to subagents for autonomous background execution by using asynchronous task handling functions like startAsyncSubagent. This initiates the workflow without interruption, allowing the subagent to execute tasks independently.

What is the difference between synchronous and asynchronous subagent management?

Synchronous subagent management executes tasks requiring immediate results, while asynchronous management handles background task execution. The skill supports both modes to coordinate workflows and manage execution results effectively.

How do I send follow-up messages to a running subagent and collect its response?

You can send follow-up messages to a running subagent and collect results using messageSubagent and messageSubagentAndGetResponse. These commands facilitate messaging subagents during their workflow and retrieving execution outputs.

Can I delegate a code review task and monitor its progress without interruption?

Yes, you can delegate a complex task like code review to a subagent and monitor its progress without interruption. The skill coordinates subagent workflows to handle execution results autonomously.

Do I need any external dependencies to coordinate subagent workflows?

No external dependencies are required to coordinate subagent workflows. The skill handles task delegation, messaging subagents, and integrates with various implementation skills natively.