creating-subagent

Generate YAML frontmatter and system prompts for Claude subagents.

1|Updated Jan 10, 2026
One-click install
npx skills add https://github.com/kkhys/claude-code-marketplace --skill creating-subagent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: creating-subagent
Source: https://github.com/kkhys/claude-code-marketplace/tree/main/plugins/base/skills/creating-subagent
Command: npx skills add https://github.com/kkhys/claude-code-marketplace --skill creating-subagent

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

## What problem does it solve? Guides creation and configuration of Claude subagents by generating YAML frontmatter and a system prompt.

## Core Features & Use Cases

  • Defines subagent identity (name, description) and capabilities (tools, model, permissionMode)
  • Sets up lifecycle hooks and optional resource directories (scripts, references, assets)
  • Validates frontmatter structure and provides a clear Quick Start for reuse

### Quick Start Tell Claude to create a new subagent by providing its frontmatter and system prompt.

Frequently Asked Questions about creating-subagent

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

FAQPage Schema
How do I create a Claude subagent with YAML frontmatter and a system prompt?

To create a Claude subagent, you generate YAML frontmatter defining required fields like name and description, alongside a system prompt. This structure establishes the subagent's identity, capabilities, and behavioral guidelines for software development workflows.

What fields are available when configuring subagent permissions and tools?

Configuring subagent permissions and tools involves setting optional YAML frontmatter fields including tools, disallowedTools, model, permissionMode, skills, and hooks. These fields define what the subagent can access and execute within its operational environment.

When do I need to set up lifecycle hooks for a subagent?

You set up lifecycle hooks for a subagent when you need to automate specific behaviors during its execution phases. Hooks are an optional YAML frontmatter configuration that triggers actions at defined points in the subagent's operational lifecycle.

Can I include optional resource directories like scripts and references when defining a subagent?

Yes, you can include optional resource directories such as scripts, references, and assets when defining a subagent. These resources are configured within the YAML frontmatter to provide the subagent with necessary external context and functional support.

Does this approach validate the frontmatter structure for subagent automation?

Yes, this approach validates the frontmatter structure to ensure required fields like name and description are present. It enforces a strict frontmatter and system-prompt structure, providing a clear Quick Start for reuse across software development workflows.