{"name":"\/clear","slug":"clear","family":"slash","title":"Slash commands","noun":"slash command","description":"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](\/docs\/en\/checkpointing#rewind-past-a-cleared-conversation). Aliases: `\/reset`, `\/new`","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.92","released_at":"2026-04-04 00:05:59","spans":7}},"aliases":[],"entries":[{"version":"2.1.307","anchor":"clear-can-withdraw-a-resume-checkpoint-from-the-transcript","heading":"\/clear withdraws the resume point in the conversation it leaves","line":"After `\/clear`, Claude Code removes any resume checkpoint from the old conversation so it no longer resumes to that point","released_at":"2026-10-21 20:47:18","reason":"named in this entry, found in this entry's text"},{"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.300","anchor":"secret-scan-tool-for-the-plugin-authoring-mods-built-in-pl","heading":"Claude Code can scan a mod's folder for keys and tokens before you share it","line":"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","released_at":"2026-10-14 14:27:26","reason":"found in this entry's text"},{"version":"2.1.295","anchor":"1m-context-beta-rejection-is-now-handled-per-model","heading":"Models that reject the 1M-token context option stop failing every request","line":"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","released_at":"2026-10-08 18:22:58","reason":"found in this entry's text"},{"version":"2.1.295","anchor":"idle-clear-hint-can-be-suppressed","heading":"The idle hint to use \/clear can now be hidden","line":"The \"new task? \/clear to save N tokens\" hint can now be held back, and removed if it is already showing","released_at":"2026-10-08 18:22:58","reason":"found in this entry's text, named in this entry"},{"version":"2.1.295","anchor":"idle-cache-quota-prompt-reuses-the-new-conversation-flow","heading":"Offer to start a fresh conversation after a session sits idle","line":"Claude Code can offer to start a new conversation after a session has been idle and its cached context has gone stale","released_at":"2026-10-08 18:22:58","reason":"found in this entry's text"},{"version":"2.1.293","anchor":"safety-stop-count-field-on-results","heading":"Session safety-stop count now documents what it counts and when it resets","line":"The result field counting safety stops covers refusals, content-filter stops and sometimes safety-monitor blocks, and resets on resume and \/clear","released_at":"2026-10-07 17:18:04","reason":"found in this entry's text"},{"version":"2.1.290","anchor":"bridge-remote-control-peers-can-run-effort-model-rena","heading":"Remote Control users can run \/effort, \/model, \/rename and \/usage while Claude is working","line":"Someone connected through Remote Control can now run `\/effort`, `\/model`, `\/rename` and `\/usage` straight away while Claude is mid-reply","released_at":"2026-10-05 18:12:44","reason":"found in this entry's text"},{"version":"2.1.288","anchor":"cold-resume-clear-now-waits-for-a-queued-clear-and-finishe","heading":"Resuming into a new conversation waits for a queued \/clear to apply","line":"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","released_at":"2026-10-02 18:30:40","reason":"found in this entry's text, named in this entry"},{"version":"2.1.286","anchor":"agent-view-slash-commands-compact-clear-rewind-now-prom","heading":"\/compact , \/clear and \/rewind ask to confirm inside an agent view","line":"Typing `\/compact`, `\/clear` or `\/rewind` while viewing an agent now asks you to confirm running it on the main conversation","released_at":"2026-09-30 17:14:38","reason":"found in this entry's text, named in this entry"}],"entries_total":45,"docs":[{"source":"claude-code","path":"commands","title":"Commands","documented":true},{"source":"api","path":"manage-claude\/inference-hooks","title":"inference-hooks","documented":false},{"source":"claude-code","path":"advisor","title":"Escalate hard decisions with the advisor tool","documented":false},{"source":"claude-code","path":"agent-sdk\/agent-loop","title":"How the agent loop works","documented":false},{"source":"claude-code","path":"agent-sdk\/configuration","title":"Configure your agent","documented":false},{"source":"claude-code","path":"agent-sdk\/cost-tracking","title":"Track cost and usage","documented":false},{"source":"claude-code","path":"agent-sdk\/python","title":"Agent SDK reference - Python","documented":false},{"source":"claude-code","path":"agent-sdk\/skills","title":"Extend agents with skills","documented":false},{"source":"claude-code","path":"agent-teams","title":"Orchestrate teams of Claude Code sessions","documented":false},{"source":"claude-code","path":"artifacts","title":"Share session output as artifacts","documented":false}],"docs_total":13,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/slash\/clear","family_url":"https:\/\/changelogs.core-directive.com\/reference\/slash.json"}