obsidian-folder-sync

将任意文件夹(支持任何 AI agent workspace)同步到 Obsidian Vault。 **触发场景**: - 用户说「同步到Obsidian」「备份到Obsidian」「Obsidian同步」「folder sync」 - 需要将任意文件夹(skills、memory、项目文档等)备份到 Obsidian - 用户提供源目录和目标 Vault 路径时使用 **功能**: 将指定文件夹内的所有 .md 文件单向同步到 Obsidian Vault 的指定子目录, 排除 node_modules、.git、__pycache__、.venv 等目录。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "obsidian-folder-sync" with this command: npx skills add soroyue/obsidian-folder-sync

Obsidian Folder Sync

将任意文件夹同步到 Obsidian Vault,支持任何 AI agent 或手动管理的文件夹。

使用方式

bash ~/.openclaw/workspace/skills/obsidian-folder-sync/scripts/sync.sh <源目录> <目标Vault> [目标子目录]

参数说明:

参数必填说明
源目录要同步的文件夹绝对路径
目标VaultObsidian Vault 路径
目标子目录Vault 内的子文件夹(默认:源目录名)

示例:

# 同步 AI agent skills 到 Obsidian
bash sync.sh ~/.openclaw/workspace/skills ~/Obsidian/MyVault

# 同步项目文档到 Vault 的 Projects 子目录
bash sync.sh ~/my-project/docs ~/Obsidian/MyVault Projects

# 同步记忆文件夹
bash sync.sh ~/my-agent/memory ~/Obsidian/MyVault Memory

同步规则

  • 同步:所有 *.md 文件
  • 排除node_modules/__pycache__/.git/.venv/.clawhub/.learnings/
  • 📁 映射:源目录结构保持不变地映射到目标子目录

日志

日志文件:~/.openclaw/workspace/logs/obsidian-folder-sync.log

技术细节

  • 工具:rsync --files-from,高效增量同步
  • 文件列表写入 /tmp/obsidian-folder-sync-$$/,执行后自动清理
  • 可通过环境变量覆盖配置(高级用法)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Agent Life

Backup, sync, and restore agent memory and state to the cloud using the Agent Life Format (ALF). Use when asked to back up agent data, sync memory to the clo...

Registry SourceRecently Updated
2901Profile unavailable
Security

SPIRIT State Sync

State Preservation & Identity Resurrection Infrastructure Tool (SPIRIT). Preserves AI agent identity, memory, and projects to a private Git repository. NEW:...

Registry SourceRecently Updated
7770Profile unavailable
General

Obsidian Sync Syncthing

Obsidian 跨平台同步方案(Mac ↔ iPhone),基于 Syncthing 实现零插件、零成本、离线优先的双向同步,支持智能大文件过滤。

Registry SourceRecently Updated
1280Profile unavailable
Coding

Session Sync Cloud

Automatic cloud backup and sync for OpenClaw memory files. Encrypted upload to S3/Backblaze, versioned retention (30 days), cross-device restore. Includes we...

Registry SourceRecently Updated
860Profile unavailable