create-subagent

Create custom AI subagents with unique system prompts and configurations.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the creation of specialized AI subagents, allowing users to define custom behaviors and prompts for specific tasks, thereby enhancing AI focus and context management.

Core Features & Use Cases

  • Custom Agent Creation: Define and deploy new AI agents with unique system prompts.
  • Context Isolation: Run specialized agents in isolated environments to preserve main conversation context.
  • Task Specialization: Configure agents for specific roles like code reviewers, debuggers, or data scientists.
  • Use Case: When you need an AI assistant dedicated solely to reviewing code for security vulnerabilities, you can use this skill to create a 'security-auditor' subagent.

Quick Start

Use the create-subagent skill to make a new agent called 'code-reviewer' that specializes in reviewing code for quality and best practices.

Frequently Asked Questions about create-subagent

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

FAQPage Schema
How do I create a custom AI subagent for specific tasks in Cursor?

Create a custom AI subagent by defining unique system prompts and configurations that establish task specialization and context isolation. This isolates the agent's focus from your main conversation, allowing dedicated behaviors like code review or debugging within the Cursor environment.

What is context isolation and when do I need it for AI assistants?

Context isolation runs specialized AI assistants in separated environments to preserve your main conversation context. You need context isolation when deploying task-specific subagents like a security auditor, ensuring the main AI assistant's focus remains unaffected by specialized prompt instructions.

Can I deploy custom agents at both project-level and user-level scopes?

Yes, you can deploy custom agents at both project-level and user-level scopes. This deployment flexibility allows you to configure subagents with defined file formats tailored for specific repository tasks or broader global behaviors across your entire Cursor environment.

What are the best practices for writing subagent system prompts and descriptions?

Best practices for writing subagent descriptions involve defining clear roles and specific behaviors using supported file formats. Structured system prompts ensure the subagent maintains strict task specialization, preventing context bleed and keeping the AI focused on its designated role.

How do I set up a dedicated code reviewer agent to check code quality?

Set up a dedicated code reviewer by creating a subagent with a system prompt focused on quality and best practices. This specialized agent operates with context isolation to review code without disrupting your main Cursor conversation or development workflow.