Remote Control: built-in slash commands (/clear, /context) not intercepted — delivered to the model as plain text

Open 💬 3 comments Opened Jun 13, 2026 by keonhwi-im

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

  1. Start a local interactive session on macOS (2.1.172).
  2. Connect from the mobile app via Remote Control.
  3. Type /clear (or /context) from the phone.
  4. Observe: no clear happens; the assistant receives /clear as 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)

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗