{"name":"\/context","slug":"context","family":"slash","title":"Slash commands","noun":"slash command","description":"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](\/docs\/en\/errors#context-exceeds-the-token-limit) showing how far over the limit you are and which command frees space. In [fullscreen mode](\/docs\/en\/fullscreen), `\/context` collapses the per-item breakdown to keep the grid visible. Pass `all` to expand it","description_source":"docs","described_by":{"doc":"claude-code\/commands","title":"Commands"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.308","builds":0,"mined_builds":149,"first_cited":{"version":"2.1.232","released_at":"2026-08-13 21:30:53","spans":2}},"aliases":[],"entries":[{"version":"2.1.305","anchor":"usage-gains-actionable-savings-suggestions-with-one-click-f","heading":"\/usage can suggest ways to save and queue a fix for you","line":"\/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","released_at":"2026-10-20 19:29:36","reason":"found in this entry's text"},{"version":"2.1.299","anchor":"usage-insights-add-four-new-suggestion-cards","heading":"Usage breakdown gives advice on four more cost drivers","line":"The usage breakdown now flags max effort, workflows, always-on context over 40k tokens and tool results over 10k tokens, with advice","released_at":"2026-10-14 00:23:19","reason":"found in this entry's text"},{"version":"2.1.287","anchor":"context-in-hosted-workers-omits-message-breakdown","heading":"\/context in hosted sessions leaves out the message breakdown","line":"In hosted sessions, `\/context` no longer includes the breakdown of context use by message","released_at":"2026-10-01 16:59:25","reason":"found in this entry's text, named in this entry"},{"version":"2.1.285","anchor":"auto-compact-window-status-line-simplified","heading":"Auto-compact line in \/context rewritten","line":"The auto-compact window line in `\/context` is built a different way, so its wording may differ slightly","released_at":"2026-09-29 17:32:09","reason":"found in this entry's text, named in this entry"},{"version":"2.1.283","anchor":"context-shows-mcp-server-instructions-as-a-separate-categor","heading":"\/context lists MCP server instructions as their own category","line":"The `\/context` breakdown now shows how much of the context MCP server instructions take up, next to MCP tools","released_at":"2026-09-25 18:46:11","reason":"found in this entry's text, named in this entry"},{"version":"2.1.281","anchor":"context-total-now-counts-categories-plus-the-api-measured-m","heading":"\/context total now counts categories plus the API-measured message remainder","line":"The \/context total is now the sum of its non-deferred categories plus the API-measured message remainder, not the raw API input count","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text, named in this entry"},{"version":"2.1.271","anchor":"context-data-now-exposes-deferredloaded-flags-and-richer-b","heading":"\/context data now exposes deferred\/loaded flags and richer breakdown","line":"\/context data sent to plugins now includes deferred and loaded status flags plus a richer breakdown","released_at":"2026-09-14 19:45:19","reason":"found in this entry's text"},{"version":"2.1.269","anchor":"synced-skills-no-longer-counted-for-bareunqualified-name-ma","heading":"Synced skills no longer counted for bare\/unqualified name matching in \/context","line":"Skills synced from claude.ai no longer claim short unqualified names in \/context","released_at":"2026-09-11 18:12:49","reason":"found in this entry's text, named in this entry"},{"version":"2.1.260","anchor":"new-get-context-usage-summary-detail-mode","heading":"New 'get_context_usage' summary detail mode","line":"Context-usage requests can now return a lighter summary payload for a memory viewer.","released_at":"2026-09-03 22:32:02","reason":"found in this entry's text"},{"version":"2.1.260","anchor":"context-fullscreen-detection-changed","heading":"\/context fullscreen detection changed","line":"\/context now checks fullscreen state directly instead of via a heuristic.","released_at":"2026-09-03 22:32:02","reason":"found in this entry's text, named in this entry"}],"entries_total":23,"docs":[{"source":"claude-code","path":"commands","title":"Commands","documented":true},{"source":"api","path":"about-claude\/glossary","title":"glossary","documented":false},{"source":"api","path":"about-claude\/models\/migration-guide","title":"Or, for the model with the same capabilities and no access approval requirement:","documented":false},{"source":"api","path":"about-claude\/models\/optimizing-for-cost-and-intelligence","title":"optimizing-for-cost-and-intelligence","documented":false},{"source":"api","path":"about-claude\/pricing","title":"pricing","documented":false},{"source":"api","path":"agents-and-tools\/agent-skills\/best-practices","title":"PDF Processing","documented":false},{"source":"api","path":"agents-and-tools\/tool-use\/advisor-tool","title":"advisor-tool","documented":false},{"source":"api","path":"agents-and-tools\/tool-use\/computer-use-tool","title":"computer-use-tool","documented":false},{"source":"api","path":"agents-and-tools\/tool-use\/fine-grained-tool-streaming","title":"fine-grained-tool-streaming","documented":false},{"source":"api","path":"agents-and-tools\/tool-use\/manage-tool-context","title":"manage-tool-context","documented":false}],"docs_total":13,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/slash\/context","family_url":"https:\/\/changelogs.core-directive.com\/reference\/slash.json"}