[BUG] Slash commands (e.g. /clear) are sent as prompts in Remote Control sessions

Resolved 💬 3 comments Opened Feb 26, 2026 by arquetip0 Closed Mar 3, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When using Claude Code via Remote Control (claude remote-control), slash commands like /clear, /compact, /help etc. are not intercepted locally. Instead, they are sent as plain text prompts to the model, which interprets them as natural language.

What Should Happen?

The /clear command should clear the conversation context, same as in a local terminal session.

Error Messages/Logs

Steps to Reproduce

  1. Start claude remote-control on the local machine
  2. Connect from claude.ai/code or the Claude iOS app
  3. Type /clear in the remote session

Claude Model

Opus

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.1.59

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

This affects all slash commands, not just /clear. Essentially no slash commands work in remote control sessions

View original on GitHub ↗

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