Sync files between Clawdbot workspace and Obsidian. Run the sync server to enable two-way file synchronization with the OpenClaw Obsidian plugin.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install obsidian-sync或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install obsidian-sync⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/obsidian-sync/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- 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. ---
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.
SYNC_TOKEN="your-gateway-token" node scripts/sync-server.mjs
| 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 |
../) is blockedAuthorization: Bearer | 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) |
tailscale serve --bg --https=18790 http://localhost:18790
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
This skill provides the backend for the OpenClaw Obsidian plugin:
github.com/AndyBold/obsidian-openclaw
The plugin provides:
Install the plugin via BRAT using: AndyBold/obsidian-openclaw
安装 Obsidian Sync 后,可以对 AI 说这些话来触发它
Help me get started with Obsidian Sync
Explains what Obsidian Sync does, walks through the setup, and runs a quick demo based on your current project
Use Obsidian Sync to sync files between Clawdbot workspace and Obsidian
Invokes Obsidian Sync with the right parameters and returns the result directly in the conversation
What can I do with Obsidian Sync in my documents & notes workflow?
Lists the top use cases for Obsidian Sync, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/obsidian-sync/ 目录(个人级,所有项目可用),或 .claude/skills/obsidian-sync/(项目级)。重启 AI 客户端后,用 /obsidian-sync 主动调用,或让 AI 根据上下文自动发现并使用。
Obsidian Sync 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Obsidian Sync 可免费安装使用。请查阅仓库了解许可证信息。
Sync files between Clawdbot workspace and Obsidian. Run the sync server to enable two-way file synchronization with the OpenClaw Obsidian plugin.
Obsidian Sync 属于「Documents & Notes」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my documents & notes tasks using Obsidian Sync
Identifies repetitive steps in your workflow and sets up Obsidian Sync to handle them automatically