Unclear When this resume path runs is not stated.
/clear starts a new conversation with empty context. In one path, Claude Code resumes a session and starts a new conversation with /clear. Claude Code now checks whether that /clear was queued behind other work.
If it was queued, Claude Code waits until the clear actually applies. Only then does it add the note pointing back to the previous conversation. If the clear never applies, Claude Code reports that it was not applied. Before, it checked only once, straight after submitting the command.
The "New conversation" notice could be lost when the clear had not run yet. Claude Code now waits for the clear before adding it.
If the error comes back after a `/clear`, run [`/context`](/docs/en/debug-your-config) and compare the `Messages` row with the rows above it:see the edit
* `/compact`, `/clear`, and `/rewind` act on the lead's conversation, so Claude Code asks you to confirm before running one of them from this view.see the edit
* `/compact`, `/clear`, and `/rewind` act on the main conversation, so Claude Code asks you to confirm before running one of them from this view.see the edit
If your mod copies a saved value from `$.store` into `$.state` at `session.start`, it has to copy it again after `/clear`, `/resume`, or `/branch`. Those commands reset every `$.state` value to its default, and `session.start` doesn't fire…see the edit
Each test starts with every `$.state` value at its default, which is how `/clear` leaves them. To test what your mod does next, skip `session.start`, fire `classic.SessionStart` with `source: 'clear'`, and check what your mod draws.see the edit
* If the API refuses the pairing of an advisor that Claude Code attached, Claude Code resends that request without the advisor. The conversation continues without one, so you see no error and get no advisor calls. If you then pick a differ…see the edit
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
* **Clear between tasks**: Use `/clear` to start fresh when switching to unrelated work. Stale context wastes tokens on every subsequent message. Use `/rename` before clearing so you can find the session later, then `/resume` to return to …costs see the edit
| `/clear` | No | Start a new session from the sidebar instead |claude-code-on-the-web see the edit
When this resume path runs is not stated.
/clear on Troubleshooting