CU

Cursor — Agent CLI Prompt (GPT-5, 2025-08-07)

Agent Prompt ✦ Curated & attributed GPT-5 Advanced

System prompt for Cursor's CLI agent (GPT-5) that pair-programs to autonomously resolve coding tasks. It specifies detailed communication specs (status_update, summary, flow), aggressive parallel tool-calling, a Grep-first context-understanding workflow, code-citation syntax with line-numbered fences, and a high-verbosity code-style guide derived from Clean Code.

What makes this prompt notable

  • Mandates autonomous persistence: keep going until the query is fully resolved before yielding the turn
  • Heavily emphasizes parallel/batched tool calls as the default, citing 3-5x speedups
  • Requires running tests/build after substantive edits and ensuring a green run before closing a goal
  • Code-style section demands HIGH-VERBOSITY readable code with explicit naming Bad→Good examples (genYmdStr → generateDateString)
  • Defines startLine:endLine:filepath citation fences distinct from normal markdown code blocks

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