create-subagent

Create custom Cursor AI subagents from YAML configuration and system prompts.

Updated Oct 28, 2022
One-click install
npx skills add https://github.com/patrykk21/dotfiles --skill create-subagent-patrykk21
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-subagent
Source: https://github.com/patrykk21/dotfiles/tree/main/cursor/skills-cursor/create-subagent
Command: npx skills add https://github.com/patrykk21/dotfiles --skill create-subagent-patrykk21

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows users to create custom subagents for Cursor, enhancing specialized AI tasks and isolating them from the main conversation context.

Core Features & Use Cases

  • Create Subagents: Build and configure specialized AI assistants for specific tasks.
  • Isolated Contexts: Preserve context and behavior in isolated subagents.
  • Custom Configurations: Set up code reviewers, debuggers, or domain-specific assistants with custom prompts.
  • Use Case: Develop a code review subagent for your project to streamline code analysis and feedback processes.

Quick Start

Use the create-subagent skill to create a new code review subagent named 'code-reviewer'.

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 in Cursor?

To create a custom AI subagent in Cursor, you need to provide a YAML configuration file containing the agent's settings and a system prompt. The Skill automates defining and configuring these isolated agents for specialized tasks.

What is an isolated AI subagent used for in code review?

An isolated AI subagent for code review preserves its own context and behavior, separate from the main conversation. This allows the custom agent to streamline code analysis and provide feedback without interfering with your primary workflow.

Do I need a YAML file to set up a domain-specific AI assistant in Cursor?

Yes, a YAML file is required to set up a domain-specific AI assistant. The configuration file defines the subagent's parameters alongside a system prompt to ensure the custom agent behaves correctly for its specialized task.

Can I configure a debugger subagent with a custom prompt in Cursor?

Yes, you can configure a debugger subagent by providing a custom prompt and YAML configuration. This allows the subagent to specialize in debugging tasks while keeping its context isolated from other AI interactions.

What's the best way to isolate AI agent contexts in Cursor?

The best way to isolate AI agent contexts is by deploying specialized subagents. By defining custom configurations and system prompts, each subagent maintains a distinct context for tasks like code review or debugging.