obsidian-sync
Sync files between Clawdbot workspace and Obsidian. Run the sync server to enable two-way file synchronization with the OpenClaw Obsidian plugin.
Best use case
obsidian-sync is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Sync files between Clawdbot workspace and Obsidian. Run the sync server to enable two-way file synchronization with the OpenClaw Obsidian plugin.
Teams using obsidian-sync should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/obsidian-sync/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How obsidian-sync Compares
| Feature / Agent | obsidian-sync | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Sync files between Clawdbot workspace and Obsidian. Run the sync server to enable two-way file synchronization with the OpenClaw Obsidian plugin.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Marketing
Discover AI agents for marketing workflows, from SEO and content production to campaign research, outreach, and analytics.
AI Agents for Startups
Explore AI agent skills for startup validation, product research, growth experiments, documentation, and fast execution with small teams.
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
SKILL.md Source
# Obsidian Sync Server A secure file sync server for two-way synchronization between Clawdbot and Obsidian. > **📦 This skill is part of [obsidian-openclaw](https://github.com/AndyBold/obsidian-openclaw)** > An Obsidian plugin that lets you chat with your Clawdbot agent and sync notes between your vault and the agent's workspace. ## Quick Start ```bash SYNC_TOKEN="your-gateway-token" node scripts/sync-server.mjs ``` ## Configuration | Environment Variable | Default | Description | |---------------------|---------|-------------| | `SYNC_PORT` | `18790` | Server port | | `SYNC_BIND` | `localhost` | Bind address | | `SYNC_WORKSPACE` | `/data/clawdbot` | Root workspace path | | `SYNC_TOKEN` | (required) | Auth token (use Gateway token) | | `SYNC_ALLOWED_PATHS` | `notes,memory` | Comma-separated allowed subdirectories | ## Security - Only configured subdirectories are accessible - Path traversal (`../`) is blocked - All requests require `Authorization: Bearer <token>` - Bind to localhost; expose via Tailscale serve for remote access ## API Endpoints | Method | Endpoint | Description | |--------|----------|-------------| | GET | `/sync/status` | Health check | | GET | `/sync/list?path=notes` | List markdown files | | GET | `/sync/read?path=notes/x.md` | Read file + metadata | | POST | `/sync/write?path=notes/x.md` | Write file (conflict detection) | ## Exposing via Tailscale ```bash tailscale serve --bg --https=18790 http://localhost:18790 ``` ## Running as a Service ### User systemd service ```bash mkdir -p ~/.config/systemd/user cat > ~/.config/systemd/user/openclaw-sync.service << 'EOF' [Unit] Description=OpenClaw Sync Server After=network.target [Service] Type=simple Environment=SYNC_TOKEN=your-token-here Environment=SYNC_WORKSPACE=/data/clawdbot Environment=SYNC_ALLOWED_PATHS=notes,memory ExecStart=/usr/bin/node /path/to/skills/obsidian-sync/scripts/sync-server.mjs Restart=on-failure RestartSec=5 [Install] WantedBy=default.target EOF systemctl --user daemon-reload systemctl --user enable --now openclaw-sync loginctl enable-linger $USER # Start on boot ``` ## Obsidian Plugin This skill provides the backend for the **OpenClaw Obsidian plugin**: **[github.com/AndyBold/obsidian-openclaw](https://github.com/AndyBold/obsidian-openclaw)** The plugin provides: - 💬 **Chat sidebar** — Talk to your Clawdbot agent from Obsidian - 📁 **File actions** — Create, edit, delete notes via conversation - 🔄 **Two-way sync** — Keep notes synchronized between vault and agent - 🔒 **Secure storage** — OS keychain integration for tokens - 📋 **Audit logging** — Track all file operations Install the plugin via [BRAT](https://github.com/TfTHacker/obsidian42-brat) using: `AndyBold/obsidian-openclaw`
Related Skills
obsidian
Work with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli. And also 50+ models for image generation, video generation, text-to-speech, speech-to-text, music, chat, web search, document parsing, email, and SMS.
Obsidian CLI 探索记录
Skill for the official Obsidian CLI (v1.12+). Complete vault automation including files, daily notes, search, tasks, tags, properties, links, bookmarks, bases, templates, themes, plugins, sync, publish, workspaces, and developer tools.
obsidian-notes
Work with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli.
obsidian-viz
Generate Obsidian-compatible visualization files (Excalidraw / Mermaid / Canvas). Supports text descriptions and image inputs, outputs editable diagrams in Obsidian or standard formats.
conversation-recap-to-obsidian
Build high-value Obsidian daily and weekly review notes from conversation or existing markdown notes. Use this skill whenever the user asks to summarize the current chat into Obsidian, append a structured session recap, regenerate a daily summary from a full daily note, create or refresh a weekly report, merge same-topic work across multiple days, group work by project/task instead of by date, or extract structured review notes with conclusions, key points, tags, and wikilinks.
obsidian-daily
Manage Obsidian Daily Notes via obsidian-cli. Create and open daily notes, append entries (journals, logs, tasks, links), read past notes by date, and search vault content. Handles relative dates like "yesterday", "last Friday", "3 days ago". Requires obsidian-cli installed via Homebrew (Mac/Linux) or Scoop (Windows).
obsidian-canvas-creator
Create Obsidian Canvas files from text content, supporting both MindMap and freeform layouts. Use this skill when users want to visualize content as an interactive canvas, create mind maps, or organize information spatially in Obsidian format.
obsidian-fns
Control a remote Obsidian vault through Fast Note Sync. Use when reading, searching, writing, or appending notes in Obsidian from OpenClaw, especially for remote vault workflows that do not have direct filesystem access.
obsidian-organizer
Organize and standardize Obsidian vaults for reliability and long-term maintainability. Use when designing or cleaning vault folder structure, enforcing file naming conventions, migrating messy vaults, reducing duplicate/ambiguous notes, or creating repeatable audit-and-fix workflows for Obsidian notes.
claw-sync
Secure sync for OpenClaw memory and workspace. Use /sync to push, /restore to pull, /sync-status to check. Supports versioned backups and disaster recovery.
eternalmemory-sync
Securely backup and restore Openclaw agent memory from remote URLs using AES-256-GCM encryption.
openclaw-sync
OpenClaw 数据轻量同步技能。基于 rclone + cron,支持 70+ 云存储后端, 定时备份 workspace 数据,资源占用极低。