Cursor subagents
Write a Cursor subagent in .cursor/agents with name, description, model, readonly and is_background. Includes model bracket options.
Write a Cursor subagent in .cursor/agents with name, description, model, readonly and is_background. Includes model bracket options.
Project .cursor/agents/, also .claude/agents/ and .codex/agents/. Project wins over user; .cursor/ wins over Claude or Codex paths.
| Field | Notes |
|---|---|
name | Optional; lowercase letters and hyphens; defaults from filename |
description | Drives delegation hints |
model | inherit or ID with optional [effort=high,context=300k] brackets |
readonly | No file edits or state-changing shell |
is_background | Non-blocking run |
How Claude-only fields are treated when reading .claude/agents/ is not documented (unverified).