Book 8 · Patriola’s Guide to Claude
Claude on the machine that can handle it
A practical guide to extending your Claude workflow to a second machine. The laptop describes the work. The remote machine executes it. Results come back when the job is done — drawn from a production setup that runs voice training, overnight batch jobs, and remote builds on demand.
The architecture is practical and unglamorous: once it’s running, you give the heavy job to the machine built for it and come back when it’s done.
What you’ll learnFive layers, one remote workflow
- SSH-setup — Key-based auth with
ed25519:ssh-keygen -t ed25519,ssh-copy-id, and a~/.ssh/configentry withControlMaster autoandControlPersist 10mto reuse the connection without re-authing. Install the Claude CLI on the remote, authenticate, and verify with a live prompt before anything else runs. - file-transfer —
rsyncwith--checksum(not--times),--exclude='.git',--exclude='node_modules',--dry-runbefore the real push. Patterns for datasets (large binary, checksum verify after transfer), configs (small text, diff before overwrite), and checkpoints (incremental transfer, keep last 3 only). - session-persistence —
tmux new-session -d -s workbefore launching any job.tmux send-keysto start it. Disconnect withCtrl-B Dor close the laptop. Reattach from any network withtmux attach -t work. The PID is still running. The log is still growing. The job finishes without you. - GPU-workloads — SSH into the remote, activate the venv, launch the job inside a tmux session, tail the log in one pane and run
watch -n 5 nvidia-smiin a second. VRAM headroom check before launch:nvidia-smi --query-gpu=memory.free --format=csv,noheader. Resultsrsyncback when the job finishes. - remote-builds — Push source with
rsync --delete, run the build withclaude --no-interactive --printinside a tmux session, tail the output log over SSH, retrieve build artifacts. The same pattern handles compile-heavy targets, Docker image builds, or anything the laptop’s thermal envelope can’t finish. - file-transfer — rsync patterns for moving datasets and configs reliably without clobbering what’s already on the remote.
- session-persistence — tmux keeps jobs alive after the laptop closes. The session survives the disconnect; the job finishes without you watching it.
- GPU-workloads — Describe the job on the laptop, execute it on hardware built for it, retrieve results when it finishes. The pattern that makes overnight training runs practical.
- remote-builds — The same pattern applied to someone else’s machine: their hardware, your Claude session, their codebase built or fixed without a screen-share.
A preview
The laptop describes the work. The remote machine does it. When the job comes back, you’ve been doing something else.
Every pattern in this book is drawn from a real machine running real jobs. The setup is unglamorous. Once it’s running, you rarely think about it.
Advanced operators whose laptop is the bottleneck
Claude users hitting the ceiling on their local hardware — thermal throttling, insufficient VRAM, or batch jobs too slow to run in the foreground. CLI-fluent; comfortable with SSH, terminal, and pip installs.
A longer excerpt is available to newsletter subscribers.
New books in this series
One short email per book launch.