create-subagents

Create and orchestrate Claude Code subagents with XML prompts and Task tool workflows.

Updated Nov 23, 2025
One-click install
npx skills add https://github.com/kyldvs/setup --skill create-subagents-kyldvs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-subagents
Source: https://github.com/kyldvs/setup/tree/main/.claude/skills/create-subagents
Command: npx skills add https://github.com/kyldvs/setup --skill create-subagents-kyldvs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides principles, patterns, and templates for defining and using subagents. It explains how to configure subagents, specify tools and models, and orchestrate multi-agent workflows with the Task tool for autonomous, isolated work streams.

Core Features & Use Cases

  • Define project- or user-level subagents with clear role prompts.
  • Configure tools, models, and execution boundaries to avoid user interaction.
  • Orchestrate multi-agent workflows with hierarchical coordination patterns (sequential, parallel, hierarchical).

Quick Start

Use /agents to create a new subagent, specify name, description, tools, and model, then craft the system prompt in XML structure for deterministic behavior.

Frequently Asked Questions about create-subagents

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

FAQPage Schema
How do I create and configure Claude subagents for automation tasks?

Create subagents using /agents by defining name, description, tools, and model. Structure the system prompt in pure XML with required fields, then orchestrate workflows using the Task tool for autonomous, isolated work streams handling tasks like code reviews, security analysis, or automated testing.

What's the best way to orchestrate multi-agent workflows?

Orchestrate subagents using sequential, parallel, or hierarchical coordination patterns with the Task tool. Hierarchical patterns enable predictable, low-friction operation by segmenting memory and execution constraints across agents, allowing each to work autonomously on specific tasks.

Can I use subagents to automate code reviews and security analysis?

Yes. Define project-level subagents with role prompts specifying code review or security analysis tasks, configure tools and execution boundaries to prevent user interaction, then coordinate them through orchestration patterns for fully autonomous analysis workflows.

What structure do subagent system prompts require?

Subagent prompts enforce pure XML structure with required fields: name, description, tools, and model. This structure ensures deterministic behavior and low-friction execution when defining task-specific agents for isolated work streams.

Do I need to define memory architecture for subagents?

Yes. Memory segmentation is part of subagent configuration to establish execution constraints and prevent agents from interfering with each other. Combined with tool and model specification, it enables predictable autonomous operation across multi-agent workflows.

How do subagents differ from single-agent automation?

Subagents enable orchestrated multi-agent workflows with hierarchical coordination, memory segmentation, and isolated execution boundaries. This supports complex automation like parallel code reviews and sequential security analysis—tasks that require role-specific, autonomous agents working in concert.