skills/remote-mac/SKILL.md
Remote Macs: MacBook, Mac Studio, clawmac, megaclaw, 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, megaclaw, 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.corporate: Peter's work-managed environment. Treat Mac Studio as the main remote Mac to configure and inspect there.personal: Peter's personal LAN / personal cloud environment, including clawmac.clawmac and the personal LAN are unreachable from Peter's corporate Mac. Never use clawmac as a relay or LAN vantage from there.openclaw-gateway-watch-main from /Users/steipete/clawdbot with pnpm gateway:watch --benchmark, LAN bind *:18789, Discord bot Molty, plus Slack and Telegram connected.megaclaw: alternate Mac node, replaced retired moltymac (2026-07-05). Tailscale/SSH steipete@megaclaw. No OpenClaw gateway by design — the personal claw runs on clawmac; do not configure or start one on megaclaw.Non-Mac fleet nodes (full detail in computers.yaml):
gorillaclaw: personal Ubuntu Linux node at GorillaServers (Los Angeles), Tailscale 100.93.99.79; SSH user steipete.steipetesurface: Peter's personal Windows Surface, Tailscale 100.118.219.64, SSH user steip. Corporate Windows laptop CPC-steip-11ENO is separate and work-managed.Not Peter's Macs (do not configure/brand as his):
crabhammer: Scaleway M4-XL given to vince; on Peter's tailnet + billing but provisioned for vince (no SSH access). Listed under handed_off: in computers.yaml.Manager repo source of truth (canonical inventory of all nodes, Mac and non-Mac):
/Users/steipete/Projects/manager/computers.yaml/Users/steipete/Projects/manager/agents.yamltailscale status --json; match hostname/DNS name and use the node's current IP. Manager-cached Tailscale IPs may be stale.corporate environment, default to Mac Studio for remote configuration work. Reach it through its live Tailscale node. MagicDNS may be disabled; use the current TailscaleIPs[0] directly. Do not try clawmac, mDNS, or personal-LAN discovery from there.personal environment, if Tailscale is down or SSH times out, try LAN discovery:dns-sd -B _ssh._tcp local
arp -a
HOST.local only when on the same LAN.corporate environment, stop: it must wake or reconnect before SSH or Screen Sharing diagnosis can continue.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.corporate environment, configure or mirror those automations on Mac Studio unless Peter says otherwise.~/.codex/automations/<automation-id>/automation.toml on the target host as the source of truth for the scheduled job definition on that machine.~/.codex/automations/... entry on Mac Studioopen -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.OPENCLAW_STATE_DIR scratch dir + free port. Never bind 18789 while a real gateway runs; never launchctl kickstart/bootout/bootstrap or openclaw gateway stop/restart a service this session did not start.~/.openclaw, or live test against its gateway needs explicit per-task approval from Peter in chat. One approval = one task, never standing.127.0.0.1:18789 on those hosts is an SSH tunnel into clawmac — "localhost" tests there hit production. Same approval rule applies. Neither host runs a local gateway service.$crabbox, not Peter's personal gateways.tools
Claude Code-only work routing: delegate implementation, fixing, exploratory subagents, rebasing, and PR merging/landing to Codex CLI while Claude specifies, decides, reviews, and verifies. Direct hands-on delegation requires ANTHROPIC_BASE_URL to be unset or neither loopback nor gorillaclaw.sheep-coho.ts.net. Codex-backed autoreview is always allowed and preferred, independent of environment.
development
Codex 1M context: direct OpenAI Responses API inference, safe Sol/Terra/Luna input headroom, Keychain delivery, and Mac fleet rollout.
development
REQUIRED before ANY `op` command or whenever a task needs an API key, token, password, credential, or secret (OPENAI_API_KEY, ANTHROPIC_API_KEY, deploy tokens, live-test keys). Prompt-free 1Password service-account reads; wrong invocations spam macOS dialogs.
development
Open-source maintainer orchestration: Codex app workers, work recovery, dependencies, vision, releases.