One-click install
npx skills add https://github.com/naopensedoit2-design/Claramente-nao-sou-um-Escritor --skill delegation-naopensedoit2-design
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: delegation
Source: https://github.com/naopensedoit2-design/Claramente-nao-sou-um-Escritor/tree/main/.local/skills/delegation
Command: npx skills add https://github.com/naopensedoit2-design/Claramente-nao-sou-um-Escritor --skill delegation-naopensedoit2-design

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Delegation helps you split a larger goal into focused sub-tasks so other agents can execute them in parallel or asynchronously instead of blocking your main workflow.

Core Features & Use Cases

  • Synchronous delegation: Run a task via a subagent and wait for results using subagent.
  • Background delegation: Start independent work in parallel with startAsyncSubagent and collect outcomes later with waitForBackgroundTasks.
  • Follow-up messaging: Continue or adjust existing subagent work using messageSubagent (async) or messageSubagentAndGetResponse (sync).

Use Case: You have a multi-step implementation plan (e.g., T003, T004, T005) and want to execute several independent changes concurrently while still collecting outputs when needed.

Quick Start

Delegate a planned task synchronously by calling subagent with the task ID and fromPlan set to true.

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?

To delegate tasks for parallel execution, start independent work using startAsyncSubagent and collect the outcomes later using waitForBackgroundTasks. This allows multiple subagents to process work concurrently without blocking your main workflow.

Can I send follow-up messages to a running background subagent?

Yes, you can send follow-up messages to running background subagents. Use messageSubagent for asynchronous adjustments or messageSubagentAndGetResponse to continue existing subagent work and synchronously wait for the result.

What is the best way to run a planned task synchronously via a subagent?

The best way to run a planned task synchronously is to call subagent with the specific task ID and set the fromPlan parameter to true. This delegates the staged task and blocks execution until the result is returned.

Does synchronous task delegation block the main workflow?

Yes, synchronous task delegation blocks the main workflow. It uses the subagent function to run a task and wait for results, making it suitable for staged execution where subsequent steps depend on the immediate output.

When should I use async background delegation instead of synchronous subagent calls?

Use async background delegation with startAsyncSubagent when you have independent changes in a multi-step implementation plan that can execute concurrently. This prevents blocking your main workflow, unlike synchronous subagent calls that wait for immediate results.