Cmd. /context
Visualize context usage and heavy contributors.
Key takeaways
- Visualize context usage and heavy contributors.
- Check the input surface and availability before using the examples below.
Purpose
Visualize context usage and heavy contributors.
/context [all]Availability
| Field | Value |
|---|---|
| Input surface | Running CLI prompt |
| Kind | Built-in |
| Status | Current reference |
| Aliases | — |
| Documented minimum | Not specified |
| Reviewed against | 2026-09-22 · Claude Code 2.1.278 |
The installed command menu and account or organization settings determine availability.
Examples
/context allEffects and persistence
Displays context usage; reducing it requires a separate compaction action.
Cautions
A large context value identifies usage, not necessarily waste; inspect the contributors before compacting.