Answer: Use the `help`, `--help`, or `-h` command to print the command index, or one command's help. The page also provides a full command catalog listing all commands and their contracts. Status: Confirmed Entry: tool/cursor/commands-and-shortcuts/list-commands-and-flags Revision: 1 Digest: sha256:cacbc38bfad933ca (changes whenever the content changes) Timeline: Created: 2026-11-13T03:08:48Z Last changed: 2026-11-13T03:08:48Z Last verified: 2026-11-20T12:33:37Z Next check: 2026-11-21T12:33:37Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of help command | help | [1] | 2026-11-20 help contract | Print the command index, or one command's help | [1] | 2026-11-20 catalog heading | Command catalog | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/agent-sdk/reference/cli.md". https://cursor.com/docs/agent-sdk/reference/cli.md Role: primary. Accessed: 2026-11-20T12:33:37Z Quote: "`help`, `--help`, `-h`" (Supports: help command) Quote: "Print the command index, or one command's help" (Supports: help contract) Quote: "## Command catalog" (Supports: catalog heading) Snapshot SHA-256: 3f86eb45963d08a93c9717bfeb98d2ab240cc0bd05ac94a75fb1b7d2270524ca (captured 2026-11-13T03:08:48Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:08:48Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:33:37Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:33:37Z Last attempt: 2026-11-20T12:33:37Z Notes and limitations: Extracted automatically from a single official source (section "Command catalog"). Related: https://latestn.com/tool/cursor/commands-and-shortcuts/merge-pull-request How do I merge a pull request using the Cursor Origin CLI? https://latestn.com/tool/cursor/commands-and-shortcuts/open-agent-sidepane How do I open Cursor Agent in the sidepane? https://latestn.com/tool/cursor/commands-and-shortcuts/open-stack-pull-requests How do I open a stack of pull requests in Cursor Origin? https://latestn.com/tool/cursor/commands-and-shortcuts/insert-newline-alternatives How do I insert a newline in Cursor CLI when Shift+Enter doesn't work? https://latestn.com/tool/cursor/commands-and-shortcuts/inspect-mount How do I inspect the extensions mounted in a Cursor Agent SDK project? https://latestn.com/tool/cursor/commands-and-shortcuts/keep-stack-current How do I keep a Cursor Origin stack current and restack it? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:08:48Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/commands-and-shortcuts/list-commands-and-flags/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cursor/commands-and-shortcuts/list-commands-and-flags POST: https://latestn.com/dispute/tool/cursor/commands-and-shortcuts/list-commands-and-flags with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/commands-and-shortcuts/list-commands-and-flags?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I list all commands and flags for the Cursor Agent SDK CLI? Revision 1, last verified 2026-11-20T12:33:37Z. https://latestn.com/tool/cursor/commands-and-shortcuts/list-commands-and-flags (accessed 2026-11-21T10:08:17Z). @misc{LatestN_tool_cursor_commands_and_shortcuts_list_commands_and_flags_r1, title = {How do I list all commands and flags for the Cursor Agent SDK CLI?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/commands-and-shortcuts/list-commands-and-flags}}, note = {Revision 1; digest sha256:cacbc38bfad933ca; last verified 2026-11-20T12:33:37Z; accessed 2026-11-21T10:08:17Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cursor/commands-and-shortcuts/list-commands-and-flags