Learning resourcesReviewed · Anysphere

Cursor: Prompting agents

Cursor's Prompting agents guide is official documentation showing developers how to direct Cursor's AI coding agent through its chat input. It explains attaching files, terminal output, previous chats, Git diffs and browser context; keeping skills active through Custom Modes; supplying images and voice input; and switching models. Pricing, installation requirements and measured effectiveness are not established.

Researched 13 Nov 2026

In short.

Cursor's Prompting agents guide helps developers control an AI coding assistant's inputs and working method, but it cannot establish how reliably the assistant will complete their tasks. Its practical guidance covers targeted context attachments, skills that persist across turns, visual and spoken input, context-window monitoring and model switching. It is useful for learning Cursor's chat controls once Agent is accessible. Installation, subscription requirements, privacy terms and performance comparisons are not provided, and no behavior was tested.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete selected page at [https://cursor.com/docs/agent/prompting.md]: @ mentions, Custom Modes, image input, voice input, context usage, model switching and the sitemap reference. Linked skills, Agents Window, CLI, voice-chat, models-and-pricing and sitemap pages are excluded. The selected text supplies no licence notice or pricing terms. No software, shortcuts, attachments, modes or illustrative examples were executed.

The overview

Resource identity

Prompting agents is a documentation guide published on Cursor's website at [https://cursor.com/docs/agent/prompting.md]. It explains how to direct Cursor Agent through its chat interface. The resource is instructional material, with interface examples and shortcuts; it does not supply an installable skill, agent definition or code library.

Practical assessment

The guide is useful as a reference for developers who can already access Agent chat. It clearly distinguishes attaching known files from letting Agent search, invoking a skill for one message from keeping it active as a mode, and dictation from a spoken conversation. Its coverage is focused on operating the interface; it provides no worked development journey or measured evidence that these controls improve code quality.

Who it helps

Developers new to Cursor can use the guide to learn how to supply relevant files, screenshots and error output. Experienced users may find the Git-diff attachments, persistent skill modes and context breakdown useful when reviewing changes or working across several files. The examples particularly suit UI implementation, visual debugging, code review and sustained development methods such as test-driven development.

Documented capabilities

Typing @ offers attachments for files and folders, terminal output, earlier chats, Git diffs and the built-in browser. The documented diff choices include @Commit (Diff of Working State) for uncommitted changes and @Branch (Diff with Main) for the branch diff. After selecting a folder, typing / lets the user navigate deeper.

The guide also describes image uploads through drag-and-drop or clipboard paste, voice dictation, model switching and Custom Modes. A Custom Mode keeps a selected skill in context on every turn until the user exits it. The page explicitly places Custom Modes in the Agents Window and CLI.

Using it

Requirements

Following the guide requires access to a Cursor interface with Agent chat. Attachments require the corresponding files, terminal output, chats or browser context to be available. A skill backing a Custom Mode needs a valid frontmatter block, the metadata section at the start of the skill; optional icon and color fields style its badge. Minimum Cursor versions, hardware requirements, full operating-system support and required subscription tiers are unknown from this page.

How context and modes work

Attachments provide information alongside the text prompt. If the user does not know which files matter, the guide says Agent can find relevant files through its own search. A skill selected with / and Enter attaches to one message and fades as the conversation moves on. Selecting it with Option+Enter on Mac, Alt+Enter on Windows, or Use as Mode keeps it active across turns until the mode ends.

A chat has a fixed context window: the model's limited capacity for instructions and conversation. Files, tool activity and messages consume that capacity. Cursor summarizes older conversation as the window nears its limit. The context ring opens a token breakdown covering system instructions, tools, rules, skills, MCP server information, subagent documentation, conversation summaries and conversation content.

Getting started

Begin in Agent's chat input and type a task. Use @ to select known context, or leave file discovery to Agent when the relevant location is unclear. The page lists Custom Modes as available in the Agents Window and CLI. In those interfaces, select a skill from the / menu and activate Use as Mode to keep an ongoing working method active. The page does not explain installing Cursor or creating the skill.

Images can be dragged into chat or pasted with Cmd+V. Dictation starts from the microphone icon; the documented shortcuts are Cmd Shift Space in the IDE and holding Ctrl M in the Agents Window. Review the transcription before sending. The model picker changes the model for subsequent conversation turns, and Cursor Settings > Models sets a default.

Illustrative use

Illustrative example, not executed: attach a design screenshot and the relevant component folder through @, then ask, “Update this component to match the attached screenshot. Explain the changes and identify anything the image leaves unclear.” The page documents both image input and folder attachments, making this a plausible starting point for UI work.

For a review of existing changes, the documented @Branch (Diff with Main) attachment supplies the branch diff. A code-review skill could remain active as a Custom Mode while the user moves through several files. The example assumes such a skill already exists; the page supplies no review-skill implementation or resulting output.

Assessment & evidence

Limits and unknowns

Context capacity remains finite, and older conversation is summarized as it fills. The guide does not specify window sizes, attachment limits or which details summarization preserves. A one-message skill fades with the conversation, while a mode remains active until exited.

Dictation converts speech to text and does not speak back; spoken conversation uses a separate voice-chat feature. The page does not establish attachment-processing accuracy, file-search completeness, code correctness, latency or compatibility with a particular installed Cursor version.

Choosing an approach

The guide's practical value is in matching controls to the work. Explicit attachments suit tasks where the relevant files are known; Agent search supports tasks where their location is unclear. Persistent modes suit continuing methods such as a review checklist or team playbook. The page recommends faster models for routine edits and more capable models for complex reasoning and multi-file refactoring, but supplies no named-model comparison or measurements supporting that advice.

Available choices

Within Cursor, users can type or dictate a prompt, attach an image for visual context, invoke a skill for one message or keep it active as a mode. Voice chat is identified as the option for a spoken conversation, with further details on a linked page. The guide contains no comparison with other coding assistants, so relative functionality, quality, privacy and price are unknown.

Evidence and confidence

The evidence is the complete supplied text of Cursor's Prompting agents page at [https://cursor.com/docs/agent/prompting.md]. It supports descriptions of the documented controls, shortcuts and context behavior. It contains no benchmarks, task-success results or reproducible evaluation. Nothing was executed, so actual interface behavior and development outcomes were not verified.

Access & freshness

Costs

The selected page states no subscription prices, usage allowances, model charges or costs for the documented features. It links to Models & Pricing at [https://cursor.com/docs/models-and-pricing.md], whose contents are outside this resource's scope. Required spending and the cost effect of switching models remain unknown.

Rights and data terms

The selected text contains no licence or redistribution permission for the documentation. It also provides no terms governing generated code, attached files, screenshots, voice recordings or chat data. Retention, training use and commercial-use rights cannot be determined from this page.

Documentation freshness

The supplied snapshot was captured on 13 November 2026 at 00:27:45 UTC. The page text gives no publication date, last-update date or applicable Cursor version. The capture time establishes when this text was obtained, but does not establish its release compatibility or subsequent changes.

Suggested next steps

Use the guide first on a small task with a known file or screenshot. Choose a persistent mode when a working method needs to remain active across several turns, and inspect the context ring during longer conversations. Review dictated text before sending. Before committing to broader use, establish the applicable version, pricing and data terms from the relevant documentation; this page does not answer those questions.

Evidence for this report

selected-page.txtselected · checked 2026-11-13