obsidian-vault-integration

Read and write data with an Obsidian vault used as a shared knowledge base. Use when an agent needs to read vault notes (business plan, tasks, milestones, team info), write updates back to vault files, or query vault contents. Triggers on phrases like "read the vault", "check the business plan", "update open questions", "add a milestone", "what's in the vault", "update the business plan", "check the vault".

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-vault-integration" with this command: npx skills add dmanock/obsidian-vault-integration

Obsidian Vault Integration

Integrates OpenClaw agents with an Obsidian vault for shared knowledge management. Supports structured reading of task lists, milestones, team info, and safe writes back to vault files.

Configuration

Set the vault path via environment variable OBSIDIAN_VAULT_PATH. If not set, uses the default path noted in AGENTS.md.

Environment variables used:

  • OBSIDIAN_VAULT_PATH — Path to the Obsidian vault directory (optional, defaults to agent's configured path)

Quick Start

Read tasks from vault

python scripts/vault-read.py <vault-path> --file open-questions.md --format json

Returns JSON array of tasks parsed from checkbox items, with priority (critical/important/nice), status (todo/done), owner, and title.

Add a task to the vault

python scripts/vault-write.py <vault-path> --file open-questions.md --action add-task --title "New task" --priority important --owner Dave

Mark a task done

python scripts/vault-write.py <vault-path> --file open-questions.md --action mark-done --task-id 3

File Discovery

Files are discovered by their frontmatter type: field as the primary method. If a file is moved to a subfolder, it's still found by metadata.

---
type: open-questions
status: active
---

Fallback chain:

  1. Frontmatter type: field (most reliable — survives moves)
  2. Filename pattern matching (e.g., *open-questions*)
  3. Full-text search (slowest, last resort)

See references/file-formats.md for parsing rules per file type.

Error Handling

CodeMeaningRecovery
ERR_VAULT_NOT_FOUNDVault path doesn't existCheck OBSIDIAN_VAULT_PATH or AGENTS.md
ERR_FILE_NOT_FOUNDRequested file not foundRun discovery to find by metadata
ERR_PARSE_FAILEDMalformed markdownReturn partial data with warning
ERR_CONFLICTFile changed since last readRe-read, resolve manually

Safety

  • All writes are logged to <vault>/.vault-audit.log (timestamp, agent, file, action)
  • Timestamp check prevents overwrites when file has changed
  • Solo mode (default): all agents can read/write everything
  • Team mode (v2): per-agent folder permissions

Permissions

Solo mode (default): No config needed. All agents have full read/write access.

Team mode (v2, not yet implemented): Optional permissions block in SKILL.md for folder-level access control per agent.

Scripts

  • vault-read.py — Read and parse vault files into structured JSON
  • vault-write.py — Write updates back to vault files with safety checks

References

  • references/file-formats.md — Parsing rules for each file type

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.

General

Obsidian Markdown (kepano)

Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax. Use when working with .md files...

Registry SourceRecently Updated
1490Profile unavailable
Coding

Obsidian CLI (kepano)

Interact with Obsidian vaults using the Obsidian CLI to read, create, search, and manage notes, tasks, properties, and more. Also supports plugin and theme d...

Registry SourceRecently Updated
1170Profile unavailable
General

Obsidian Bases (kepano)

Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries. Use when working with .base files, creating database-like views of...

Registry SourceRecently Updated
1440Profile unavailable
Coding

Obsidian WSL

通过 notesmd-cli 操作 Obsidian 知识库 — 搜索、创建、编辑、移动、删除笔记及管理 frontmatter,无需 Obsidian 运行。

Registry Source
1560Profile unavailable