promptgarten ๐ŸŒฑ
๐ŸŒ ES

Command reference ยท Cursor CLI

agent resume

Resumes the most recently used chat session directly, without showing a selection list.

agent resume loads the most recently used session, including its prior context, and continues the conversation there. It's equivalent to --continue or the /resume slash command, both of which are shorthand for --resume=-1.

โœ… WHEN TO USE IT?

Pick up the last conversation directly after an interruption

agent resume

โ›” WHEN NOT TO?

An older session, not the most recent one, needs to be resumed

agent resume always loads only the most recently used session.

Better: Use agent ls to pick a specific earlier session, or set --resume [chatId] with a concrete ID

SOURCES