返回顶部
o

obsidian-openclaw-sync

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

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.1
安全检测
已通过
811
下载量
0
收藏
概述
安装方式
版本历史

obsidian-openclaw-sync

# 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 ```bash # Check Python availability python3 --version # Check iCloud Obsidian path exists ls -ld ~/Library/Mobile\ Documents/iCloud~md~obsidian/Documents ``` ## Usage ```bash /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 ```bash # 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 - [Sync Helper Script](scripts/sync_helper.py) - Core Python script for vault detection

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 obsidian-openclaw-sync-1776286763 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 obsidian-openclaw-sync-1776286763 技能

通过命令行安装

skillhub install obsidian-openclaw-sync-1776286763

下载 Zip 包

⬇ 下载 obsidian-openclaw-sync v1.0.1

文件大小: 8.19 KB | 发布时间: 2026-4-16 18:40

v1.0.1 最新 2026-4-16 18:40
obsidian-openclaw-sync 1.0.1

- Added support for syncing the media/ directory between iCloud and local vaults.
- Updated documentation and directory sync table to reflect media/ inclusion.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部