subagents

Coordinate parallel subagents to run independent tasks across files.

Updated Jun 7, 2025
One-click install
npx skills add https://github.com/erazemk/dotfiles --skill subagents-erazemk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: subagents
Source: https://github.com/erazemk/dotfiles/tree/main/pi/agent/skills/subagents
Command: npx skills add https://github.com/erazemk/dotfiles --skill subagents-erazemk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Launch parallel subagents to handle independent tasks across many files or items, enabling faster completion of batch workloads.

Core Features & Use Cases

  • Launch independent subagent processes to tackle work that can be split into non-dependent units.
  • Use cases include comparing many files, batch refactoring, and parallel analyses across datasets.

Quick Start

Launch parallel subagents to process multiple independent tasks by issuing separate pi commands with the same model but different instructions.

Frequently Asked Questions about subagents

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

FAQPage Schema
How do I run parallel batch processing for independent file refactoring tasks?

Parallel batch processing for independent file refactoring is handled by launching separate subagent processes with explicit instructions for each non-dependent unit. You issue pi commands with the same model but different instructions per task to achieve concurrent execution.

Can I run multiple parallel analyses across datasets without task dependencies?

You can run parallel analyses across datasets by splitting work into non-dependent units and launching separate subagent processes for each. This orchestration approach allows independent analyses to execute concurrently rather than sequentially.

What is the maximum number of concurrent subagents supported for batch file comparisons?

The maximum supported for batch file comparisons is ten concurrent subagent processes. Each process runs independently with its own explicit instructions, and sessions are saved automatically upon completion.

How do I orchestrate independent subagents to compare many files in parallel?

Orchestrating independent subagents to compare files in parallel requires issuing pi -p --model commands with explicit, distinct instructions for each subagent. Each process handles a separate non-dependent file comparison unit automatically.

Do I need any external dependencies to launch parallel subagents for independent tasks?

No external dependencies are required to launch parallel subagents for independent tasks. The orchestration relies solely on issuing pi commands with explicit model specifications and separate instructions for each concurrent process.

When should I avoid using parallel subagent orchestration for batch workloads?

You should avoid parallel subagent orchestration when tasks are dependent on each other, as this approach is designed exclusively for non-dependent units. If your workflow requires sequential execution or shared state between steps, parallel processing will not work correctly.