Skip to main content

Claude Code cheatsheet

This page collects the vocabulary, commands, and keyboard shortcuts that are worth committing to muscle memory. Keep it open in a browser tab (or printed beside your keyboard) during your first few weeks with Claude Code. Most of the friction new users hit comes from not knowing a command already exists for what they are trying to do, so a quick scan here before reaching for a workaround usually pays off.


Glossary

Term

Definition

Session

One run of claude in a directory, from launch to exit. Each session has its own conversation history, while project memory (CLAUDE.md) persists across sessions.

Context window

The total amount of text — your prompts, Claude's replies, and any files it has read — that the model can hold in mind at once. When it fills up, older content is compacted or dropped. It is managed with /clear and /compact.

Token