Obsidian and OpenClaw Sync
/install openclaw-obsidian-vault-sync
Obsidian and OpenClaw Sync
Use this skill to connect OpenClaw with an Obsidian vault and keep knowledge organized as markdown files that humans and agents can both reuse.
Core pattern
Treat obsidian/ in the workspace as the vault entrypoint.
Preferred setup on macOS:
ln -s "/absolute/path/to/your/Obsidian/Vault" ./obsidian
This keeps OpenClaw operating inside the workspace while writing directly into the real vault.
What to store where
Use a stable folder taxonomy. Current proven structure:
00-人物/— people profiles, role cards, relationship context, resume variants10-组织/— org structures, team maps, stakeholder context20-方法论/— reusable frameworks, SOPs, evaluation logic, decision rules30-日志/— daily journals and chronological work summaries90-OpenClaw/— mirrored agent operating context (AGENTS.md,USER.md,MEMORY.md, etc.)
Do not dump everything into one folder. Prefer one note = one durable topic.
Writing rules
- Distill first, then write.
- Prefer structured markdown over raw chat transcripts.
- Create overview pages when details begin to scatter.
- Separate raw daily logs from long-term reusable knowledge.
- When a note reflects evolving judgment, write the current best understanding instead of preserving every conversational twist.
Recommended note types
1. Person notes
Use for:
- user profile
- leaders / collaborators / stakeholders
- role positioning
- performance goals
- relationship context
Typical examples:
00-人物/佘金明.md00-人物/章东丞.md00-人物/佘金明-工作画像.md
2. Org notes
Use for:
- team structure
- reporting lines
- collaboration topology
- account/project organization
Typical example:
10-组织/BlueFocus-宁德时代项目组.md
3. Methodology notes
Use for:
- frameworks that will be reused
- evaluation models
- operating principles
- AI workflow / SOP abstractions
Typical examples:
20-方法论/AI助理-评估与运营改进框架.md20-方法论/AI助理运营阶段性汇报-3月9日上线至今.md
4. Daily journal notes
Use for:
- what was done today
- outputs created
- stage results
- next-step suggestions
Typical example:
30-日志/YYYY-MM-DD.md
5. OpenClaw mirror notes
Mirror key workspace files into 90-OpenClaw/ when you want the Obsidian vault to contain the agent's operating context.
Typical files:
AGENTS.mdSOUL.mdUSER.mdMEMORY.mdTOOLS.mdHEARTBEAT.md
Workflow: convert chat work into Obsidian knowledge
A. Identify the knowledge type
Ask:
- Is this about a person?
- Is this about an org/team?
- Is this a reusable method?
- Is this just today’s progress?
- Is this agent self-context that should be mirrored?
B. Choose the destination note
- Append to an existing note if the topic already exists.
- Create a new note if the content would otherwise make an unrelated note bloated.
- Create an overview note when several related notes need a summary layer.
C. Rewrite into durable markdown
Prefer sections like:
- 基本信息
- 当前理解
- 核心职责
- 协作关系
- 方法论
- 今日完成
- 下一步建议
D. Keep logs and knowledge separate
- Put “today what happened” in
30-日志/ - Put reusable conclusions in
00-人物/,10-组织/,20-方法论/
Workflow: daily journal sync
When asked to write a daily journal:
- Summarize the day’s actual completed work.
- List key files/outputs created.
- Capture stage-level outcomes, not just actions.
- Add recommended next steps if useful.
- Save to
30-日志/YYYY-MM-DD.md.
Workflow: mirror OpenClaw context into Obsidian
Use when you want the vault to preserve the agent’s own operating documents.
Mirror from workspace root into obsidian/90-OpenClaw/:
AGENTS.mdBOOTSTRAP.mdif still relevantIDENTITY.mdSOUL.mdUSER.mdMEMORY.mdTOOLS.mdHEARTBEAT.md
This is useful for:
- letting humans inspect agent context in Obsidian
- keeping system memory visible and editable
- preserving operational continuity in the vault
Practical rules for other agents
- Respect privacy: do not export sensitive material to shared vaults unless explicitly intended.
- Prefer incremental updates over large rewrites.
- If content comes from screenshots or docs, convert it into structured text before storing.
- If multiple notes are created in one task, also create or update one summary/overview note when helpful.
- Do not assume Obsidian plugins or APIs are available; plain markdown file operations are sufficient.
Verification checklist
After setup or sync, verify:
ls -la ./obsidian
find -L ./obsidian -maxdepth 3 -type f | sort | sed -n '1,50p'
Confirm:
obsidian/exists and points to the real vault or is a real folder- target markdown files were created in the intended category
- note names are human-readable
- content is structured enough for future reuse
Bundled references
- Folder structure and note placement:
references/structure.md - Reusable operating workflow:
references/workflow.md - Example vault patterns from current usage:
references/examples.md
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install openclaw-obsidian-vault-sync - 安装完成后,直接呼叫该 Skill 的名称或使用
/openclaw-obsidian-vault-sync触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Obsidian and OpenClaw Sync 是什么?
Connect an OpenClaw workspace to an Obsidian vault and maintain a structured knowledge sync workflow. Use when setting up Obsidian integration, linking a vau... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 89 次。
如何安装 Obsidian and OpenClaw Sync?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-obsidian-vault-sync」即可一键安装,无需额外配置。
Obsidian and OpenClaw Sync 是免费的吗?
是的,Obsidian and OpenClaw Sync 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Obsidian and OpenClaw Sync 支持哪些平台?
Obsidian and OpenClaw Sync 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Obsidian and OpenClaw Sync?
由 Dr-xiaoming(@dr-xiaoming)开发并维护,当前版本 v1.0.0。