Agent skill · software engineering · aiskillstore

subagent-factory

Create specialized Claude Code agents on-the-fly. Guides through agent definition file creation with proper frontmatter, effective prompts, and tool scoping. USE WHEN user says 'create agent', 'new subagent', 'make an agent for', 'build agent', 'spawn agent', or wants to define custom agents for specific tasks.

Why this skill is useful

Adds executable workflows and templates for creating specialized agents that enhance the AI's capability to generate tailored solutions.

What it needs

About 4k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

Subagent Factory Factory for creating specialized Claude Code agents. Generates agent definition files with proper configuration, effective system prompts, and appropriate tool access. When to Activate This Skill User says: "create agent", "new subagent", "build agent" User wants: Custom agents for specific tasks User needs: Agent definition files, system prompts, tool configuration User asks: How to make specialized agents, how to delegate work Two Creation Modes Quick Mode (Direct Creation) Fast path for experienced users. Minimal questions, direct file generation. Use when: You know exactly what agent you need. See: workflows/quick-create.md Interview Mode (Guided Creation) Interactive workflow with questions and customization at each step. Use when: Exploring agent design, learning the process, or creating complex agents. See: workflows/interview-create.md Quick Reference: Agent Schema Required Frontmatter Fields Optional Frontmatter Fields System Prompt (Markdown Body) The Markdown content after frontmatter is the agent's system prompt. Key elements: 1. Identity/role definition 2. Clear responsibilities 3. Step-by-step workflow 4. Concrete checklists 5. Output format specification 6. Boundaries (DO/DO NOT) Core Principles 1. Single Responsibility Each agent should have ONE clear purpose, not multiple loosely-related tasks. 2. Right Altitude Not too prescriptive (brittle if-else logic), not too vague (unhelpful platitudes). Give clear guidance that lets the agent think. 3. Explicit Tool Scoping Grant minimum necessary tools. Read-only agents don't need Write. Reviewers don't need Bash. 4. Progressive Examples Include 3-5 concrete examples showing desired behavior patterns. 5. Actionable Instructions Use imperative form: "Run tests", "Analyze code", "Generate report" (not "The tests are run"). …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/subagent-factory

View the source on GitHub

Browse the @skills marketplace