/install obsidian-vault-context
Obsidian Vault Context
The vault is the interface. Not chat. Not a terminal. A shared folder of markdown files that both you and the user can see and edit. Treat it like a shared codebase, not a reference library.
Session Startup
- Read
_context/context-map.mdif it exists — it maps projects to source files. - If no context map, scan top-level folders and infer context from names.
- Read
_context/status.mdto understand what's active, blocked, and completed. - If this is a fresh vault with no orchestration files, create them. See
references/orchestration-files.mdfor templates.
Orchestration Files
Lightweight .md files in _context/ (or _Claude/) that give you persistent state across sessions.
| File | Purpose |
|---|---|
status.md |
What's active, blocked, completed. Update every session. |
tasks.md |
Prioritized task list with #tags. Update when tasks change. |
decisions.md |
Decision log with context, options, rationale. Append-only. |
context-map.md |
Project-to-file index (optional). |
scratchpad.md |
Working memory, cleared daily (optional). |
learnings.md |
Operational knowledge across sessions (optional). |
Rules: Read before writing. Update immediately, not at session end. Append to decisions and learnings, never overwrite. Keep entries lean — one line per task, one paragraph per decision.
For detailed format and examples, see references/orchestration-files.md.
Vault Navigation
Folder placement carries meaning. Respect the structure when creating files:
| Pattern | Meaning |
|---|---|
foundations/ or core/ |
Strategy, vision, frameworks |
product/ |
Specs, features, sprints, architecture |
company/ or business/ |
Operations, legal, marketing, hiring |
research/ or engine/ |
Technical research, analysis |
journal/ |
Session logs, daily notes, reviews |
decisions/ |
Past decisions with rationale |
work/ |
Agent output: drafts, research, deliverables |
archive/ |
Superseded files (read-only reference) |
Use [[wikilinks]] for all cross-references so the user can click through in Obsidian.
For a recommended starter layout, see references/vault-structure-template.md.
Output Routing
Save work to the vault so the user sees it in Obsidian — don't present everything in chat.
| Output | Save To |
|---|---|
| Research briefs | work/research/ or research/ |
| Drafts | work/drafts/ or drafts/ |
| Final deliverables | work/output/ or output/ |
| Quick notes | _context/scratchpad.md (append) |
Add YAML frontmatter (title, type, status, created, updated, tags) to any file that will be referenced again.
Naming: Use descriptive file names (competitor-analysis-march-2026.md), not generic ones (output-1.md). Always update status.md so the user knows what changed.
Bidirectional Collaboration
When Obsidian Headless is configured, changes flow both ways:
- User -> Agent: User edits in Obsidian (Mac/iPhone/iPad), syncs to server, you read the update.
- Agent -> User: You write to the vault, syncs to all user devices.
This means neither party needs to explain what the other already wrote down. You write output to the vault. The user reads it in Obsidian. Both can work on the same document asynchronously.
For server sync setup, see references/obsidian-headless-setup.md.
Boundaries
- Read and write only within the vault directory. Do not access files outside the vault root.
- Never modify skill files, agent config, or workflow definitions unless the user explicitly asks you to. Your workspace is
_context/andwork/— not the files that define your own behavior. - Treat
company/legal/as read-only. Do not create, edit, or delete files in legal directories. - Do not store or log credentials. If a workflow requires authentication, defer to the user.
Context Safety
If context compaction triggers mid-session, write working state to disk immediately:
- Current progress ->
_context/scratchpad.md - State changes ->
_context/status.md
These files reconstitute the session after compaction.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install obsidian-vault-context - 安装完成后,直接呼叫该 Skill 的名称或使用
/obsidian-vault-context触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Obsidian Vault Context 是什么?
Teach Claude to use an Obsidian vault as a shared workspace with persistent state across sessions. Covers vault navigation, orchestration file management, ou... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 132 次。
如何安装 Obsidian Vault Context?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install obsidian-vault-context」即可一键安装,无需额外配置。
Obsidian Vault Context 是免费的吗?
是的,Obsidian Vault Context 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Obsidian Vault Context 支持哪些平台?
Obsidian Vault Context 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Obsidian Vault Context?
由 Tristin E(@tesfandiari1)开发并维护,当前版本 v1.0.1。