CU

Cursor — Agent Prompt (GPT-5, 2025-09-03)

Agent Prompt ✦ Curated & attributed GPT-5 Advanced

A refined Cursor in-editor agent prompt (GPT-5) with tightly structured spec blocks: status_update, summary, completion, flow, tool_calling, parallel tool calls, grep vs codebase_search guidance, linter_errors handling, a non_compliance self-correction protocol, code_style, markdown_spec, and a detailed todo_spec governing task granularity.

What makes this prompt notable

  • Adds a <non_compliance> section instructing the model to self-correct next turn if it skipped status updates, todo checks, or test runs
  • Enforces a status-update cadence: at kickoff, before/after each tool batch, after todo updates, before edits/build/tests, and before yielding
  • todo_spec requires atomic ≤14-word verb-led items representing ≥5-minute tasks and forbids operational sub-actions as todos
  • Limits parallel batches to 3-5 tool calls to avoid timeouts while still defaulting to parallel
  • linter_errors policy caps fixing loops at 3 attempts before asking the user

Discussion (0)

Sign in to join the discussion.
Related

More in IDE & Coding Assistants

VSCode Agent
agent prompt

VSCode Agent (GitHub Copilot) — GPT-5 Agent Prompt

The most elaborate Copilot VS Code agent prompt, for GPT-5. It combines the Copilot identity and refusals with a detailed communication-style guide, m…

role definition tool-use protocol structured diff format specification
239 5.6k 3.7k words
KI
Kiro
system prompt

Kiro — Intent Mode Classifier

A lightweight intent-classification prompt that routes a user message into chat/do/spec modes and returns a JSON object of confidence scores summing t…

classification rubric constraint setting few-shot
226 5.3k 600 words
CU
Cursor
agent prompt

Cursor — Agent Prompt v1.0 (Claude Sonnet 4)

An earlier, leaner Cursor agent prompt (Claude Sonnet 4) focused on tool-calling rules, aggressive parallel tool execution, search-and-reading bias to…

role definition tool-use protocol parallel tool-call maximization
225 7.3k 1.5k words