Claude Codeconfigurationbuilt-in

/remote-env

Set or view the default environment for cloud agents spawned from Claude Code sessions.

When to use

  • Pinning which remote sandbox cloud agents use by default
  • Aligning /autofix-pr and cloud review sessions with team infrastructure
  • Checking current remote environment before spawning background cloud work

More Claude Code commands