delegation

Delegate tasks to specialized subagents for synchronous or asynchronous parallel execution.

1|Updated Aug 24, 2025
One-click install
npx skills add https://github.com/Pixoraft/KirpalSecure-site --skill delegation-pixoraft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: delegation
Source: https://github.com/Pixoraft/KirpalSecure-site/tree/main/.local/skills/delegation
Command: npx skills add https://github.com/Pixoraft/KirpalSecure-site --skill delegation-pixoraft

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill allows you to delegate tasks to specialized subagents, enabling autonomous execution and parallel processing of work.

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: Use startAsyncSubagent() to run tasks in the background, allowing for parallel execution.
  • Follow-up Messaging: Communicate with running subagents using messageSubagent() (async) or messageSubagentAndGetResponse() (sync) for further instructions or to retrieve results.
  • Use Case: When managing a complex project with multiple independent components, you can use startAsyncSubagent() for each component to be worked on concurrently, significantly speeding up the overall development process.

Quick Start

Use the delegation skill to run the task 'Fix the auth bug in src/auth.ts' and provide the relevant file 'src/auth.ts'.

Frequently Asked Questions about delegation

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

FAQPage Schema
How do I run background tasks and parallel processing using subagents?

Background tasks and parallel processing are initiated using asynchronous subagents, allowing work to run concurrently. This offloads operations to dedicated agents, improving workflow efficiency without blocking execution.

What is the difference between synchronous and asynchronous task execution for subagents?

Synchronous task execution runs a subagent and waits for its result, while asynchronous execution starts tasks in the background. Asynchronous subagents enable parallel processing, while synchronous subagents handle sequential operations.

How do I send follow-up instructions to a running background task?

Follow-up messaging to running background tasks is handled by sending messages to asynchronous subagents. You can also retrieve results from synchronous subagents by requesting and waiting for a direct response.

When should I delegate tasks to subagents instead of running them sequentially?

Delegate tasks to subagents when managing complex projects with multiple independent components. Asynchronous task delegation allows these components to be worked on concurrently, significantly speeding up the overall development process.

Can I communicate with an async subagent after it has started executing?

Yes, you can communicate with running asynchronous subagents using follow-up messaging. This allows you to provide further instructions to the background task or retrieve its execution results after initiation.