remote-mac
Remote Macs: MacBook, Mac Studio, clawmac, Tailscale, SSH, OpenClaw.
Files2
View on GitHubSKILL.mdskills_archive/remote-mac/SKILL.md
GitHubRemote Mac
Use when user says MacBook, Mac Studio, framed, Tailscale, or asks to run/check something on Aditya's Macs.
Aditya's Devices
- Primary: MacBook Pro. Tailscale
adityas-macbook-pro-1. - Workhorse: Mac Studio. Local
adityas-macstudio/adityas-macstudio.local; Tailscaleadityas-mac-studio; preferadityasharma@adityas-macstudio.local. - Framed: arch linux, not
moltymacwhen healthy. tmux session, details in~/sysadminon that machine.
Manager repo truth: /Users/adityasharma/Projects/manager/computers.yaml, agents.yaml.
Discovery
tailscale status→ pick matching host.- Tailscale down / SSH timeout → LAN fallback:
dns-sd -B _ssh._tcp local
arp -a
- Try mDNS
HOST.local. - Mac Studio: prefer
steipete-macstudio.localwhen Tailscale SSH times out.
SSH Rules
Default non-interactive:
ssh -o RequestTTY=no -o RemoteCommand=none HOST 'COMMAND'
Local alias adityas-mac-studio auto-attaches tmux. For one-shot commands, use flags above.
Long-running/interactive → tmux on remote, obvious session name.
OpenClaw Checks
Login shells for Homebrew/pnpm PATH:
ssh -o RequestTTY=no -o RemoteCommand=none steipete@steipete-macstudio.local \
'zsh -lc "openclaw gateway status --json; openclaw channels status --json"'
Mac Studio / Molty healthy shape:
tmux list-sessionsincludesopenclaw-gateway-watch-mainps axwwincludespnpm gateway:watch --benchmarklsof -nP -iTCP:18789 -sTCP:LISTENshows listener*:18789openclaw channels status --jsonshows DiscordMolty, Slack, Telegram connected
Safety
- Don't assume host identity from stale IP; verify hostname/user.
- Don't print secrets from remote files/shells.
- Host unavailable after Tailscale + LAN fallback → report what was tried.
- OpenClaw on Peter's machines: follow repo docs/AGENTS; don't install/start/stop services unless asked.