Cmd. /context
Visualize context usage and heavy contributors.
Written and reviewed by Eric Han · Co-founder & CTO, reopt
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-10-23 · Claude Code 2.1.308 |
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.