delegation

Delegate tasks to subagents with synchronous and asynchronous workflows.

2|2|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/tamnguyentommy-rgb/Routex_AI_Web_Project --skill delegation-tamnguyentommy-rgb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: delegation
Source: https://github.com/tamnguyentommy-rgb/Routex_AI_Web_Project/tree/main/.local/skills/delegation
Command: npx skills add https://github.com/tamnguyentommy-rgb/Routex_AI_Web_Project --skill delegation-tamnguyentommy-rgb

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Delegate tasks to specialized subagents to execute tasks autonomously, enabling complex workflows to run with minimal manual orchestration.

Core Features & Use Cases

  • Subagent orchestration: Launch a subagent to handle a task synchronously, reading full context when needed.
  • Background execution: Use startAsyncSubagent for non-blocking, parallel task execution.
  • Async follow-ups: Use messageSubagent for ongoing updates and messageSubagentAndGetResponse for synchronous follow-ups.
  • Context + skills passing: Supply relevantFiles and relevantSkills to ensure agents have necessary context and capabilities.

Quick Start

Start a plan-based delegation by calling startAsyncSubagent with a task ID and fromPlan to execute in background.

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

Subagent delegation lets you assign tasks to specialized AI agents that execute autonomously. You launch them to handle planning, parallel execution, and follow-ups while automatically passing relevant context and skills for safe operation.

Can I run parallel task execution without blocking my main workflow?

Yes, parallel task execution is handled through background subagents. You can start non-blocking asynchronous subagents to run tasks concurrently, then use async follow-up messages to send updates and retrieve responses when needed.

What is the best way to orchestrate AI agents across synchronous and asynchronous workflows?

AI agent orchestration across workflows is managed by launching subagents for synchronous execution and background subagents for asynchronous tasks. You control ongoing interactions using targeted messages and synchronous follow-ups to coordinate complex processes.

How do I pass context and capabilities to a subagent during task delegation?

You pass context and capabilities to a subagent by supplying relevant files and relevant skills. This ensures the delegated agent has the necessary domain knowledge and tools to execute its assigned task autonomously and safely.

When should I use plan-based delegation for task management?

Plan-based delegation is used when you need structured, autonomous task execution. By starting a background subagent with a task ID and a defined plan, you enable the agent to execute multi-step processes autonomously while you monitor progress.