Skills obsidian-openclaw-sync
Sync Obsidian OpenClaw config across multiple iCloud devices. Manages symlinks for seamless multi-device sync.
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/boyd4y/obsidian-openclaw-sync" ~/.claude/skills/clawdbot-skills-obsidian-openclaw-sync && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/boyd4y/obsidian-openclaw-sync" ~/.openclaw/skills/clawdbot-skills-obsidian-openclaw-sync && rm -rf "$T"
manifest:
skills/boyd4y/obsidian-openclaw-sync/SKILL.mdsource content
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
sync with overwrite controlopenclaw.json
Dependencies
| Dependency | Required | Description |
|---|---|---|
| Yes | Python 3.x (macOS comes with Python pre-installed) |
| Yes | This skill only works on macOS (iCloud Drive integration) |
| 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 |
|---|---|
| Show all iCloud vaults with agents and skills, indicates sync status |
| Interactive setup to sync a vault to local |
| List and remove local symlinks |
Options
| Option | Short | Description |
|---|---|---|
| | Pre-select vault by index (default: interactive) |
| | Overwrite local with symlink to iCloud version |
| | 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) |
|---|---|
| |
| |
| |
| |
| |
| |
| (with --overwrite) |
Multi-Device Sync Flow
- Device 1: Run
to create symlinks to iCloud vaultsetup - Device 2: Run
to replace local config with iCloud symlinksetup --overwrite - All devices: Changes sync via iCloud Drive automatically
References
- Sync Helper Script - Core Python script for vault detection