create-subagent

Create and manage Cursor AI subagents with YAML frontmatter and system prompts.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Subagents enable specialized AI tasks by isolating behavior, defining focused system prompts, and enabling reuse across projects and teams.

Core Features & Use Cases

  • Project-level and user-level subagents to organize specialized workflows.
  • YAML frontmatter governs identity (name) and intent; the body serves as the system prompt.
  • Proactive delegation and version-controlled sharing for collaboration.

Quick Start

Create a new file at .cursor/agents/my-agent.md with YAML frontmatter and a body that serves as the system prompt.

Frequently Asked Questions about create-subagent

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

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

To create custom subagents for Cursor AI, you define per-agent prompts and configurations in a .md file with YAML frontmatter and a body that serves as the system prompt, storing it in the designated .cursor/agents/ or ~/.cursor/agents/ directories.

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

Project-level subagents are stored in .cursor/agents/ for repository-specific workflows, whereas user-level subagents in ~/.cursor/agents/ enable reuse across multiple projects and team environments.

How do I configure the system prompt and identity for a Cursor AI subagent?

You configure a Cursor AI subagent by creating a markdown file with YAML frontmatter that defines the agent's name and description, while the body of the file directly becomes the agent's system prompt.

How do I test a newly created subagent in Cursor AI?

You test a newly created subagent in Cursor AI by running the designated command 'Use the my-agent subagent' to verify the applied system prompt and specialized task behavior.

Can I share Cursor AI subagents across a development team?

Yes, you can share Cursor AI subagents across a development team by using project-level configurations that allow version-controlled sharing for collaborative specialized workflows.