subagent

Spawn independent pi subagent instances for parallel delegated tasks.

3|Updated Apr 21, 2024
One-click install
npx skills add https://github.com/gabrielfruet/.dotfiles --skill subagent-gabrielfruet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: subagent
Source: https://github.com/gabrielfruet/.dotfiles/tree/main/pi/agent/skills/subagent
Command: npx skills add https://github.com/gabrielfruet/.dotfiles --skill subagent-gabrielfruet

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pi.

What problem does it solve?

This Skill solves the problem of needing to run independent, isolated tasks without interrupting your current pi workflow, eliminating the need to manually switch contexts or manage separate terminal sessions for delegated work.

Core Features & Use Cases

  • Independent Subagent Spawning: Launches separate pi instances to execute tasks in isolation from your main session.
  • Customizable Execution: Supports selecting specific models, adjusting thinking levels, and setting target working directories for tailored task execution.
  • Use Case: For example, you can delegate a code search or file listing task to a subagent while continuing your primary work without context switching.

Quick Start

Use the subagent skill to run a prompt that lists all files in your current project directory.

Frequently Asked Questions about subagent

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

FAQPage Schema
How do I run parallel tasks without interrupting my primary pi workflow?

You can delegate isolated tasks to independent pi subagents, spawning separate instances that execute work in the background without requiring context switching or managing separate terminal sessions.

Can I configure the model and working directory for delegated subagent tasks?

Yes, subagent execution is fully customizable, supporting specific model selection, configurable thinking levels, and target working directory specification to tailor the isolated task environment.

What is the best way to offload repetitive code analysis and TODO scanning?

Spawning an independent subagent instance delegates repetitive work like file searches and code analysis, isolating these tasks from your main session to maintain continuous workflow productivity.

Does the subagent skill require pi to spawn isolated task instances?

Yes, pi is a required dependency, serving as the foundational environment that the skill leverages to spawn and manage independent subagent instances for delegated task execution.

When should I not use parallel subagent execution for task delegation?

Avoid using subagent execution for tasks requiring shared state with your primary session, as subagents operate in isolation to prevent context interruption rather than managing synchronized workflows.

How do I delegate a file listing task to an independent subagent?

Use the subagent skill to run a prompt that lists all project files, spawning an independent pi instance that executes the directory search independently without interrupting your current work.