Token导航 LogoToken导航

Agent Skill · 研究检索

doc-vault-save(文档库保存)

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

doc-vault-save 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 46,340。

总安装 784周安装 33GitHub Stars 公开资料未说明下载 275核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

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

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于将对话中结构化内容持久化至 Obsidian 知识库。自动检测内容类型、生成 frontmatter、路由文件夹并防重保存。支持 wikilink 注入与重新索引,保持知识网络连通。仅保存已有对话内容,不涉及主动研究或外部数据获取。

doc-vault-save 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/doc-vault-save

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/molechowski/claude-skills --skill doc-vault-sa…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

doc-vault-save 怎么安装?

在终端执行 npx skills add https://github.com/molechowski/claude-skills --skill doc-vault-save。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

doc-vault-save 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

doc-vault-save 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/molechowski/claude-skills --skill doc-vault-save 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

doc-vault-save 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

doc-vault-save 用的人多吗?

公开数据是累计安装 784 次,近一周安装 33 次,下载 275 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

doc-vault-save 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
doc-vault-save

文档库保存 · 本页

784—执行命令未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Vault Save

Persist structured content from conversation to an Obsidian vault. Handles content detection, frontmatter generation, folder routing, deduplication, wikilink injection, and re-indexing.

This skill does NOT do research. It only persists content already in the conversation.

Prerequisites

SkillRequiredPurpose
doc-obsidianYesVault CRUD via notesmd-cli + search via qmd

Workflow

Step 0: Setup → Step 1: Detect Content → Step 2: Name & Route → Step 3: Dedup Check → Step 4: Build Note → Step 5: Save → Step 6: Wikilinks → Step 7: Re-index & Confirm

Step 0: Setup

Run before every save:

# 1. Vault path (MANDATORY)
VAULT=$(notesmd-cli print-default --path-only)

# 2. Verify qmd available
qmd status

If either fails, stop and tell the user to set up doc-obsidian first.

Step 1: Detect Content Type

Examine conversation context. Use the FIRST matching rule:

TypeDetectionSignals
res-deepHas header with Framework: field, has Research Statistics footerCOMPARISON / LANDSCAPE / DEEP_DIVE / DECISION
res-price-compareHas price tables with PLN/EUR, has TOP 3 or PURCHASE RECOMMENDATIONShop comparison tables, warranty analysis
genericEverything elseUser-provided text, pasted content, dictated notes

Explicit override: User can force type with "save as research", "save as price comparison", "save as note".

Step 2: Name & Route

Note Naming

TypePatternExample
res-deep{topic-slug} from Topic fieldagent-swarms-hardware-decision
res-price-compare{product-slug}-pricingmac-studio-m4-max-128gb-pricing
generic{topic-slug} from first heading or user instructionkubernetes-setup-notes

Rules: kebab-case, lowercase, no special characters, max 60 chars. If user specifies a name, use it.

Folder Routing

TypeDefault FolderOverride
res-deepresearch/"save to {folder}"
res-price-compareresearch/"save to {folder}"
genericvault root"save to {folder}"

Load references/folder-routing.md for customization and sub-routing rules.

Confirm Before Saving

Save: research/agent-swarms-hardware-decision
Type: res-deep (DECISION framework)
Proceed? [Y / change name / change folder]

Skip confirmation if user already specified name and location.

Step 3: Dedup Check

# Keyword search on the topic
qmd search "{topic}" --json -n 5

# Check exact name match
notesmd-cli print "{folder}/{note-name}" 2>/dev/null

Decision Matrix

Existing NoteAction
No matchCreate new → Step 4
Exact name matchAsk: overwrite / append / create with suffix (-2, -3)
Similar topic, different nameShow matches, ask: create alongside / overwrite existing / append to existing

Show found notes with dates so user can judge recency:

Found existing notes on this topic:
1. research/agent-swarms-analysis (2026-02-20, 43 sources)
2. research/ai-agents-hardware (2026-02-15, 28 sources)
Action: [create new / overwrite #1 / append to #1 / cancel]

Step 4: Build Note

Frontmatter

Load references/frontmatter-schemas.md for full schemas. Summary:

res-deep:

---
type: research
topic: {Topic from header}
date: {YYYY-MM-DD}
sources: {N}
framework: {comparison|landscape|deep-dive|decision}
depth: {quick|default|deep}
status: complete
tags: [{domain-tags}, research]
---

Use type: decision when framework is DECISION.

res-price-compare:

---
type: price-comparison
product: {Full product name}
date: {YYYY-MM-DD}
market: pl
status: complete
tags: [{product-category}, price-comparison]
---

generic:

---
type: note
topic: {From heading or user input}
date: {YYYY-MM-DD}
status: draft
tags: [{auto-derived}]
---

Tag Generation

Auto-derive 2-5 tags:

  1. Content type tag: research, price-comparison, or note
  2. Domain tags: key nouns from topic (e.g., ai, agents, hardware)
  3. User-specified tags if provided

Body Construction

res-deep: Strip the YAML-like header block (Framework:/Topic:/Depth:/Sources:/Date: lines) — that data moves to proper frontmatter. Keep everything else.

res-price-compare: Keep full report body. Strip any file-export artifacts.

generic: Use content as-is. Add # {Topic} if no heading exists.

Step 5: Save

Create Mode (default)

notesmd-cli create "{folder}/{note-name}" --content "{frontmatter + body}" --overwrite

Use --overwrite only after Step 3 confirmed no conflict or user approved.

Append Mode

notesmd-cli create "{folder}/{note-name}" --content "\n\n---\n\n## Update: {YYYY-MM-DD}\n\n{new content}" --append

Update Mode (surgical edit)

For updating a specific section of an existing note:

# 1. Read current note
notesmd-cli print "{folder}/{note-name}"

# 2. Edit via vault path
VAULT=$(notesmd-cli print-default --path-only)
# Use Edit tool on "$VAULT/{folder}/{note-name}.md"

Large Content Fallback

If content exceeds ~100KB, notesmd-cli create --content may hit shell argument limits. Use the Write tool directly:

VAULT=$(notesmd-cli print-default --path-only)
# Write tool → "$VAULT/{folder}/{note-name}.md"

Update Date After Save

notesmd-cli fm "{folder}/{note-name}" --edit --key "date" --value "{YYYY-MM-DD}"

Step 6: Wikilinks

Find related notes and add a Related: block after frontmatter.

Find Related

qmd vsearch "{topic}" --json -n 10

Filter: exclude the note just saved, exclude score < 0.3, keep top 3-5.

Insert Related Line

After frontmatter closing ---, before first # heading:

Related: [[note-a]] | [[note-b]] | [[note-c]]

If the note already has a Related: line, replace it (don't duplicate).

Implementation

notesmd-cli print "{folder}/{note-name}"
VAULT=$(notesmd-cli print-default --path-only)
# Use Edit tool to insert/replace Related line

Step 7: Re-index & Confirm

qmd update && qmd embed

Confirmation Output

Saved: [[{note-name}]]
Path: {folder}/{note-name}
Type: {type}
Tags: {tags}
Related: [[note-a]], [[note-b]], [[note-c]]
Vault re-indexed: Yes

Modes

ModeTriggerBehavior
save (default)"save to vault", "vault save"Full workflow: Steps 0-7
quick"quick save", "save, no dedup"Skip Steps 3 + 6 (no dedup, no wikilinks)
update"update vault note", "add to existing"Surgical edit of existing note (Step 5 update mode)
dry-run"where would this go?", "preview save"Show name, folder, frontmatter, related notes — no save

Constraints

DO:

  • Always run Step 0 first
  • Always detect content type before building frontmatter
  • Always check for duplicates before creating (unless quick mode)
  • Always re-index after saving
  • Resolve vault path dynamically via notesmd-cli print-default --path-only
  • Present name + folder for user approval before saving
  • Read notes before editing — never guess content

DON'T:

  • Do research — this skill only persists content
  • Hardcode vault paths
  • Create notes without frontmatter
  • Skip dedup check (unless quick mode)
  • Duplicate what doc-daily-digest does
  • Modify notes from other skills without user approval
  • Save empty or stub notes

References

  • references/frontmatter-schemas.md — Full schemas per content type, field extraction rules, tag generation, validation
  • references/folder-routing.md — Routing rules, user overrides, sub-routing, conflict resolution

平台分布

Codex

37.69%
按下载量换算104

Claude

31.34%
按下载量换算86

Cursor

18.33%
按下载量换算50

Gemini CLI

10.5%
按下载量换算29

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/molechowski/claude-skills --skill doc-vault-save 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

继续浏览同类 Skills