Claude Code: name a session so you can find it again

The January price list and the booking form are in the same project. When you come back to the prices, you probably remember the task better than the first line of yesterday’s conversation. Give the conversation a name while it’s open in Claude Code, then use that name to pick up where you left off.

Name the conversation and return to it

Start with an open Claude Code conversation in your terminal. If you haven’t installed it yet, use Anthropic’s setup guide.

  1. Go to the conversation about the price list. Type /rename january-prices where you usually write to Claude and press Enter. The name appears on the prompt bar.
  2. Next time you want to work on prices, open a terminal in the same Git repository. At the shell prompt, type claude --resume january-prices and press Enter.
  3. A unique match opens the conversation directly. If several conversations match, Claude Code opens the session picker with the search term filled in. Select the conversation about January prices.

The name search covers the current repository and its worktrees. Choose a name that sets the task apart from the other work in that repository: january-prices will be easier to recognize than update.

Sources: Anthropic’s command reference and guide to saved sessions.

The Forge newsletter

Get new articles in your inbox

Pick the topics you care about. No noise, at most one email a week.

Get new articles in your inbox

We follow GDPR. Unsubscribe anytime.