← 返回 Skills 市场
bassshang

Obsidian via notesmd-cli (obsidian-cli)

作者 BassShang · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
2378
总下载
3
收藏
18
当前安装
1
版本数
在 OpenClaw 中安装
/install obsidian-notesmd-cli
功能描述
Work with Obsidian vaults (plain Markdown notes) and automate via notesmd-cli.
使用说明 (SKILL.md)

\r \r

Obsidian\r

\r Obsidian vault = a normal folder on disk.\r \r Vault structure (typical)\r

  • Notes: *.md (plain text Markdown; edit with any editor)\r
  • Config: .obsidian/ (workspace + plugin settings; usually don’t touch from scripts)\r
  • Canvases: *.canvas (JSON)\r
  • Attachments: whatever folder you chose in Obsidian settings (images/PDFs/etc.)\r \r

Find the active vault(s)\r

\r Obsidian desktop tracks vaults here (source of truth):\r

  • ~/Library/Application Support/obsidian/obsidian.json\r \r notesmd-cli resolves vaults from that file; vault name is typically the folder name (path suffix).\r \r Fast “what vault is active / where are the notes?”\r
  • If you’ve already set a default: notesmd-cli print-default --path-only\r
  • Otherwise, read ~/Library/Application Support/obsidian/obsidian.json and use the vault entry with "open": true.\r \r

notesmd-cli quick start\r

\r Pick a default vault and open behavior (once):\r

  • notesmd-cli set-default "\x3Cvault-folder-name>"\r
  • notesmd-cli set-default --open-type editor (Sets default to use your terminal/GUI $EDITOR instead of opening the Obsidian app)\r
  • notesmd-cli print-default / notesmd-cli print-default --path-only\r \r Search\r
  • notesmd-cli search (Interactive fuzzy search for notes; respects Obsidian's excluded files)\r
  • notesmd-cli search-content "query" (Searches inside notes; shows snippets + lines)\r \r Create\r
  • notesmd-cli create "Folder/New note" --content "..."\r
  • notesmd-cli create "New note" --open (Opens in Obsidian, or $EDITOR if --editor flag is passed)\r
  • Note: Works directly on disk (headless supported); Obsidian does not need to be running. Reads .obsidian/app.json for default new file locations.\r \r Daily Notes\r
  • notesmd-cli daily (Creates or opens today's daily note directly on disk)\r
  • Automatically reads your .obsidian/daily-notes.json for folder, format, and template configurations.\r \r Frontmatter (YAML Metadata)\r
  • notesmd-cli frontmatter "NoteName" --print\r
  • notesmd-cli frontmatter "NoteName" --edit --key "status" --value "done"\r
  • notesmd-cli frontmatter "NoteName" --delete --key "draft"\r \r Move/rename (safe refactor)\r
  • notesmd-cli move "old/path/note" "new/path/note"\r
  • Updates [[wikilinks]] and common Markdown links across the vault (this is the main win vs standard mv).\r \r Delete\r
  • notesmd-cli delete "path/note"\r \r Prefer direct edits when appropriate: open the .md file in any editor (notesmd-cli open "note" --editor) and change it; Obsidian will automatically pick it up.
安全使用建议
This skill appears coherent for automating Obsidian with notesmd-cli, but take these precautions before installing: 1) Verify the Homebrew tap and the notesmd-cli project (review the formula and source) because the tap is a third‑party repository. 2) Back up your vaults before running commands that modify or delete files (move/delete). 3) Note the SKILL.md references the macOS Obsidian path (~/Library/Application Support/obsidian/obsidian.json); behavior may differ on other OSes. 4) Run notesmd-cli manually first to confirm what it does and that it only touches your vault. 5) No cloud credentials are requested by the skill itself, so you won't be handing secrets to the skill, but exercise normal caution when installing third‑party packages.
功能分析
Type: OpenClaw Skill Name: obsidian-notesmd-cli Version: 1.0.0 The skill bundle is a legitimate integration for managing Obsidian vaults using the 'notesmd-cli' utility. It provides standard instructions for vault discovery, note creation, and metadata management without any signs of malicious intent, data exfiltration, or harmful prompt injection. The installation process uses a standard Homebrew tap (yakitrak/yakitrak/notesmd-cli) for a known open-source tool.
能力评估
Purpose & Capability
The skill is an instruction-only wrapper for notesmd-cli and only requires the notesmd-cli binary (installed via a brew formula). Required binaries and the described operations (search, create, move, read Obsidian metadata files) align with the stated purpose.
Instruction Scope
SKILL.md instructs reading Obsidian state files (~/Library/Application Support/obsidian/obsidian.json) and vault-local .obsidian/*.json files and running notesmd-cli commands that operate on Markdown files. These actions are consistent with operating on Obsidian vaults and do not instruct access to unrelated files or external endpoints.
Install Mechanism
Installation is via a Homebrew formula from the yakitrak/yakitrak tap (creates a notesmd-cli binary). Using a third-party tap increases risk compared with an official/homebrew-core formula — recommend reviewing the tap/formula and the project's source before installing.
Credentials
The skill requests no environment variables, credentials, or config paths beyond reading standard Obsidian state files. This is proportionate to the task of locating and manipulating vault files.
Persistence & Privilege
The skill is not set to always: true and does not request elevated or persistent platform privileges. It relies on a user-installed binary and standard file access; autonomous invocation is allowed by default but is not combined with other privilege escalations.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install obsidian-notesmd-cli
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /obsidian-notesmd-cli 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
The original Obsidian skill was built on obsidian-cli. However, following the release of the official Obsidian CLI, the author rebranded obsidian-cli as notesmd-cli. Since the legacy skill had become outdated, this overhauled version provides full compatibility with the latest notesmd-cli features and naming conventions.
元数据
Slug obsidian-notesmd-cli
版本 1.0.0
许可证 MIT-0
累计安装 21
当前安装数 18
历史版本数 1
常见问题

Obsidian via notesmd-cli (obsidian-cli) 是什么?

Work with Obsidian vaults (plain Markdown notes) and automate via notesmd-cli. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2378 次。

如何安装 Obsidian via notesmd-cli (obsidian-cli)?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install obsidian-notesmd-cli」即可一键安装,无需额外配置。

Obsidian via notesmd-cli (obsidian-cli) 是免费的吗?

是的,Obsidian via notesmd-cli (obsidian-cli) 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Obsidian via notesmd-cli (obsidian-cli) 支持哪些平台?

Obsidian via notesmd-cli (obsidian-cli) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Obsidian via notesmd-cli (obsidian-cli)?

由 BassShang(@bassshang)开发并维护,当前版本 v1.0.0。

💬 留言讨论