闲社服务运行正常AI智能体自动化平台
o

黑曜石命令行工具

技能标识:obsidian-cli-tool

Interact with Obsidian vaults using the Obsidian CLI to read, create, search, and manage notes, tasks, properties, and more. Also supports plugin and theme development with commands to reload plugins, run JavaScript, capture errors, take screenshots, and inspect the DOM. Use when the user asks to interact with their Obsidian vault, manage notes, search vault content, perform vault operations from the command line, or develop and debug Obsidian plugins and themes.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

黑曜石命令行工具

Obsidian CLI

使用 obsidian CLI 与正在运行的 Obsidian 实例进行交互。需要 Obsidian 处于打开状态。

命令参考

仓库操作

  • - obsidian list vaults — 列出所有仓库
  • obsidian open — 按名称打开仓库
  • obsidian open — 在默认仓库中打开笔记
  • obsidian search query — 模糊搜索笔记
  • obsidian search-content term — 在笔记内容中搜索

笔记操作

  • - obsidian create --name 标题 --content 正文 — 创建新笔记
  • obsidian print — 打印笔记内容
  • obsidian move — 移动或重命名笔记
  • obsidian delete — 删除笔记
  • obsidian daily — 打开或创建今日日记

属性(frontmatter)

  • - obsidian frontmatter get — 获取属性值
  • obsidian frontmatter set — 设置属性值
  • obsidian frontmatter remove — 移除属性

插件开发

  • - obsidian plugin reload — 重新加载当前插件
  • obsidian plugin eval — 在 Obsidian 中运行 JavaScript
  • obsidian plugin screenshot — 截取 Obsidian 屏幕截图
  • obsidian plugin dom — 检查 DOM 结构

使用示例

bash

创建笔记


obsidian create --name 会议笔记 --content # 站会\n\n- 任务A已完成\n- 任务B进行中

搜索笔记

obsidian search 项目路线图

读取笔记

obsidian print 项目/网站改版

更新 frontmatter

obsidian frontmatter set 待办清单 status 进行中

打开日记

obsidian daily

要求

  • - Obsidian 必须正在运行
  • 必须安装并启用 Obsidian CLI 插件
  • 对于插件开发命令,工作区必须是 Obsidian 插件项目

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 obsidian-cli-tool-1776209426 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 obsidian-cli-tool-1776209426 技能

通过命令行安装

skillhub install obsidian-cli-tool-1776209426

下载

⬇ 下载 obsidian-cli-tool v1.0.0(免费)

文件大小: 1.56 KB | 发布时间: 2026-4-15 10:41

v1.0.0 最新 2026-4-15 10:41
Initial release of obsidian-cli-tool.

- Interact with Obsidian vaults via command line: read, create, search, and manage notes and tasks.
- Supports frontmatter (YAML properties) management.
- Includes commands for plugin and theme development, such as reloading plugins, running JavaScript, capturing errors, screenshots, and DOM inspection.
- Compatible with running Obsidian instances and CLI plugin requirements.
- Provides detailed command reference and usage examples.
返回顶部