Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

/context

slash never mined documented JSON

A Claude Code slash command, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.

Visualize current context usage as a colored grid. Shows optimization suggestions for context-heavy tools, memory bloat, and capacity warnings. When the conversation exceeds the context window, the output includes a warning showing how far over the limit you are and which command frees space. In fullscreen mode, /context collapses the per-item breakdown to keep the grid visible. Pass all to expand it

Anthropic's own wording. Read off Commands, captured 2026-09-28.

First seen — never in a mined build
Last seen — never in a mined build
Builds0 / 149on this box, as of v2.1.308
Written about v1.0.86 first named in a changelog, 20 Aug 2025

In the changelogs

23

Releases whose published page names /context.

  1. v2.1.305
    /usage can suggest ways to save and queue a fix for you

    /usage can now point out what is costing you most and suggest fixes such as /compact or lower effort, which you can queue as a follow-up

    found in this entry's text

  2. v2.1.299
    Usage breakdown gives advice on four more cost drivers

    The usage breakdown now flags max effort, workflows, always-on context over 40k tokens and tool results over 10k tokens, with advice

    found in this entry's text

  3. v2.1.287
    /context in hosted sessions leaves out the message breakdown

    In hosted sessions, /context no longer includes the breakdown of context use by message

    found in this entry's text, named in this entry

  4. v2.1.285
    Auto-compact line in /context rewritten

    The auto-compact window line in /context is built a different way, so its wording may differ slightly

    found in this entry's text, named in this entry

  5. v2.1.283
    /context lists MCP server instructions as their own category

    The /context breakdown now shows how much of the context MCP server instructions take up, next to MCP tools

    found in this entry's text, named in this entry

  6. v2.1.281
    /context total now counts categories plus the API-measured message remainder

    The /context total is now the sum of its non-deferred categories plus the API-measured message remainder, not the raw API input count

    found in this entry's text, named in this entry

  7. v2.1.271
    /context data now exposes deferred/loaded flags and richer breakdown

    /context data sent to plugins now includes deferred and loaded status flags plus a richer breakdown

    found in this entry's text

  8. v2.1.269
    Synced skills no longer counted for bare/unqualified name matching in /context

    Skills synced from claude.ai no longer claim short unqualified names in /context

    found in this entry's text, named in this entry

  9. v2.1.260
    New 'get_context_usage' summary detail mode

    Context-usage requests can now return a lighter summary payload for a memory viewer.

    found in this entry's text

  10. v2.1.260
    /context fullscreen detection changed

    /context now checks fullscreen state directly instead of via a heuristic.

    found in this entry's text, named in this entry

  11. v2.1.252
    Context/cost breakdown now counts tool descriptions from a recorded prompt snapshot

    Context/cost breakdowns like /context now reuse the exact tool description text actually sent, for accuracy.

    named in this entry, found in this entry's text

  12. v2.1.248
    /context can hide the memory-files section

    /context can render without the memory-files section under an unnamed condition.

    named in this entry, found in this entry's text

  13. v2.1.248
    /context remote failures can hide the raw error

    Remote /context failures can hide the underlying error and just say it couldn't fetch.

    named in this entry, found in this entry's text

  14. v2.1.232
    /context returns a structured breakdown of token usage

    /context now attaches exact machine-readable token numbers alongside its rendered report.

    named in this entry, found in this entry's text

  15. v2.1.232
    /context returns machine-readable usage alongside the table

    The /context report now includes structured totals plus per-tool, per-memory, per-agent and per-skill breakdowns.

    named in this entry, found in this entry's text

  16. v2.1.232
    /context returns structured usage, exposed to the SDK as context_usage

    SDK consumers get /context numbers as context_usage on the assistant message, including an over-limit block.

    named in this entry, found in this entry's text

  17. v2.1.232
    Structured context_usage alongside the /context table

    The streaming schema carries an optional context_usage field so tools skip parsing the markdown table.

    found in this entry's text

  18. v2.1.223
    Auto-compact enforces an assumed context window for unrecognized models

    Unknown model names now get an assumed context budget so auto-compact works instead of stalling.

    named in this entry, found in this entry's text

  19. v2.1.117
    Remote Context Usage Display

    found in this entry's text

  20. v2.0.71
  21. v2.0.65
    MCP Tool Deferred Loading

    found in this entry's text

  22. v2.0.0
    Auto-compact Token Budget Display

    found in this entry's text

  23. v1.0.86
    Context Usage Visualization

    found in this entry's text

First cited

2

The earliest release whose published evidence quoted /context was v2.1.232, 13 Aug 2026. That is the oldest release this project wrote about it, so it is a floor on the name's age and not the release that introduced it. It is not a presence reading: which builds carried the name is the table below.

ReleaseDateThe span that was quoted
v2.1.23213 Aug 2026Structured twin of the /context report
v2.1.23213 Aug 2026Structured twin of the /context report, carried on the synthetic assistant message that delivers the markdown table.

Presence across releases

0

The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.

Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the slash command does. All slash commands.

Feedback