create-agent

Generate Claude Code subagent Markdown files with YAML frontmatter.

Updated Jul 5, 2025
One-click install
npx skills add https://github.com/sqfzy/my_configs --skill create-agent-sqfzy
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: create-agent
Source: https://github.com/sqfzy/my_configs/tree/main/claude/skills/create-agent
Command: npx skills add https://github.com/sqfzy/my_configs --skill create-agent-sqfzy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This tool helps teams rapidly generate Claude Code subagent definitions without manual setup, ensuring consistent configuration and lifecycle management.

Core Features & Use Cases

  • Interactive Phase 1: collects name, description, scope, and optional settings for a new agent.
  • Phase 2: generates a properly structured Markdown agent file with YAML frontmatter at the correct path.
  • Phase 3: validates configuration, handles conflicts, and provides a clear success flow for immediate use.

Quick Start

Ask to create a new agent with a name and scope, and the system will generate the agent file.

Frequently Asked Questions about create-agent

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

FAQPage Schema
How do I create a Claude Code subagent with YAML frontmatter?▼

To create a Claude Code subagent, interactively define its name, description, and tools, then generate a valid Markdown agent file with YAML frontmatter at the correct path.

What is the process for configuring subagent hooks and memory in Claude Code?▼

Configuring subagent hooks and memory involves an interactive phase that collects optional settings, followed by generating a properly structured Markdown file containing these configurations.

Does creating a Claude Code subagent require manual YAML setup?▼

No, creating a Claude Code subagent does not require manual YAML setup; the process automates configuration and lifecycle management to ensure consistent agent definitions.

How do I edit an existing Claude Code subagent definition?▼

Editing an existing Claude Code subagent definition triggers the interactive creation flow to update its name, description, tools, model, hooks, memory, and system prompts.

Can I include scripts and references when generating a Claude Code subagent?▼

Yes, you can include optional components like scripts, references, and assets when generating a Claude Code subagent, outputting a valid Markdown agent file to a designated path.

What is the best way to validate a Claude Code subagent configuration?▼

The best way to validate a Claude Code subagent configuration is using the automated success flow that checks YAML frontmatter, handles conflicts, and confirms immediate usability.