skills$openclaw/obsidian-sync
andybold3.4k

by andybold

obsidian-sync – OpenClaw Skill

obsidian-sync is an OpenClaw Skills integration for coding workflows. Sync files between Clawdbot workspace and Obsidian. Run the sync server to enable two-way file synchronization with the OpenClaw Obsidian plugin.

3.4k stars9.1k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

nameobsidian-sync
descriptionSync files between Clawdbot workspace and Obsidian. Run the sync server to enable two-way file synchronization with the OpenClaw Obsidian plugin. OpenClaw Skills integration.
ownerandybold
repositoryandybold/obsidian-sync
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @andybold/obsidian-sync
last updatedFeb 7, 2026

Maintainer

andybold

andybold

Maintains obsidian-sync in the OpenClaw Skills directory.

View GitHub profile
File Explorer
4 files
.
scripts
sync-server.mjs
9.6 KB
_meta.json
280 B
SKILL.md
2.9 KB
SKILL.md

name: obsidian-sync description: Sync files between Clawdbot workspace and Obsidian. Run the sync server to enable two-way file synchronization with the OpenClaw Obsidian plugin.

Obsidian Sync Server

A secure file sync server for two-way synchronization between Clawdbot and Obsidian.

📦 This skill is part of 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

SYNC_TOKEN="your-gateway-token" node scripts/sync-server.mjs

Configuration

Environment VariableDefaultDescription
SYNC_PORT18790Server port
SYNC_BINDlocalhostBind address
SYNC_WORKSPACE/data/clawdbotRoot workspace path
SYNC_TOKEN(required)Auth token (use Gateway token)
SYNC_ALLOWED_PATHSnotes,memoryComma-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

MethodEndpointDescription
GET/sync/statusHealth check
GET/sync/list?path=notesList markdown files
GET/sync/read?path=notes/x.mdRead file + metadata
POST/sync/write?path=notes/x.mdWrite file (conflict detection)

Exposing via Tailscale

tailscale serve --bg --https=18790 http://localhost:18790

Running as a Service

User systemd service

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

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 using: AndyBold/obsidian-openclaw

README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

- 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

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

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 |

FAQ

How do I install obsidian-sync?

Run openclaw add @andybold/obsidian-sync in your terminal. This installs obsidian-sync into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/andybold/obsidian-sync. Review commits and README documentation before installing.