← 返回 Skills 市场
wufei-png

obsidian-wsl-vault-access

作者 Wu Fei · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
147
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install obsidian-wsl-vault-access
功能描述
Work with an Obsidian vault stored on Windows and accessed from WSL. Read, search, create, and edit markdown notes directly through mounted paths such as /mn...
使用说明 (SKILL.md)

Obsidian Vault (WSL)

Use this skill when the vault lives on Windows but is being accessed from WSL through /mnt/\x3Cdrive>.

Workflow

  1. Identify the vault root from the user-provided path before doing broad searches or edits.
  2. Operate on the filesystem path directly; Obsidian does not require a special API for normal note work.
  3. Preserve existing frontmatter, wiki-links, embeds, headings, and folder structure unless the user asks to change them.

Vault Location

Do not assume a fixed vault path.

Common patterns:

  • Windows: C:\Users\\x3Cuser>\Documents\\x3Cvault>\
  • Windows: D:\Notes\\x3Cvault>\
  • WSL: /mnt/c/Users/\x3Cuser>/Documents/\x3Cvault>/
  • WSL: /mnt/d/Notes/\x3Cvault>/

Treat the vault root as the directory containing the Obsidian note tree.

Path Translation

Windows -> WSL: C:\path	o\file -> /mnt/c/path/to/file
Windows -> WSL: D:\path	o\file -> /mnt/d/path/to/file
WSL -> Windows: /mnt/c/path     -> C:/path
WSL -> Windows: /mnt/d/path     -> D:/path

Replace backslashes with forward slashes and lowercase the drive letter under /mnt/\x3Cdrive>.

Common Operations

Read a note

cat "/mnt/\x3Cdrive>/\x3Cvault>/\x3Cpath>/\x3Cfilename>.md"

Search the vault

Prefer rg for speed:

rg "search term" "/mnt/\x3Cdrive>/\x3Cvault>/"

Edit a note

Edit the markdown file in place with targeted changes instead of rewriting the whole note when possible.

Create a new note

Use a minimal template when metadata is needed:

---
title: Note Title
tags: []
---

# Note Title

Obsidian Conventions

  • Notes are markdown files ending in .md
  • YAML frontmatter is commonly used for metadata such as title, tags, and aliases
  • Internal links use [[Note Name]]
  • Embeds use ![[Note Name]]
  • Callouts use > [!type]

Working Rules

  • Confirm the vault root before making broad searches or bulk changes
  • Prefer targeted edits over full-file rewrites
  • Keep filenames, wiki-links, and folder structure consistent with the existing vault
安全使用建议
This instruction-only skill is coherent for editing an Obsidian vault from WSL, but be aware it operates directly on your mounted Windows filesystem. Before using: (1) confirm the exact vault root path the agent will operate on; (2) make a backup or test on a copy before running bulk or automated edits; (3) require explicit confirmation for any write/bulk-change actions; (4) install ripgrep (rg) if you want the fast search behavior the skill suggests; (5) remember a misidentified path could allow reading or modifying other Windows files — restrict the agent's actions or review edits if you need tighter control.
功能分析
Type: OpenClaw Skill Name: obsidian-wsl-vault-access Version: 1.0.0 The skill provides instructions for an AI agent to manage Obsidian notes stored on Windows via WSL. It uses standard filesystem commands like cat and rg for reading and searching markdown files and includes helpful path translation logic. No malicious or suspicious behaviors were identified in SKILL.md or _meta.json.
能力评估
Purpose & Capability
Name, description, and runtime instructions align: the skill explains how to locate and operate on a vault via /mnt/<drive> paths and suggests common file operations. It does not request unrelated credentials, binaries, or installs.
Instruction Scope
SKILL.md confines actions to filesystem operations on the identified vault and recommends confirming the vault root before broad changes. Minor concern: the instructions rely on correct path identification and user/agent discipline — if the agent is given an incorrect path it could read or modify arbitrary files on the mounted Windows drives. The doc does recommend confirming root and preferring targeted edits.
Install Mechanism
No install spec or code files are present (instruction-only), so nothing is downloaded or written by the skill itself.
Credentials
The skill requests no environment variables or credentials. It implicitly requires access to the host filesystem (/mnt/*), which is appropriate for the stated purpose. It suggests using 'rg' for searches but does not declare it as a required binary — this is a usability note rather than a security mismatch.
Persistence & Privilege
The skill is not marked always:true and does not request persistent system-level privileges or modify other skills' configs. Autonomous invocation is allowed by platform default but not uniquely elevated here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install obsidian-wsl-vault-access
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /obsidian-wsl-vault-access 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of Obsidian WSL Vault Access: - Enables reading, searching, creating, and editing Obsidian markdown notes stored on Windows and accessed from WSL via /mnt/<drive> paths. - Provides clear guidelines for path translation and handling of vault root discovery. - Preserves Obsidian conventions including frontmatter, wiki-links, embeds, and folder structure. - Supports common note operations via direct filesystem access from WSL. - Includes best practices for safe editing and vault consistency.
元数据
Slug obsidian-wsl-vault-access
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

obsidian-wsl-vault-access 是什么?

Work with an Obsidian vault stored on Windows and accessed from WSL. Read, search, create, and edit markdown notes directly through mounted paths such as /mn... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 147 次。

如何安装 obsidian-wsl-vault-access?

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

obsidian-wsl-vault-access 是免费的吗?

是的,obsidian-wsl-vault-access 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

obsidian-wsl-vault-access 支持哪些平台?

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

谁开发了 obsidian-wsl-vault-access?

由 Wu Fei(@wufei-png)开发并维护,当前版本 v1.0.0。

💬 留言讨论