Remote Control: /clear command does not work from remote device
Status Open
Maintainer reply None cached
Workaround ✓ Mentioned in thread ↓
Activity 3 comments · opened May 30, 2026
Summary
When using Claude Code Remote Control (via claude.ai/code), sending /clear from the remote device has no effect. The command appears to be treated as plain text rather than a CLI command, so the session context is not cleared.
Expected behavior
/clear sent from a remote-control device should clear the session context, the same as running it locally in the terminal.
Actual behavior
Nothing happens. The message is either ignored or treated as a user text message rather than a CLI command.
Steps to reproduce
- Enable Remote Control (
/remote-controlorremoteControlAtStartup: truein settings) - Connect from a remote device via claude.ai/code
- Send
/clearfrom the remote device - Observe: session context is not cleared
Workarounds
- Run
/clearlocally in the terminal - Start a new session from the remote device
Use case
When working from a mobile or secondary device via Remote Control, there is currently no way to reset the conversation context without switching to the local machine. Supporting /clear remotely would make Remote Control sessions more self-sufficient.
3 Comments
A workaround I'm using right now is having remote-control on by default, and making claude open another terminal with an instance of itself. Works as a band-aid fix but definetly not for everyone, just dropping it here in case someone is wondering what do to to circumvent this.
Confirming on latest (CLI + iOS app). Also reproduces from the iOS mobile app, not just claude.ai/code —
/cleararrives in the terminal as a literal message (<system-reminder>+/clear) and doesn't execute. Repros in a brand-new session, so it's not session-state related. Same for/compact. Workaround that works: run/clearin the local terminal.Confirming this on a fresh setup — and it looks like a regression.
Environment:
Remote
/clearUSED to work for me and recently stopped. Updating the mobile app did NOT fix it. When I send/clearfrom the phone it arrives as a plain-text prompt to the model and does not clear context (the local session still has full history; context usage is unchanged).Additional detail not yet in this thread: after the app update, the mobile remote slash-command picker only offers
/diff,/export,/permissions,/plan—/clear,/compact,/context,/usageare all missing from the picker. The current remote-control docs (v2.1.166+) still claim/clear//compact//context//usage"work from mobile and web", so the live behavior contradicts the docs.Local
/cleartyped directly in the terminal/IDE still works fine — the breakage is specific to the remote channel.