用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/az9713/agent_scripts_tutorial --skill remote-mac命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | remote-mac |
| description | Remote Macs: MacBook, Mac Studio, clawmac, Tailscale, SSH, OpenClaw. |
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 steipete@steipete-macstudio.local.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 steipete@steipete-macstudio.local 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 steipete@steipete-macstudio.local \
'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.Add a redacted agent transcript section to GitHub PR or issue bodies during OpenClaw agent-created PR/issue workflows.
Existing Chrome automation: Chrome plugin first, mcporter fallback.
ClawSweeper status: URLs, workflow health, active workers, ops snapshot.