AgentSkillsCN

cursor-agents

为并行 AI 辅助开发配置并管理 Cursor IDE 代理。在被问及 Cursor 代理模式、后台代理、云端代理或多代理工作流时使用。

SKILL.md
--- frontmatter
name: cursor-agents
description: Configure and manage Cursor IDE agents for parallel AI-assisted development. Use when asked about Cursor agent mode, background agents, cloud agents, or multi-agent workflows.

Cursor Agents

Repository Pattern

Store agent configs in agents/ directory, symlink to activate:

code
agents/
├── code-reviewer.md
├── test-writer.md
└── refactor-agent.md

# Activate in target project:
ln -s /path/to/agents/code-reviewer.md .cursor/agents/code-reviewer.md

Agent Capabilities

  • Run up to 8 agents in parallel on a single prompt
  • Each agent operates in isolated codebase copy (git worktrees or remote)
  • Cloud agents: 99.9% reliability, instant startup

Agent Modes

ModeDescription
NormalStandard agent with confirmations
YOLOAuto-approve actions (use with caution)
CloudRun agents on Cursor's infrastructure

Workflow

  1. Create agent config in agents/<name>.md
  2. Symlink to project's .cursor/agents/ to activate
  3. Remove symlink to deactivate (config remains in repo)

CLI Commands

bash
/models    # List available models
/rules     # Manage rules
/mcp       # Manage MCP servers

Combine with rules/ for consistent agent behavior across projects.