返回顶部
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
安全检测
已通过
392
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

obsidian-cli-tool

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.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部