[FEATURE] Support slash commands (/compact) in Remote Control mobile sessions
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
When using Remote Control from the Claude mobile app (iOS/Android), there is no way to execute slash commands like /compact, /clear, or /context. The mobile interface only supports natural language chat input.
This is a significant limitation for long-running Remote Control sessions:
- Start a Claude Code session on desktop, enable Remote Control
- Step away and continue monitoring/directing from mobile
- Context window fills up during a long task
- Cannot run
/compactfrom mobile — forced to either wait for auto-compact (which produces lower quality summaries) or physically return to the desktop
Manual /compact with custom preservation instructions consistently produces better results than auto-compact. Losing access to this from mobile defeats a key part of the Remote Control value proposition.
Proposed Solution
Allow slash commands to be entered in the Remote Control mobile/web chat input. At minimum:
/compact [instructions]— Manual context compaction with custom instructions/context— View current context usage/clear— Start fresh conversation
Possible implementations:
- Recognize
/prefix in the mobile chat input as slash commands (simplest) - A dedicated command menu button in the mobile UI
- Quick actions via swipe or long-press for common commands
Alternative Solutions
_No response_
Priority
Critical - Blocking my work
Feature Category
CLI commands and flags
Use Case Example
_No response_
Additional Context
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗