Remote Control: built-in slash commands (/clear, /context) not intercepted — delivered to the model as plain text
Environment
- Claude Code CLI 2.1.172 on macOS (Darwin 25.5.0)
- Local interactive session, accessed externally via Remote Control from the mobile app
Expected
Per the Remote Control docs: "Commands that produce text output, including /compact, /clear, /context, /usage, /exit, ... work from mobile and web." (supported since v2.1.166)
Actual
While connected through Remote Control from the mobile app, typing /clear and /context is not intercepted by the client. Both arrive at the model as plain user messages (wrapped with a system-reminder "Message sent at ..." timestamp), so the model just sees the literal text /clear and nothing is cleared.
Notably, skill commands still work in the same session (e.g. /session-report was routed and executed normally). So the model-routed command path is fine — only the built-in command interception layer fails under Remote Control.
The user reports this used to work from the app, which suggests a regression rather than a never-implemented path.
Repro
- Start a local interactive session on macOS (2.1.172).
- Connect from the mobile app via Remote Control.
- Type
/clear(or/context) from the phone. - Observe: no clear happens; the assistant receives
/clearas a plain message and responds conversationally.
Related
- #30674 (slash command support in Remote Control mobile sessions)
- #42876 (/clear not visually clearing in remote sessions — different symptom: there the command runs but UI doesn't clear; here it never runs)
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗