← 返回 Skills 市场
mohdalhashemi98-hue

MH obsidian

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

Obsidian

Obsidian vault = a normal folder on disk.

Vault structure (typical)

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

Find the active vault(s)

Obsidian desktop tracks vaults here (source of truth):

  • ~/Library/Application Support/obsidian/obsidian.json

obsidian-cli resolves vaults from that file; vault name is typically the folder name (path suffix).

Fast “what vault is active / where are the notes?”

  • If you’ve already set a default: obsidian-cli print-default --path-only
  • Otherwise, read ~/Library/Application Support/obsidian/obsidian.json and use the vault entry with "open": true.

Notes

  • Multiple vaults common (iCloud vs ~/Documents, work/personal, etc.). Don’t guess; read config.
  • Avoid writing hardcoded vault paths into scripts; prefer reading the config or using print-default.

obsidian-cli quick start

Pick a default vault (once):

  • obsidian-cli set-default "\x3Cvault-folder-name>"
  • obsidian-cli print-default / obsidian-cli print-default --path-only

Search

  • obsidian-cli search "query" (note names)
  • obsidian-cli search-content "query" (inside notes; shows snippets + lines)

Create

  • obsidian-cli create "Folder/New note" --content "..." --open
  • Requires Obsidian URI handler (obsidian://…) working (Obsidian installed).
  • Avoid creating notes under “hidden” dot-folders (e.g. .something/...) via URI; Obsidian may refuse.

Move/rename (safe refactor)

  • obsidian-cli move "old/path/note" "new/path/note"
  • Updates [[wikilinks]] and common Markdown links across the vault (this is the main win vs mv).

Delete

  • obsidian-cli delete "path/note"

Prefer direct edits when appropriate: open the .md file and change it; Obsidian will pick it up.

安全使用建议
This skill appears to do what it says: automate Obsidian via obsidian-cli and read Obsidian's config to find vaults. Before installing, consider: (1) the SKILL.md points to a macOS config path — if you use Linux/Windows, the path/instructions may not apply; (2) the brew formula is from a third-party tap (yakitrak); review that formula/source if you want stronger supply-chain assurance; (3) the agent will read ~/Library/Application Support/obsidian/obsidian.json (or equivalent) to discover vaults — this exposes vault paths and metadata (filenames, which vaults are open) though not the note contents themselves; (4) ensure Obsidian (the desktop app) and the obsidian:// URI handler are installed for full functionality. If you’re comfortable with those points, the skill’s requirements and instructions are proportionate to its purpose.
功能分析
Type: OpenClaw Skill Name: mh-obsidian Version: 1.0.0 The skill bundle provides instructions and metadata for interacting with Obsidian vaults using the `obsidian-cli` tool. It describes how to locate vaults by reading `~/Library/Application Support/obsidian/obsidian.json` and lists various `obsidian-cli` commands for searching, creating, moving, and deleting notes. The installation process uses Homebrew to install a community-maintained `obsidian-cli` binary. All instructions and actions are directly related to the stated purpose of managing Obsidian notes and do not show any signs of malicious intent such as data exfiltration, persistence, or unauthorized remote execution. Access to `obsidian.json` is justified for locating vaults.
能力评估
Purpose & Capability
The name/description match the declared requirements: the skill needs obsidian-cli and its instructions operate on Obsidian vaults. One mismatch: the SKILL.md references a macOS-specific path (~/Library/Application Support/obsidian/obsidian.json) but the skill declares no OS restriction; that means on non-macOS systems the guidance may be inaccurate or fail.
Instruction Scope
Instructions explicitly tell the agent to read the Obsidian config file to determine the active vault and to run obsidian-cli commands (search/create/move/delete). Reading the obsidian.json config is reasonable for the stated goal, but it is an access to a user config file outside the vault; users should be aware this exposes vault paths and metadata (not necessarily note contents).
Install Mechanism
Install uses a Homebrew formula (yakitrak/yakitrak/obsidian-cli) which is a typical, low-to-moderate-risk mechanism. It is a third-party tap/formula rather than an official upstream binary; users who are strict about supply-chain risk should review the formula/source before installing.
Credentials
No environment variables or credentials are requested. The private/config file read is proportional to locating the vaults and is justified by the documented behavior.
Persistence & Privilege
The skill does not request always: true and is not asking for elevated/persistent system privileges. It only needs an executable (obsidian-cli) and to read the Obsidian config file to function.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install mh-obsidian
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /mh-obsidian 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Priority upload batch
元数据
Slug mh-obsidian
版本 1.0.0
许可证
累计安装 14
当前安装数 14
历史版本数 1
常见问题

MH obsidian 是什么?

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

如何安装 MH obsidian?

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

MH obsidian 是免费的吗?

是的,MH obsidian 完全免费(开源免费),可自由下载、安装和使用。

MH obsidian 支持哪些平台?

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

谁开发了 MH obsidian?

由 mohdalhashemi98-hue(@mohdalhashemi98-hue)开发并维护,当前版本 v1.0.0。

💬 留言讨论