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

/clear

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.

Start a new conversation with empty context. Pass a name to label the previous conversation in the /resume picker. To free up context while continuing the same conversation, use /compact instead. Resume the previous conversation with /resume, or, in the same Claude Code process, restore it from the rewind menu's previous-session entry. Aliases: /reset, /new

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.60 first named in a changelog, 24 Jul 2025

In the changelogs

45

Releases whose published page names /clear.

  1. v2.1.307
    /clear withdraws the resume point in the conversation it leaves

    After /clear, Claude Code removes any resume checkpoint from the old conversation so it no longer resumes to that point

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

  2. 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

  3. v2.1.300
    Claude Code can scan a mod's folder for keys and tokens before you share it

    A new built-in tool scans a mod's folder for keys and tokens before it is shared, asks you first, and reports file names and secret types

    found in this entry's text

  4. v2.1.295
    Models that reject the 1M-token context option stop failing every request

    If a model rejects the 1M-token context option, Claude Code leaves it out for that model and tries again after /clear, compaction, resume or provider change

    found in this entry's text

  5. v2.1.295
    The idle hint to use /clear can now be hidden

    The "new task? /clear to save N tokens" hint can now be held back, and removed if it is already showing

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

  6. v2.1.295
    Offer to start a fresh conversation after a session sits idle

    Claude Code can offer to start a new conversation after a session has been idle and its cached context has gone stale

    found in this entry's text

  7. v2.1.293
    Session safety-stop count now documents what it counts and when it resets

    The result field counting safety stops covers refusals, content-filter stops and sometimes safety-monitor blocks, and resets on resume and /clear

    found in this entry's text

  8. v2.1.290
    Remote Control users can run /effort, /model, /rename and /usage while Claude is working

    Someone connected through Remote Control can now run /effort, /model, /rename and /usage straight away while Claude is mid-reply

    found in this entry's text

  9. v2.1.288
    Resuming into a new conversation waits for a queued /clear to apply

    When resuming starts a fresh conversation, Claude Code waits for a queued /clear before linking back to the old one, or reports that it never applied

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

  10. v2.1.286
    /compact, /clear and /rewind ask to confirm inside an agent view

    Typing /compact, /clear or /rewind while viewing an agent now asks you to confirm running it on the main conversation

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

  11. v2.1.286
    Switching to a fallback model now warns when the context window shrinks

    When Claude Code falls back to a model with a smaller context window, the notice shows both sizes and suggests /clear or a larger fallback

    found in this entry's text

  12. v2.1.285
    The idle /clear hint now also counts from turns that finish elsewhere

    The 'new task? /clear' hint after a long idle spell now counts from the latest completed turn, including one that finished elsewhere

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

  13. v2.1.284
    Promotion eligibility is remembered for an hour instead of checked on every start

    Claude Code now saves whether you are eligible for a promotion for up to an hour, and checks again after /clear

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

  14. v2.1.283
    A built-in module now reacts only to /clear, /diff and /resume

    One built-in module that used to step in on every slash command now does so only for /clear, /diff and /resume

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

  15. v2.1.283
    Starting fresh from the usage warning keeps a pointer to the old conversation

    Choosing a new conversation from the usage warning on resume now leaves a note that Claude can look up the previous one

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

  16. v2.1.282
    Warning before resuming a long, idle conversation that would use much of your usage limit

    Resuming a large, long-idle conversation can show an estimate of how much of your 5-hour usage limit it will use, with an option to start fresh

    found in this entry's text

  17. v2.1.282
    Warning about usage-limit cost when resuming an old conversation, off by default

    A dialog that estimates how much of your 5-hour usage limit resuming an old conversation would use, and offers a fresh one, is built but off without a server config

    found in this entry's text

  18. v2.1.281
    SDK conversation_reset frame gains trigger, user_message_uuid and timestamp

    The SDK's conversation_reset message now says what caused the reset and when, and can link to its /clear

    found in this entry's text

  19. v2.1.281
    /clear now tells the session reset what triggered it

    /clear now tells the session reset that it was the trigger and which command message started it

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

  20. v2.1.277
    New SDK query() usage/cost fields get detailed docs

    SDK docs now spell out that query() usage and cost totals accumulate across turns and reset on /clear

    found in this entry's text

  21. v2.1.269
    New agent-SDK control-request: rename_session

    SDK control-request rename_session refined with remote/host distinction and a get_memory_dialog request added

    found in this entry's text

  22. v2.1.265
    Bridge-initiated /clear can now auto-dismiss a pending local dialog, behind a kill-switch gate

    A remote bridge session's /clear command can now automatically dismiss a local dialog blocking it

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

  23. v2.1.265
    late-tool-additions rejection message now also mentions inline-tools fallback

    Rejected late-tool-addition warning now also mentions falling back to inline tools

    found in this entry's text

  24. v2.1.260
    Transcript now shows a spacer marker where context was cleared

    The transcript now shows a visual spacer where context was cleared or compacted.

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

  25. v2.1.257
    MCP late tool-addition rejections now sticky-reject a beta until /clear or /compact

    When an MCP server rejects a late tool addition, the beta stays rejected until you run /clear or /compact.

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

  26. v2.1.248
    DISABLE_COMPACT now takes effect mid-session

    Setting or clearing DISABLE_COMPACT now takes effect immediately, not just at startup.

    found in this entry's text

  27. v2.1.246
    A slow artifact publish can no longer leak into the next conversation

    A slow artifact publish finishing after /clear no longer writes into your new conversation.

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

  28. v2.1.235
    Context-limit banner now tells you auto-compact is switched off

    Context-limit banner now tells you when auto-compact is off and points you at /config

    found in this entry's text

  29. v2.1.224
    REPL bridge survives /clear instead of dropping

    Running /clear no longer disconnects the editor bridge; it follows you onto the new session.

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

  30. v2.1.223
    SDK result docs for modelUsage and totalCostUsd

    SDK results now document exactly what token usage and dollar cost figures include, and that /clear resets them.

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

  31. v2.1.223
    SDK result schema documents what usage, total_cost_usd and modelUsage actually cover

    SDK result fields now explain that usage covers only the main loop and costs are estimates.

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

  32. v2.1.222
    Status-line notices moved from JSX to a segments array

    Status-line notices are now built as plain text pieces, so they render more consistently.

    found in this entry's text

  33. v2.1.216
    Context Over-Limit Warning Improved

    found in this entry's text

  34. v2.1.205
    EndConversation model tool

    found in this entry's text

  35. v2.1.201
  36. v2.1.199
    /rewind Tip After /clear

    found in this entry's text

  37. v2.1.196
    padded-countdown Token Reminder Mode

    found in this entry's text

  38. v2.1.193
    Autocompact Thrashing Detection

    found in this entry's text

  39. v2.1.191
    Contextual Tips System [Gradual Rollout]

    found in this entry's text

  40. v2.1.122
    Cmd+K Clear Screen

    found in this entry's text

  41. v2.1.111
    /clear Command Description Clarified

    found in this entry's text

  42. v2.1.108
  43. v2.1.108
    /clear Command Description Updated

    found in this entry's text

  44. v2.1.92
    Context Window Size Notification

    found in this entry's text

  45. v1.0.60
    Technical Improvements

    found in this entry's text

First cited

7

The earliest release whose published evidence quoted /clear was v2.1.92, 4 Apr 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.924 Apr 2026/clear to start fresh
v2.1.24827 Aug 2026/compact or /clear to continue
v2.1.2571 Sep 2026falling back to the ToolSearch announcement, sticky-rejecting the beta until /clear or /compact
v2.1.2658 Sep 2026falling back to the ToolSearch announcement (or to inline tools where there is no ToolSearch), sticky-rejecting the beta until /clear or /compact
v2.1.27517 Sep 2026The API refused the advisor for the current conversation, so it runs without one until /clear or /compact
v2.1.28123 Sep 2026What discarded the conversation: 'clear' is the /clear command (or its /reset and /new aliases)

1 further span in the ledger name it. The list above is the earliest first and stops at 6.

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