Установка
SKILL.md
Remote Mac
Use when the user says MacBook, Mac Studio, clawmac, megaclaw, Molty, Tailscale, or asks to run/check something on one of Peter's Macs.
Peter's Topology
- Primary daily driver: Peter's MacBook Pro, local host
steipete-mbp, Tailscalepeters-macbook-pro-1. - Corporate workhorse: Mac Studio, Tailscale
peters-mac-studio-1, usually best reached assteipete@steipete-macstudio.local. - Personal cloud OpenClaw:
clawmac(Peter may typo/saycrabmac), Tailscale/SSHsteipete@clawmac, gateway via LaunchAgentai.openclaw.gateway, loopback127.0.0.1:18789, Telegram connected. - Network split:<!-- -->
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, includingclawmac.
- Network boundary:
clawmacand the personal LAN are unreachable from Peter's corporate Mac. Never useclawmacas a relay or LAN vantage from there. - Molty: runs on Mac Studio when healthy. Expected runtime is tmux session
openclaw-gateway-watch-mainfrom/Users/steipete/clawdbotwithpnpm gateway:watch --benchmark, LAN bind*:18789, Discord botMolty, plus Slack and Telegram connected. megaclaw: alternate Mac node, replaced retiredmoltymac(2026-07-05). Tailscale/SSHsteipete@megaclaw. No OpenClaw gateway by design — the personal claw runs onclawmac; do not configure or start one onmegaclaw.
Non-Mac fleet nodes (full detail in computers.yaml):
gorillaclaw: personal Ubuntu Linux node at GorillaServers (Los Angeles), Tailscale100.93.99.79; SSH usersteipete.steipetesurface: Peter's personal Windows Surface, Tailscale100.118.219.64, SSH usersteip. Corporate Windows laptopCPC-steip-11ENOis 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 underhanded_off:incomputers.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.yaml
Discovery
- Start with live
tailscale status --json; match hostname/DNS name and use the node's current IP. Manager-cached Tailscale IPs may be stale. - In the
corporateenvironment, default to Mac Studio for remote configuration work. Reach it through its live Tailscale node. MagicDNS may be disabled; use the currentTailscaleIPs[0]directly. Do not tryclawmac, mDNS, or personal-LAN discovery from there. - In the
personalenvironment, if Tailscale is down or SSH times out, try LAN discovery:
dns-sd -B _ssh._tcp local
arp -a
- Try mDNS names such as
HOST.localonly when on the same LAN. - If Mac Studio's live Tailscale node is offline from the
corporateenvironment, stop: it must wake or reconnect before SSH or Screen Sharing diagnosis can continue.
SSH Rules
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.
OpenClaw Checks
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-sessionsincludesopenclaw-gateway-watch-main.ps axwwincludespnpm gateway:watch --benchmark.lsof -nP -iTCP:18789 -sTCP:LISTENshows a listener on*:18789.openclaw channels status --jsonshows DiscordMolty, Slack, and Telegram connected.
clawmac healthy shape:
launchctl listincludesai.openclaw.gateway.lsof -nP -iTCP:18789 -sTCP:LISTENshows loopback listeners.openclaw channels status --jsonshows Telegram connected.
Codex Automations
- Codex cron automations are host-local scheduler state, not generic cloud jobs.
- In the
corporateenvironment, configure or mirror those automations on Mac Studio unless Peter says otherwise. - Treat
~/.codex/automations/<automation-id>/automation.tomlon the target host as the source of truth for the scheduled job definition on that machine. - If the goal is to move a cron automation from Peter's current corporate machine to Mac Studio, do the machine work on Mac Studio:<!-- -->
- ensure the intended repo checkout exists there
- sync the required repo-local policy files
- create or update the matching
~/.codex/automations/...entry on Mac Studio - disable or pause the old corporate-host copy if Peter wants only one runner
- Do not assume Codex app thread handoff moves cron scheduler ownership; thread movement and cron ownership are separate.
clawmac GUI Access
- Prefer direct clawmac automation over Tailscale/SSH first:
open -a "Google Chrome", AppleScript, Chrome DOM JavaScript, and remote Peekaboo clicks. - For
gogOAuth on clawmac, keep the browser on clawmac. Startgog auth addin remote tmux, open the printed URL on clawmac Chrome, click consent with AppleScript/DOM automation, then verify withzsh -lc 'gog auth list --check --json --no-input'. - If
GOG_KEYRING_PASSWORDis exported by the remote shell environment, use the matching login shell for checks and tmux prompt feeding, and never print the value. - If SSH/cron hits GUI-only prompts that direct automation cannot handle, use local Peekaboo through Jump Desktop's
clawmacwindow as fallback. - Find it with
peekaboo list windows --app "Jump Desktop" --json; capture by--window-title clawmacor the reported--window-id. - Clicks use local global coordinates through the Jump Desktop window; verify with a raw window screenshot before clicking.
- Chrome cookie/keychain issues:
securitymay prompt forChrome Safe Storage; Peter must enter the login keychain password, then clickAlways Allow. - After approval, verify over SSH with
/Users/steipete/Projects/bird/bird checkand/Users/steipete/.openclaw/bin/bird-gui check.
Live Testing Policy (OpenClaw)
- Default for live tests on any of Peter's Macs: session-owned dev gateway — isolated
OPENCLAW_STATE_DIRscratch dir + free port. Never bind 18789 while a real gateway runs; neverlaunchctl kickstart/bootout/bootstraporopenclaw gateway stop/restarta service this session did not start. - clawmac = PRODUCTION. Any restart/stop, config/state write under
~/.openclaw, or live test against its gateway needs explicit per-task approval from Peter in chat. One approval = one task, never standing. - Any shared Mac Studio gateway or dev-watch session is semi-production: same approval rule; never stop a tmux session this task did not start.
- Tunnel footgun (megaclaw AND Peter's MacBook Pro):
127.0.0.1:18789on those hosts is an SSH tunnel into clawmac — "localhost" tests there hit production. Same approval rule applies. Neither host runs a local gateway service. - DB/state for testing or migration rehearsal: production copies need explicit per-task approval naming the destination and handling. Work only on the approved copy; writing back or migrating production in place needs separate approval.
- Heavier cross-machine/OS live E2E routes through
$crabbox, not Peter's personal gateways.
Safety
- Do not assume host identity from a stale IP; verify hostname/user when possible.
- Do not print secrets from remote files or shells.
- If a host is unavailable after Tailscale + LAN fallback, say what was tried.
- For OpenClaw Gateway on Peter's machines, follow repo docs/AGENTS; do not install/start/stop services unless asked.
Вставить в README
Ссылка на карточку для вашего README — без картинок и счётчиков.
[DarkPlay: remote-mac](https://darkplay.ru/ai/skills/steipete-agent-scripts-remote-mac)
Из того же репозитория
Похожие скиллы и другие разделы каталога
Самые востребованные скиллов раздела по установкам и звёздам.
find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.Соседние разделы каталога: возможно, нужный инструмент живёт там.
lovableanthropics · Создание, доработка, развёртывание и управление приложениями Lovable из Claude Code…
mcp-server-devanthropics · Навыки проектирования и создания MCP-серверов, бесшовно работающих с Claude. Проводит по…
sumupanthropics · Интеграции платежей SumUp для терминалов и онлайн-оплаты. Создание POS-приложений для…
pm-skillsalirezarezvani · 9 навыков управления проектами с 15 Python-инструментами: fork-orchestrator с…
browser-harnessanthropics · browser-harness: прямой низкоуровневый контроль Chrome через CDP для Claude Code.
claude-code-audit-stackanthropics · Примитивы состязательной проверки: ловит пропущенные рестарты, ошибки вероятностей и…
claude-code-hermitanthropics · Постоянный автономный ассистент в Docker с восстановлением после сбоев и управлением с…
claudecode-rexd-targetanthropics · Работа с удалёнными машинами через REXD по SSH: файлы, команды, поиск, патчи, PTY.
cleoanthropics · cleo — менеджер зависимостей для Claude Code: позволяет командам фиксировать и делиться…
cloudplayplusanthropics · Плагин-канал, связывающий Claude Code с запущенным Flutter-приложением CloudPlayPlus…Лучшие ИИ-инструменты для генерации видео
Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,
VEED.IOVeed
MootionMootion
Sora (OpenAI)OpenAI
viralpulse.appViralpulse
Viral Maker AIViral-makerЛучшие ИИ-инструменты для генерации текста и копирайтинга
Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра
NeuroscribeNeuroscribe
GoGPTGogpt
НейроТекстерNeuro-texter
ChatGPTOpenAI
Cosmo ScribeCosmoscribe
Memo HelperCopilot33
LibraChatLibrachatЛучшие ИИ-инструменты для генерации изображений
Подборка нейросетей для генерации изображений от фотореализма до концепт-арта. Сервисы, которые экономят часы ручной работы, создавая визуал для блогов, рекламы и дизайна за минуты
MagviMagvi
DALL-E 3OpenAI
SupaLabSupalab
Freestyling.aiFreestyling
ArtGeneration.meArtgeneration
BigjpgBigjpg
Художник от VKVK
Avato AI12ai
Virton AIVirton