Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

doc-obsidianDOC Obsidian 搜索

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

824

周安装

34

GitHub Stars

公开资料未说明

下载量

269
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:doc-obsidian(DOC Obsidian 搜索)
来源仓库:https://github.com/molechowski/claude-skills
仓库路径:skills/doc-obsidian
安装命令:
npx skills add https://github.com/molechowski/claude-skills --skill doc-obsidian
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/molechowski/claude-skills --skill doc-obsidian

简介

提供基于 Obsidian 知识库的文档搜索与管理支持。

  • 适合在本地 Markdown 笔记库中进行关键词、语义或混合检索。
  • 可执行笔记增删改查、链接追踪及 frontmatter 维护操作。
  • 依赖 qmd 和 notesmd-cli 工具链,首次使用前需完成索引配置。
  • doc-obsidian 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Obsidian Vault Management

Unified vault operations using two CLI tools. No Obsidian app required.

ToolRoleInstall
doc-qmdSearch (keyword, semantic, hybrid)npm i -g @anthropic/qmd or check which qmd
doc-notesmdCRUD, move, frontmatter, daily notes, backlinksbrew install yakitrak/yakitrak/notesmd-cli

Setup

First-Time Setup

# 1. Set default vault for notesmd-cli
notesmd-cli set-default "VaultName"

# 2. Index vault in qmd
qmd collection add ~/path/to/vault --name vault --mask "**/*.md"
qmd embed    # generate vector embeddings for semantic search

Verify

notesmd-cli print-default    # shows vault name + path
qmd status                   # shows indexed docs + embedding status

Keep Index Fresh

qmd update       # re-index changed files
qmd embed        # embed new/changed docs

Tool Selection

TaskToolCommand
Search by keywordqmdqmd search "term"
Search by meaningqmdqmd vsearch "conceptual question"
Best search qualityqmdqmd query "complex question"
Create notenotesmd-clinotesmd-cli create "name" --content "text"
Append to notenotesmd-clinotesmd-cli create "name" --content "text" --append
Read notenotesmd-clinotesmd-cli print "name"
Partial editnotesmd-cli + EditRead with print, edit via vault path + Edit tool
Move/renamenotesmd-clinotesmd-cli move "old" "new" (updates all links)
Delete notenotesmd-clinotesmd-cli delete "name" (permanent, no trash)
Daily notenotesmd-clinotesmd-cli daily
Frontmatternotesmd-clinotesmd-cli fm "name" --print / --edit / --delete
Backlinksnotesmd-clinotesmd-cli print "name" --mentions
List filesnotesmd-clinotesmd-cli list [path]
Recently modifiedqmdqmd ls vault (sorted by date, includes size)
Get documentqmdqmd get vault/note.md
Batch retrieveqmdqmd multi-get "folder/*.md" --json

Search Workflows

Quick Lookup (keyword)

qmd search "authentication" -n 10
qmd search "authentication" --json      # structured output
qmd search "authentication" --md        # markdown for LLM context

Conceptual Search (semantic)

qmd vsearch "how do we handle user sessions"
qmd vsearch "error recovery patterns" --json -n 5

Deep Search (hybrid -- best quality)

qmd query "what decisions did we make about the API design?"
qmd query "deployment strategy" --full   # full document content

Search + Read Pattern

# Find relevant notes, then read full content
qmd search "auth" --json -n 3    # find candidates
notesmd-cli print "auth-design"  # read the one you need

Note CRUD

Create

notesmd-cli create "project/meeting-notes" --content "# Meeting\n\n## Agenda\n"
notesmd-cli create "inbox" --content "\n- New thought" --append
notesmd-cli create "scratch" --content "Replaced" --overwrite

--append and --overwrite are mutually exclusive. Without either, existing files are unchanged.

Content supports escape sequences: \n, \t, \r, \\, \", \'.

Read

notesmd-cli print "architecture"                # raw content to stdout
notesmd-cli print "architecture" --mentions      # with backlinks appended
qmd get vault/architecture.md                    # via qmd (by indexed path)

Move/Rename (with link updates)

notesmd-cli move "drafts/post" "published/post"

All [[wikilinks]] and [markdown](links) across the vault are updated automatically.

Partial Edit (surgical updates)

notesmd-cli has no partial edit — only --append and --overwrite. For surgical changes (replace a section, update a table row, fix a line), use this workflow:

# 1. Get vault path
VAULT=$(notesmd-cli print-default --path-only)

# 2. Read the note
notesmd-cli print "note-name"

# 3. Edit in place using the Edit tool with the full file path:
#    "$VAULT/path/to/note.md"

Rules:

  • ALWAYS read with notesmd-cli print first — never guess content
  • ALWAYS resolve the vault path via notesmd-cli print-default --path-only
  • NEVER hardcode the vault path
  • Use the Edit tool for targeted string replacement, not sed or awk
  • For full rewrites, prefer notesmd-cli create --overwrite instead

Delete

notesmd-cli delete "scratch-note"    # permanent, no undo

Does NOT update links in other files referencing the deleted note.

Daily Notes

notesmd-cli daily              # create/open today's note
notesmd-cli daily --editor     # open in $EDITOR

Reads .obsidian/daily-notes.json for folder, date format (Moment.js), and template. Template content is applied only when creating a new note.

Append to Daily Note

DATE=$(date '+%Y-%m-%d')
notesmd-cli create "$DATE" --content "\n- $(date '+%H:%M') Task completed" --append

Templates

notesmd-cli does not have a --template flag. Templates are plain markdown files stored in meta/templates/ — create them once, reuse via cp.

Create Templates

notesmd-cli create "meta/templates/meeting" --content "# Meeting Notes\n\n**Date:** \n**Attendees:** \n\n## Agenda\n\n## Discussion\n\n## Action Items\n\n- [ ] "

notesmd-cli create "meta/templates/project" --content "# Project Name\n\n## Overview\n\n## Goals\n\n## Timeline\n\n## Status\n"

notesmd-cli create "meta/templates/decision" --content "# Decision: \n\n## Context\n\n## Options\n\n## Decision\n\n## Rationale\n\n## Consequences\n"

Create Note from Template

VAULT=$(notesmd-cli print-default --path-only)
cp "$VAULT/meta/templates/meeting.md" "$VAULT/meetings/$(date +%Y-%m-%d).md"

Daily note templates are handled automatically — configure in .obsidian/daily-notes.json with a template field pointing to the template note path.

Frontmatter

notesmd-cli fm "note" --print
notesmd-cli fm "note" --edit --key "status" --value "done"
notesmd-cli fm "note" --edit --key "tags" --value "[cli,tools]"
notesmd-cli fm "note" --delete --key "draft"

Type inference: true/false -> boolean, [a,b] -> array, else string.

AI Agent Memory

Use the vault as persistent memory for Claude Code or other AI agents.

Store Knowledge

notesmd-cli create "memory/session-$(date +%Y%m%d)" \
  --content "# Session Notes\n\n## Learnings\n- Key insight here" \
  --overwrite

Retrieve Context

# Semantic search for relevant memories
qmd vsearch "how did we solve the caching issue" --md -n 5

# Hybrid search for best results
qmd query "authentication architecture decisions" --full -n 3

Append Learnings

notesmd-cli create "memory/patterns" \
  --content "\n\n## $(date '+%Y-%m-%d')\n- New pattern discovered" \
  --append

Build LLM Context

# Get structured results for injection into prompts
qmd search "relevant topic" --json -n 10
qmd multi-get "memory/*.md" --json --max-bytes 20480

For detailed search patterns and agent memory workflows, see:

  • references/search.md -- qmd search modes, output formats, score interpretation
  • references/agent-memory.md -- Memory organization, retrieval patterns, automation

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.1%
按下载量换算89

Claude

30.2%
按下载量换算81

Cursor

18.2%
按下载量换算49

Gemini CLI

9.41%
按下载量换算25

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills