openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > Obsidian Notes

Work with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli.

媒体与内容

作者:zhangzhifeng @164149043

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v1.0.1

统计:⭐ 0 · 73 · 2 current installs · 2 all-time installs

0

安装量(当前) 2

🛡 VirusTotal :良性 · OpenClaw :可疑

Package:164149043/obsidian-notes

安全扫描(ClawHub)

  • VirusTotal :良性
  • OpenClaw :可疑

OpenClaw 评估

The skill is generally coherent with its stated purpose (managing Obsidian vaults via obsidian-cli) but has a few small mismatches and a third‑party install source that you should review before installing.

目的

The name/description match the runtime instructions: the skill expects and uses obsidian-cli and works with Obsidian vaults. Minor mismatch: the SKILL.md instructs the agent to read a user config file (~/Library/Application Support/obsidian/obsidian.json) but the skill metadata did not declare any required config paths or OS restriction (the path is macOS-specific).

说明范围

Instructions are focused on Obsidian operations (search, create, move, delete) and explicitly recommend reading the Obsidian config to discover vaults. This requires reading a user-specific file in the home directory; that is expected for the purpose but should have been declared in metadata. There are no instructions that exfiltrate data or call external endpoints beyond normal obsidian-cli/URI behavior.

安装机制

Install uses a Homebrew formula (yakitrak/yakitrak/obsidian-cli). Brew installs are lower risk than arbitrary downloads, but this is a third‑party tap (yakitrak) rather than an official vendor tap; you should inspect the formula/source before trusting it.

证书

The skill declares no required environment variables or credentials, which is appropriate. It does access a user config file (vault paths) as part of normal operation; this is proportional to its purpose but was not listed under required config paths in the metadata (a minor coherence issue).

持久

The skill is not always-enabled and does not request persistent or elevated platform privileges. It does not modify other skills or system-wide configs according to the provided files.

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Obsidian Notes」。简介:Work with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli.。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/164149043/obsidian-notes/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: obsidian-notes
description: Work with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli.
homepage: https://help.obsidian.md
metadata: {"clawdbot":{"emoji":"💎","requires":{"bins":["obsidian-cli"]},"install":[{"id":"brew","kind":"brew","formula":"yakitrak/yakitrak/obsidian-cli","bins":["obsidian-cli"],"label":"Install obsidian-cli (brew)"}]}}
---

# 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 "<vault-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.