skills/remote-mac/SKILL.md
Remote Macs: MacBook, Mac Studio, clawmac, Tailscale, SSH, OpenClaw.
npx skillsauth add steipete/agent-scripts remote-macInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use when the user says MacBook, Mac Studio, clawmac, moltymac, Molty, Tailscale, or asks to run/check something on one of Peter's Macs.
steipete-mbp, Tailscale peters-macbook-pro-1.peters-mac-studio-1, usually best reached as [email protected].clawmac (Peter may typo/say crabmac), Tailscale/SSH steipete@clawmac, gateway via LaunchAgent ai.openclaw.gateway, loopback 127.0.0.1:18789, Telegram connected.moltymac, when healthy. Expected runtime is tmux session openclaw-gateway-watch-main from /Users/steipete/clawdbot with pnpm gateway:watch --benchmark, LAN bind *:18789, Discord bot Molty, plus Slack and Telegram connected.moltymac: old/alternate node. If Tailscale shows it offline or SSH times out, do not treat it as the live Molty runtime.Manager repo source of truth:
/Users/steipete/Projects/manager/computers.yaml/Users/steipete/Projects/manager/agents.yamltailscale status and pick the matching host.dns-sd -B _ssh._tcp local
arp -a
HOST.local when visible.steipete-macstudio.local when Tailscale SSH times out.Use non-interactive SSH by default:
ssh -o RequestTTY=no -o RemoteCommand=none HOST 'COMMAND'
The local SSH alias mac-studio auto-attaches tmux. For one-shot commands, either use [email protected] or override both options above.
For long-running or interactive remote work, use tmux on the remote host and keep the session name obvious.
Use login shells on remote Macs so Homebrew and pnpm are on PATH:
ssh -o RequestTTY=no -o RemoteCommand=none [email protected] \
'zsh -lc "openclaw gateway status --json; openclaw channels status --json"'
Mac Studio / Molty healthy shape:
tmux list-sessions includes openclaw-gateway-watch-main.ps axww includes pnpm gateway:watch --benchmark.lsof -nP -iTCP:18789 -sTCP:LISTEN shows a listener on *:18789.openclaw channels status --json shows Discord Molty, Slack, and Telegram connected.clawmac healthy shape:
launchctl list includes ai.openclaw.gateway.lsof -nP -iTCP:18789 -sTCP:LISTEN shows loopback listeners.openclaw channels status --json shows Telegram connected.open -a "Google Chrome", AppleScript, Chrome DOM JavaScript, and remote Peekaboo clicks.gog OAuth on clawmac, keep the browser on clawmac. Start gog auth add in remote tmux, open the printed URL on clawmac Chrome, click consent with AppleScript/DOM automation, then verify with zsh -lc 'gog auth list --check --json --no-input'.GOG_KEYRING_PASSWORD is exported by the remote shell environment, use the matching login shell for checks and tmux prompt feeding, and never print the value.clawmac window as fallback.peekaboo list windows --app "Jump Desktop" --json; capture by --window-title clawmac or the reported --window-id.security may prompt for Chrome Safe Storage; Peter must enter the login keychain password, then click Always Allow./Users/steipete/Projects/bird/bird check and /Users/steipete/.openclaw/bin/bird-gui check.data-ai
OpenClaw session relay: prompts/posts via local/remote acpx over SSH.
tools
Wrangler CLI: Workers, KV, tail, deploy, account routing.
tools
Twilio SMS CLI: buy/list/keep numbers, send/check messages, credential routing.
development
Audit Codex/OpenClaw skills: loaded roots, duplicate skills, unused skills, prompt-budget costs, compact descriptions.