← 返回
开发者工具 中文

Macos Bridge

Bridge Mac-owned tools like imsg, remindctl, memo, things, and peekaboo onto a Linux OpenClaw gateway by installing explicit same-LAN SSH wrappers with optio...
通过安装局域网 SSH 封装器,将 Mac 原生工具(如 imsg、remindctl、memo、Things 和 Peekaboo)桥接至 Linux OpenClaw 网关。
matthewxmurphy matthewxmurphy 来源
开发者工具 clawhub v0.6.2 2 版本 99871 Key: 无需
★ 0
Stars
📥 774
下载
💾 10
安装
2
版本
#latest

概述

macOS Bridge

Use this skill when a Linux OpenClaw gateway should expose Mac-owned tools as stable Linux-side commands.

This skill is for tools that are inherently macOS-backed:

  • imsg
  • remindctl
  • memo
  • things
  • peekaboo

It does not try to make Linux pretend those binaries are native. It installs explicit Linux-side wrappers that call the owning Mac over SSH.

If the matching feature is disabled in openclaw.json, do not force the bridge.

If the feature is enabled and Linux already has a working local binary, that is also acceptable. Use this skill when the enabled feature needs the Mac-owned implementation.

Use This Skill For

  • same-LAN Linux gateway to Mac node setups
  • Mac-owned tools with macOS permissions or data access
  • wrapper-backed public skills that should stay truthful on Linux
  • enabled-channel auto-selection from channels.*.enabled
  • remoteHost auto-discovery from an existing OpenClaw config
  • optional Wake-on-LAN recovery when a Mac sleeps

Do Not Use This Skill For

  • Homebrew-centric Linux augmentation where the main goal is exposing /opt/homebrew/bin tools in general
  • Linux-native tools that should be installed locally
  • patching OpenClaw internals so macOS-only tools show as green on Linux
  • WAN-routed or untrusted remote Macs

Requirements

  • Linux gateway and Mac nodes share the same trusted local network or VLAN
  • Linux gateway can SSH to the owning Mac node
  • remote binaries exist and already have the needed macOS permissions
  • Macs stay awake for work windows or support Wake-on-LAN if you expect remote resume

Workflow

1. Render A Tool Ownership Map

Run:

scripts/render-tool-map.sh /home/node/.openclaw/openclaw.json

If the OpenClaw config already contains enabled macOS-backed channels, this prints an auto-discovered map for enabled tools first.

2. Install The macOS Pack

Example:

scripts/install-macos-pack.sh \
  --target-dir /home/node/.openclaw/bin \
  --openclaw-config /home/node/.openclaw/openclaw.json \
  --default-host agent2@192.168.88.12 \
  --wake-map mac-node.local=AA:BB:CC:DD:EE:FF \
  --wake-wait 20 \
  --wake-retries 2

When no --tool or --map arguments are provided, the installer now auto-selects only the supported tools whose channels are enabled in the OpenClaw config.

The installer resolves hosts in this order:

  • explicit --map tool=user@host
  • matching remoteHost in the OpenClaw config
  • --default-host user@host
  • the single discovered Mac host if only one unique remoteHost exists
  • no repeated host questions when the OpenClaw config already resolves the owner

3. Verify The Pack

Run:

scripts/verify-macos-pack.sh \
  --target-dir /home/node/.openclaw/bin \
  --openclaw-config /home/node/.openclaw/openclaw.json

When --openclaw-config is provided, verification only checks enabled macOS-backed features instead of treating every supported tool as required.

Design Contract

  • Linux holds the wrapper paths
  • macOS holds the real binaries and OS permissions
  • published skills depend on wrapper paths, not remote binary paths
  • tool ownership stays explicit and auditable

Files

  • scripts/install-wrapper.sh: create one SSH wrapper for a remote binary
  • scripts/install-macos-pack.sh: install a batch of macOS-owned tool wrappers with auto-discovery and optional Wake-on-LAN
  • scripts/verify-macos-pack.sh: verify the installed wrapper pack
  • scripts/render-tool-map.sh: print auto-discovered or fallback ownership maps
  • references/skill-readiness.md: publishability rules for wrapper-backed skills

版本历史

共 2 个版本

  • v0.6.2 当前
    2026-03-29 11:11 安全 安全
  • v0.6.0
    2026-03-11 10:54

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 89 📥 30,713
it-ops-security

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,361
it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,803