Continue the most recent conversation
sessions
// what it does
claude -c (or --continue) reopens the most recent conversation in the current directory with its full history intact, so you carry on without re-explaining context. It works in headless mode too: claude -c -p "follow-up question" continues the last session non-interactively. Session lookup is scoped to the current project directory and its git worktrees.
// shell
$ claude -c$ claude -c -p "now check for type errors"// gotcha
"Most recent" is per directory — run -c from a different folder and you get that folder's last session, or nothing. To target a specific older session instead of the latest, use --resume with its name or ID.