create-subagent

Create specialized AI subagents with YAML frontmatter and system prompt bodies.

1|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/masermediagroup-stack/CursorSkills --skill create-subagent-masermediagroup-stack
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-subagent
Source: https://github.com/masermediagroup-stack/CursorSkills/tree/main/skills-bundle/skills-cursor/create-subagent
Command: npx skills add https://github.com/masermediagroup-stack/CursorSkills --skill create-subagent-masermediagroup-stack

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the creation and management of modular AI subagents to handle specialized tasks, improving reuse and consistency across projects.

Core Features & Use Cases

  • Defines subagent templates with YAML frontmatter (name and description) and a dedicated system prompt body.
  • Supports project-level (.cursor/agents) and user-level (~/.cursor/agents) subagents for sharing or personal use.
  • Provides clear guidelines for testing, version control, and proactive delegation.

Quick Start

Create a new subagent file under .cursor/agents with a clear frontmatter and write its system prompt in the body.

Frequently Asked Questions about create-subagent

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

FAQPage Schema
How do I create modular AI subagents for specialized tasks?

To create modular AI subagents, you define a new agent file with YAML frontmatter containing the name and description, then write an actionable system prompt in the body to specify its task behavior.

What is the difference between project-level and user-level AI subagents?

Project-level AI subagents are stored in the .cursor/agents directory for team sharing, while user-level subagents are stored in ~/.cursor/agents for personal reuse across multiple projects.

How do I configure YAML frontmatter for AI subagents?

You configure YAML frontmatter for AI subagents by including required name and description fields at the top of the file, which defines the agent's identity and scope before the system prompt body.

Can I share AI subagents across different projects?

Yes, you can share AI subagents across different projects by placing them in the user-level ~/.cursor/agents directory, making them globally available for your personal development environment.

What should be included in the system prompt body of a subagent?

The system prompt body of a subagent should include a descriptive and actionable prompt that directs the AI's behavior, ensuring consistent task specialization and clear delegation guidelines.

Do I need any dependencies to set up AI subagents?

No external dependencies are required to set up AI subagents, as the process relies on writing standard YAML frontmatter and system prompt text within agent files stored in the correct directory.