Resume a specific conversation by ID

sessions

// what it does

Pass a chat id to --resume to reload exactly that thread's context — the reliable way to continue one automation across runs. Get the id from cursor-agent ls, the /copy-conversation-id slash command, or the session_id field in --output-format json.

// shell

$ cursor-agent --resume="chat-id-here"

// gotcha

The id must be quoted with = form (--resume="id") in scripts; a bare --resume with no value falls back to opening the resume picker.

// resources