During the bill.wards.net migration, I had Claude helping me run commands (e.g. ansible, docker compose, wp-cli) on the production webhost, but I didn’t want to give Claude direct access to it. Claude would give me commands to run as a privileged user, I would review the command and copy/paste it into the shell if it looked appropriate, then copy/paste the output back to Claude for review. The process of selecting, copying, and pasting the output was onerous and I came up with this pattern to make it easier by giving Claude read-only access to my privileged shell session.
Tag: #claude code
Blog, relaunched
As part of my deep dive into Claude Code, I’ve relaunched this website, revitalized my LEGO blog, started a new gardening site, and more is coming soon!