← 返回 Skills 市场
dmanock

Obsidian Vault Integration

作者 dmanock · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ✓ 安全检测通过
278
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install 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, te...
使用说明 (SKILL.md)

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 \x3Cvault-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 \x3Cvault-path> --file open-questions.md --action add-task --title "New task" --priority important --owner Dave

Mark a task done

python scripts/vault-write.py \x3Cvault-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

Code Meaning Recovery
ERR_VAULT_NOT_FOUND Vault path doesn't exist Check OBSIDIAN_VAULT_PATH or AGENTS.md
ERR_FILE_NOT_FOUND Requested file not found Run discovery to find by metadata
ERR_PARSE_FAILED Malformed markdown Return partial data with warning
ERR_CONFLICT File changed since last read Re-read, resolve manually

Safety

  • All writes are logged to \x3Cvault>/.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
安全使用建议
This skill appears to do what it says: read and update markdown files in a local Obsidian vault. Before installing, check these points: (1) Confirm what default path your agent would use (AGENTS.md) so the skill won't be pointed at a sensitive directory by accident; explicitly set OBSIDIAN_VAULT_PATH to the correct vault. (2) If you run multiple agents and want access control, note SKILL.md's 'Solo mode' is the default — there is no enforced per-agent permissioning yet. (3) AGENT_NAME is used for audit logging but isn't declared in metadata; if you rely on accurate agent attribution, set AGENT_NAME in the environment. (4) No network calls or secrets are requested by the code, but review and test the scripts in a sandboxed vault if you want to be extra cautious. If you need stronger guarantees (e.g., prevent accidental access to non‑vault files), consider running the scripts under a restricted account or container whose filesystem is limited to the intended vault path.
功能分析
Type: OpenClaw Skill Name: obsidian-vault-integration Version: 1.0.3 The bundle provides legitimate integration with an Obsidian vault for knowledge management. The Python scripts (vault-read.py and vault-write.py) handle file operations safely using path validation, atomic writes, and basic conflict detection. No evidence of data exfiltration, remote execution, or malicious prompt injection was found.
能力评估
Purpose & Capability
Name/description match the included scripts (vault-read.py, vault-write.py) which read and modify markdown files in a local Obsidian vault. Minor mismatch: SKILL.md documents and uses OBSIDIAN_VAULT_PATH (and references a default in AGENTS.md) and the scripts reference AGENT_NAME for audit logging, yet the registry metadata lists no required env vars and AGENT_NAME is not declared—this is a small documentation/configuration inconsistency but not evidence of malicious intent.
Instruction Scope
Runtime instructions and scripts operate purely on local files under the vault path: discovery (vault.rglob('*.md')), parsing frontmatter, extracting tasks/team sections, and safe writes with conflict detection and an audit log in <vault>/.vault-audit.log. There is no network I/O, no attempts to read unrelated system configuration, and no exfiltration endpoints. Note: because the vault path is supplied (or taken from a default), if that path is misconfigured to a sensitive location the scripts will operate on whatever markdown files exist there.
Install Mechanism
No install spec — instruction-only with bundled scripts. Nothing is downloaded or written to system locations by an installer. The scripts rely on standard Python and an optional 'frontmatter' package if installed.
Credentials
The skill does not request credentials or secrets. It uses OBSIDIAN_VAULT_PATH (documented in SKILL.md but not listed as a required env var in registry metadata) and reads AGENT_NAME for audit entries if present; neither variable is sensitive by design. Ensure the vault path is restricted to the intended vault; otherwise the skill can read/write any markdown under that path.
Persistence & Privilege
always:false and model invocation is allowed (default) — normal for a user-invocable skill. The skill does not request permanent system-wide presence or modify other skills/configurations. Writes are constrained to files under the given vault and to a local audit log file inside the vault.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install obsidian-vault-integration
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /obsidian-vault-integration 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
- Added SVG logo asset at assets/logo.svg. - Updated SKILL.md to include structured metadata for environment variables.
v1.0.2
Version 1.0.2 of obsidian-vault-integration - No file changes detected in this release. - Functionality, configuration, and usage remain unchanged from previous version.
v1.0.1
- Removed unnecessary files: assets/package-lock.json, assets/package.json, and description.txt. - Clarified environment variable usage in documentation (added explicit description of OBSIDIAN_VAULT_PATH). - No functional code changes; updates are documentation and cleanup only.
v1.0.0
obsidian-vault-integration 1.0.0 - Initial release integrates agents with an Obsidian vault as a shared knowledge base. - Supports reading and writing vault files for business plans, tasks, milestones, and team info. - Enables file discovery by frontmatter type, filename pattern, or full-text search. - Includes scripts for reading (`vault-read.py`) and writing (`vault-write.py`) with safety checks. - Provides error handling codes and automatic write logging for traceability. - Solo mode (default) gives all agents full access; team mode permissions coming in future versions.
元数据
Slug obsidian-vault-integration
版本 1.0.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

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, te... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 278 次。

如何安装 Obsidian Vault Integration?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install obsidian-vault-integration」即可一键安装,无需额外配置。

Obsidian Vault Integration 是免费的吗?

是的,Obsidian Vault Integration 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Obsidian Vault Integration 支持哪些平台?

Obsidian Vault Integration 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Obsidian Vault Integration?

由 dmanock(@dmanock)开发并维护,当前版本 v1.0.3。

💬 留言讨论