sub-agent-delegation

Delegate parallel tasks to sub-agents via DelegateTool or OpenHands Cloud API.

3|Updated Jul 10, 2026
One-click install
npx skills add https://github.com/neubig/workflow --skill sub-agent-delegation-neubig
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sub-agent-delegation
Source: https://github.com/neubig/workflow/tree/main/skills/sub-agent-delegation
Command: npx skills add https://github.com/neubig/workflow --skill sub-agent-delegation-neubig

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Delegates substantial, self-contained tasks to sub-agents for parallel execution, enabling faster completion of complex workloads.

Core Features & Use Cases

  • Spawn sub-agents and assign tasks to run in parallel, reducing bottlenecks.
  • Delegate tasks across research, implementation, testing, and documentation to specialized sub-agents with consolidated results.
  • Choose between in-process delegation via DelegateTool and remote delegation via the OpenHands Cloud API, with clear guidance and guardrails.

Quick Start

Spawn sub-agents and assign parallel tasks to begin delegated work.

Frequently Asked Questions about sub-agent-delegation

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

FAQPage Schema
How do I delegate tasks to parallel sub-agents for faster execution?

You can delegate substantial tasks to parallel sub-agents by spawning them and assigning self-contained workloads to run concurrently. This reduces bottlenecks by executing research, implementation, or testing tasks in parallel and consolidating the results.

What is the difference between in-process delegation and remote delegation via cloud API?

In-process delegation uses the DelegateTool to run sub-agents locally, while remote delegation uses the OpenHands Cloud API to offload tasks. Both support spawning sub-agents, assigning tasks, consolidating results, and handling errors, but remote delegation scales execution externally.

Can I use sub-agent delegation for code refactoring across multiple repositories?

Yes, sub-agent delegation is applicable for code refactoring in isolated modules and research across multiple repositories. You can assign these substantial, self-contained tasks to specialized sub-agents to run concurrently and consolidate the results.

How do I handle errors when running evaluations or test suites with sub-agents?

When running evaluations or test suites with sub-agents, the delegation process includes steps to handle errors. You manage failures during parallel execution by consolidating results and addressing errors as part of the sub-agent coordination workflow.