← Browse

@devcxl/obsidian-vault

A

在 Obsidian 知识库中搜索、创建和管理笔记,支持 wikilinks 和索引笔记。当用户想要在 Obsidian 中查找、创建或组织笔记时使用。

skillclaude

Install

agr install @devcxl/obsidian-vault --target claude

Writes 1 file into .claude/skills/, pinned to git-5841a078.

  • .claude/skills/obsidian-vault/SKILL.md

Document


name: obsidian-vault description: 在 Obsidian 知识库中搜索、创建和管理笔记,支持 wikilinks 和索引笔记。当用户想要在 Obsidian 中查找、创建或组织笔记时使用。

Obsidian 知识库

知识库位置

/mnt/d/Obsidian Vault/AI Research/

大部分笔记平铺在根层级。

命名规范

  • 索引笔记(Index notes):汇总相关主题(例如 Ralph Wiggum Index.mdSkills Index.mdRAG Index.md
  • 所有笔记名称使用标题大小写(Title Case)
  • 不使用文件夹来组织——而是使用链接和索引笔记

链接

  • 使用 Obsidian 的 [[wikilinks]] 语法:[[Note Title]]
  • 笔记在底部链接到依赖项/相关笔记
  • 索引笔记就是 [[wikilinks]] 的列表

工作流程

搜索笔记

# 按文件名搜索
find "/mnt/d/Obsidian Vault/AI Research/" -name "*.md" | grep -i "keyword"

# 按内容搜索
grep -rl "keyword" "/mnt/d/Obsidian Vault/AI Research/" --include="*.md"

或者直接对知识库路径使用 Grep/Glob 工具。

创建新笔记

  1. 文件名使用标题大小写(Title Case)
  2. 按照知识库规则,以"学习单元"的形式编写内容
  3. 在底部添加指向相关笔记的 [[wikilinks]]
  4. 如果是编号序列的一部分,使用层级编号方案

查找相关笔记

在整个知识库中搜索 [[Note Title]] 以查找反向链接:

grep -rl "\\[\\[Note Title\\]\\]" "/mnt/d/Obsidian Vault/AI Research/"

查找索引笔记

find "/mnt/d/Obsidian Vault/AI Research/" -name "*Index*"

Trustgrade A

  • passBody integrity

    Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.

  • passType matchnot applicable to this artifact type

    Whether the artifact is really the kind of thing its metadata claims it is.

  • passFreshness

    How long since the source repository was last pushed to.

  • passPrompt injection

    Scans the artifact's own text for instructions aimed at your agent rather than at you.

  • passLicense

    Whether the source repository declares an SPDX license permissive enough to redistribute.

How the grade is calculated

Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:

  • Aevery check passed
  • Bone warning
  • Ctwo warnings
  • Dprompt injection or body integrity failed, or three warnings
  • Fone of those failed, and something else is wrong

These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.

Versions

  • git-5841a07835632026-07-31