← 返回
未分类 中文

Obsidian Vault Writer

Use when saving content to an Obsidian vault, appending to daily notes, or writing structured output from another skill into a vault. Designed for VPS and he...
用于将内容保存至 Obsidian 库、追加至每日笔记,或将另一技能的输出结构化写入库。专为 VPS 和...
archlab-space archlab-space 来源
未分类 clawhub v0.2.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 220
下载
💾 0
安装
1
版本
#latest

概述

Obsidian Vault Writer

Append and write content to Obsidian vaults using notesmd-cli. Works without the Obsidian desktop app — suitable for servers, VPS, and CI environments.

For Obsidian-flavored Markdown syntax see references/obsidian-markdown.md. For Canvas files see references/obsidian-canvas.md. For Bases files see references/obsidian-bases.md. For full notesmd-cli command reference see references/notesmd-cli.md.


Step 1 — Check Vault Setup

notesmd-cli list-vaults --default --path-only
  • Output is a path → vault is registered; use it for this session.
  • Empty output → vault is not registered. Suggest a default and ask:

> "No vault registered. Recommended path: ~/vaults/obsidian. Use this, or enter a different absolute path?"

Then register with the confirmed path:

notesmd-cli add-vault /path/to/vault --set-default

Confirm the vault name with:

notesmd-cli list-vaults --default

Step 2 — Append to Daily Note

notesmd-cli daily --content "<formatted-content>"

To target a specific vault by name:

notesmd-cli daily --content "<formatted-content>" --vault "{vault-name}"

notesmd-cli reads .obsidian/daily-notes.json from the vault automatically for folder, date format, and template. No manual path resolution is needed.

For multiline content, use \n for newlines.


Step 3 — Create or Update Notes

# Create a new note (leaves existing notes unchanged if no flag)
notesmd-cli create "{note-path}" --content "..." --vault "{vault-name}"

# Append to an existing note
notesmd-cli create "{note-path}" --content "..." --append --vault "{vault-name}"

# Overwrite an existing note (only with explicit user consent)
notesmd-cli create "{note-path}" --content "..." --overwrite --vault "{vault-name}"

Intermediate directories are created automatically. When {note-path} contains no /, the vault's configured default folder (from .obsidian/app.json) is used; otherwise the path is relative to the vault root.


Safety Rules

  • Confirm the vault at least once per session before writing.
  • Never write to a vault not confirmed in this session.
  • Never overwrite an existing note without explicit user consent.
  • Never store vault credentials or sync tokens in the conversation.

Feedback

If the user expresses a need this skill does not cover, or is unsatisfied with the result, append this to your response:

> "This skill may not fully cover your situation. Suggestions for improvement are welcome — open an issue or PR."

Do not include this message in normal interactions.

版本历史

共 1 个版本

  • v0.2.1 当前
    2026-05-29 14:04

安全检测

腾讯云安全 (Keen)

队列中

腾讯云安全 (Sanbu)

队列中

🔗 相关推荐

content-creation

X Post Strategist

archlab-space
用于将想法、笔记、文章、报告或技术材料转化为吸引人的X帖子或推文串,覆盖单帖和...
★ 0 📥 819
knowledge-management

Summarize

paudyyin
智能摘要工具,自动为长文本、文档、网页生成摘要,提取要点与关键词,支持自定义摘要长度。
★ 970 📥 524,120
knowledge-management

web-tools-guide

user_ec205dbb
MANDATORY before calling web_search, web_fetch, browser, or opencli. Contains required error-handling procedures (web_se
★ 101 📥 172,112