跳到正文
TakoAPI
返回技能列表

mh-obsidian

由 mohdalhashemi98-hue 提供

DevOps & Cloud
979下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

描述

该技能的功能

Interact with Obsidian vaults from the command line using obsidian-cli. Supports searching, creating, moving, and deleting notes while preserving wikilink integrity across the vault.

Moving or renaming notes via obsidian-cli updates all wikilinks vault-wide, which a plain file rename does not.

何时使用

  • Search note content for a forgotten idea across a large vault
  • Create a new note from a script or template automatically
  • Rename a note without breaking wikilinks to it
  • Find which vault is currently active on a machine
  • Batch-create meeting notes from a scheduled workflow

示例工作流

输入

User asks: find all notes mentioning 'project alpha' and create a summary note

智能体
  1. 1

    Run obsidian-cli print-default --path-only to confirm the active vault path

  2. 2

    Run obsidian-cli search-content 'project alpha' to retrieve matching notes and snippets

  3. 3

    Compile relevant excerpts into a summary string

  4. 4

    Run obsidian-cli create 'Projects/Project Alpha Summary' --content '<summary>' --open

输出

A new note at Projects/Project Alpha Summary is created in the vault and opened in Obsidian

前置要求

  • obsidian-cli installed (brew install yakitrak/yakitrak/obsidian-cli)
  • Obsidian desktop app installed with URI handler active

安装

clawhub install mohdalhashemi98-hue/mh-obsidian

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接