微算力 · API 导航与自营网关
API 接入 EN
未登录登录
☁️

iCloud 配置秒级同步助手

Obsidian Openclaw Sync · v1.0.1
效率 安全 A 级 作者 boyd4y 公开目录收录
1.3k 下载 0 安装 3.8k 收藏 14 浏览

简介

macOS 专用工具,通过 iCloud Drive 实现 OpenClaw 配置跨设备同步,自动管理符号链接确保多设备配置一致

原始描述

Sync Obsidian OpenClaw config across multiple iCloud devices. Manages symlinks for seamless multi-device sync.

通过你的 Agent 添加

点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。

或者手动安装

Claude Codeunzip -o skill.zip -d ~/.claude/skills/obsidian-openclaw-sync/
其它 Agent解压到它自己的 skills 目录,目录名用 obsidian-openclaw-sync

包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。 技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。

技能正文


name: obsidian-openclaw-sync description: Sync Obsidian OpenClaw config across multiple iCloud devices. Manages symlinks for seamless multi-device sync. compatibility: darwin metadata: version: 1.0.1

Obsidian OpenClaw Sync

Helper tool for syncing OpenClaw configuration between iCloud Drive and local Obsidian vaults.

Purpose

This skill solves the problem of syncing OpenClaw configuration across multiple devices via iCloud:

  • Automatically detects all iCloud vaults with OpenClaw configs
  • Creates symlinks from local to iCloud for seamless sync
  • Supports multi-agent workspace templates (workspace_, workspace-)
  • Manages openclaw.json sync with overwrite control

Dependencies

Dependency Required Description
python3 Yes Python 3.x (macOS comes with Python pre-installed)
macOS Yes This skill only works on macOS (iCloud Drive integration)
obsidian-icloud-sync Yes Obsidian must be set up to sync vaults via iCloud Drive

Check Dependencies

# Check Python availability
python3 --version

# Check iCloud Obsidian path exists
ls -ld ~/Library/Mobile\ Documents/iCloud~md~obsidian/Documents

Usage

/obsidian-openclaw-sync [command] [options]

Commands

Command Description
status Show all iCloud vaults with agents and skills, indicates sync status
setup Interactive setup to sync a vault to local
unset List and remove local symlinks

Options

Option Short Description
--vault N -v N Pre-select vault by index (default: interactive)
--overwrite -w Overwrite local openclaw.json with symlink to iCloud version
--no-confirm -y Skip confirmation prompt (auto-confirm)

Examples

# Check sync status (shows all iCloud vaults)
/obsidian-openclaw-sync

# Interactive setup (select vault, create symlinks)
/obsidian-openclaw-sync setup

# Setup with overwrite (replace local openclaw.json with iCloud symlink)
/obsidian-openclaw-sync setup --overwrite

# Setup without confirmation prompt (auto-confirm)
/obsidian-openclaw-sync setup --no-confirm

# Setup specific vault without prompts
/obsidian-openclaw-sync setup --vault 1 --no-confirm

# List and remove local symlinks
/obsidian-openclaw-sync unset

Output Format

✓ iCloud Obsidian: /Users/.../iCloud~md~obsidian/Documents

✓ Valid Vaults (N):
  ✓ <vault-name>
      Agents (N): <agent1>, <agent2>, ...
      Skills (N): <skill1>, <skill2>, ...
  ○ <vault-name> [openclaw.json not found (recommended)]

✗ Invalid Vaults (N):
  ✗ <vault-name> (missing: .obsidian/)

Local Config: .openclaw
  Agents (N): <agent1>, <agent2>, ...
  Skills (N): <skill1>, <skill2>, ...

Synced Directories

Source (iCloud) Target (Local)
media/ ./media/
projects/ ./projects/
team/ ./team/
skills/ ./skills/
workspace-*/ ./workspace-*/
.openclaw/*.json ./.openclaw/*.json
openclaw.json ./openclaw.json (with --overwrite)

Multi-Device Sync Flow

  1. Device 1: Run setup to create symlinks to iCloud vault
  2. Device 2: Run setup --overwrite to replace local config with iCloud symlink
  3. All devices: Changes sync via iCloud Drive automatically

References

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

obsidianicloudsyncmacossymlinkmulti-deviceopenclaw

同类 Skill