Automation and Web Commands
Commands for Claude Code web sessions, PR automation, routines, Desktop, and remote control.
Choose the Right Surface
| Command | Best for | Requirements |
|---|---|---|
/autofix-pr [prompt] | Watching a PR and pushing fixes for CI failures or review comments. | Open PR, gh CLI, Claude Code on the web access. |
/schedule [description] | Saved routines that run on schedules, API triggers, or GitHub events. | Claude Code on the web enabled; routines are research preview. |
/web-setup | Connecting GitHub for web-based Claude Code workflows. | Local gh authentication and repository access. |
/remote-control or /rc | Controlling a local session from claude.ai/code or mobile. | Claude.ai login, trusted local workspace. |
/teleport or /tp | Pulling a web session back into the terminal. | Claude.ai subscription and web session access. |
/desktop or /app | Continuing the session in Claude Code Desktop. | macOS or Windows desktop app. |
/mobile | Showing a QR code for the Claude mobile app. | Claude.ai account. |
PR Automation Pattern
- Ensure the branch has an open PR.
- Run
/web-setupif web GitHub connection is not already configured. - Start with a bounded prompt:
/autofix-pr only fix lint, typecheck, and reviewer comments that do not change architecture- Review the resulting commits and CI status before merging.
Routine Pattern
Use /schedule when a workflow should run without your laptop staying open:
/schedule every weekday morning triage new issues and post a Slack summaryUse /loop instead when the loop depends on the current local shell, running server, or local
filesystem state.
Remote Work Pattern
Use Remote Control when you want the work to keep running on your machine while interacting from a
browser or phone. Use Claude Code on the web when the work should run in Anthropic-managed cloud
infrastructure. Use /teleport when a web session needs to come back to your terminal.