All articles

Resuming Past Sessions with /resume and --continue

Work rarely finishes in one sitting. Claude Code remembers past sessions, so you can come back and carry on instead of starting cold. There are two ways in: a slash command inside Claude, and flags from your shell.

/resume inside a session

If you're already in Claude Code, run:

/resume

This lets you jump back into an earlier conversation, bringing its history along so Claude still knows what you were doing.

From the command line

Before you even launch, you can pick up where you left off with flags on the claude command.

To continue the most recent session, use -c (or --continue):

claude -c

That's the fastest way back into whatever you were last doing.

To resume a specific older session by its id, use -r:

claude -r <id> "let's finish the migration"

You can pass a prompt right along with it, so Claude picks up the thread and acts on your new instruction in one step.

When to use which

Reach for claude -c when you just closed the terminal and want the last thing back. Use /resume or claude -r when you're juggling several threads and need to choose a particular one.

These pair well with good context habits: because resuming restores the full history, a session you'd /compact-ed before leaving comes back lean rather than bloated. Being able to step away and return without losing your place makes it easy to work in short bursts across a day.

Comments

Be the first to comment.