Local prototype, cloud execution, no context loss
Remote shines in CI/CD by inverting the usual pattern. You don't push raw prompts to a CI runner; you prototype with full context locally, then hand off the established session to the runner. Heavy work runs where compute is cheap; thinking happens where iteration is fast.
The pattern: claude locally, iterate until the task is well-shaped, claude remote handoff ci-runner, the CI runner finishes the heavy task with the established context, results pulled back. Or fully unattended: cron + claude exec with --output-last-message.
Cost lever: use Spot/Preemptible VMs as Remote targets. Sessions can be handed back to local before preemption, so 60–90% cost savings come with no workflow disruption. Combine with Docker for reproducible target environments and you're at production-grade economics.