# Claude Code Session

> One saved chat with Claude Code, in one folder.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** Session, Resume a session, claude --continue

## Think of it like

It is like one notebook for one job. Close it, and you can open it again later.

## Definition

A Claude Code session is one conversation, tied to the folder you started it in. It has its own context, so what you say in one session does not leak into another. Each session is saved as you go. You can pick up the last one with claude --continue, or choose an older one with /resume. Running /clear starts a fresh session and keeps the old one stored. You can also run several sessions at once in different terminals.

## Example

Lucy works on a bug until lunch, then shuts the terminal. After lunch she types claude --continue. The whole chat is back.

## Example code

```bash
claude --continue
```

Pick up the last session in this folder.

## Why it matters

Saved sessions mean a long job does not have to be done in one sitting.

## Common mistake

Keeping one session going for unrelated jobs. Old talk fills the context, so start a new session when the task changes.

## Three principles

- **One conversation.** In one folder.
- **Saved.** Resume it later.
- **Kept apart.** Each has its own context.

## Related terms

- [Context Window](https://learn.benibix.com/term/ai/context-window)
- [Session Transcript](https://learn.benibix.com/term/ai/session-transcript)
- [Claude Code Checkpoint](https://learn.benibix.com/term/ai/claude-code-checkpoint)
- [Auto-Compact](https://learn.benibix.com/term/ai/auto-compact)

## Taught in

- [Claude Code Sessions](https://learn.benibix.com/learn/ai-claude-code/claude-code-sessions): Claude Code, 2/16

![A session is one conversation in one folder. It has its own context and is saved, so you can resume it later.](https://learn.benibix.com/diagrams/cc-session.svg)

---

Source: https://learn.benibix.com/term/ai/claude-code-session
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
