← 返回
未分类 中文

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...
在 Windows 上存储 Obsidian 库,并通过 WSL 访问。直接通过挂载路径(如 /mn...)读取、搜索、创建和编辑 Markdown 笔记。
wufei-png wufei-png 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 1
Stars
📥 417
下载
💾 8
安装
1
版本
#latest

概述

Obsidian Vault (WSL)

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

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\\Documents\\
  • Windows: D:\Notes\\
  • WSL: /mnt/c/Users//Documents//
  • WSL: /mnt/d/Notes//

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

Path Translation

Windows -> WSL: C:\path\to\file -> /mnt/c/path/to/file
Windows -> WSL: D:\path\to\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/.

Common Operations

Read a note

cat "/mnt/<drive>/<vault>/<path>/<filename>.md"

Search the vault

Prefer rg for speed:

rg "search term" "/mnt/<drive>/<vault>/"

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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-31 02:08 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

knowledge-management

Obsidian

steipete
操作 Obsidian 仓库(纯 Markdown 笔记)并通过 obsidian-cli 自动化。
★ 451 📥 106,077
dev-programming

opencode-session-reader-cn

wufei-png
读取本地 OpenCode SQLite数据库,执行跨目录会话查询,支持会话检索、消息查看及 schema 检查。
★ 0 📥 478
knowledge-management

web-tools-guide

user_ec205dbb
MANDATORY before calling web_search, web_fetch, browser, or opencli. Contains required error-handling procedures (web_se
★ 98 📥 171,047