Slash commands not supported in /remote-control UI

Status Fixed / completed
Maintainer reply None cached
Activity 13 comments · opened Feb 25, 2026 · closed Aug 17, 2026

When using /remote-control to continue a local Claude Code session from claude.ai/code or a mobile device, slash commands (e.g., /clear, /compact, /context, /rewind) typed in the remote UI are not processed as commands — they're sent as regular chat messages.

Steps to Reproduce

  1. Start a Claude Code session locally
  2. Run /remote-control to get a remote session link
  3. Open the session in claude.ai/code or mobile
  4. Type /clear (or any slash command) in the remote UI
  5. Observe it's treated as plain text, not executed as a command

Expected Behavior

Slash commands from the remote UI should be recognized and executed by the local CLI process, the same way they work in the local terminal.

Current Behavior

Slash commands are only processed when typed in the local terminal. The remote UI has no way to trigger them.

Impact

Users working from the remote interface have no way to manage their session (clear context, compact, rewind, etc.) without switching back to the local terminal.

Suggestion

Intercept messages starting with / in the remote-control protocol and route them through the local CLI's command handler.

View original on GitHub ↗

12 Comments

github-actions[bot] · 6 months ago

Found 1 possible duplicate issue:

  1. https://github.com/anthropics/claude-code/issues/28351

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

axisrow · 6 months ago

the same

just type any / - and nothing happen

this is vibe code we deserve

ChrisHenryOC · 3 months ago

when using remote-control with version v2.1.126, I'm finding that slash commands are working as slash commands. I'm not getting UI help (type "/" then see a list of commands), so I need to know the commands, but claude is definitely processing them as commands.

markrmiller · 3 months ago

That's helpful if they work - though one has to wonder how long it takes to vibe code up the auto complete support. But at least if they work, all you have to do is hope you don't get slopped with a AskUserQuestion XML document.

tekr · 2 months ago

This is kind of nuts. This limitation doesn't seem to be explicitly noted in remote control docs, but it's a HUGE limitation. Can't change model. Can't directly run skills. Can't do a bunch of other common things that one can do in the CLI.

Surprised more people aren't here talking about it. Annthropic, are you going to fix this?

aronweiler · 2 months ago

/clear USED to work for me... Granted, it was a long running operation for some reason. However, it definitely used to work.

As of yesterday it's not working, this makes the remote control client fairly useless.

0reo · 2 months ago

Broken now for me as well, was able to type /clear the other day into the app, now it's treated as a prompt

shehmeer56 · 2 months ago

Doesn't work for me on mobile

julienbonastre · 2 months ago

Yehp, regression it seems, I have been using /clear for months in CC Android mobile app and desktop macos app, has been doing great, as of just last few days I have noticed it now seems to "claim it is clearing" and respond to my prompt, which we all know means it's clearing jack sh!t as there should be no response to a clear .. other than, you know fully killing the prior session, clearing the context buffer and awaiting the next prompt....

Why you do this to us 😢

axisrow · 2 months ago
Why you do this to us 😢

I completely agree. It's frustrating to see these kinds of bugs in a paid product.

contabilidad-source · 1 month ago

+1, specifically for /rewind.

Over Remote Control, /rewind returns "isn't available over Remote Control", so checkpoint/restore is unreachable unless I'm at the local terminal. Rewinding a bad turn is one of the main reasons I'd reach into a session mid-flight — and it's exactly the recovery you need when you're away from your desk, i.e. precisely when you're on Remote Control.

Please route /rewind (and slash commands generally) through the Remote Control UI instead of treating them as chat messages.

Related snapshot gaps: #76114, #74410.

blueberry6401 · 1 month ago

+1, Fork also not available in remote-control client.

Showing cached comments. Read the full discussion on GitHub ↗