← 返回
开发者工具 中文

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 d...
使用 Obsidian 命令行工具与 Obsidian 保险库交互,读取、创建、搜索和管理笔记、任务、属性等。还支持插件和主题...
sadlay sadlay 来源
开发者工具 clawhub v1.0.0 1 版本 99880.4 Key: 无需
★ 0
Stars
📥 835
下载
💾 40
安装
1
版本
#latest

概述

Obsidian CLI

Use the obsidian CLI to interact with a running Obsidian instance. Requires Obsidian to be open.

Command reference

Vault operations

  • obsidian list vaults — List all vaults
  • obsidian open — Open a vault by name
  • obsidian open — Open a note in the default vault
  • obsidian search "query" — Fuzzy search for notes
  • obsidian search-content "term" — Search within note contents

Note operations

  • obsidian create --name "Title" --content "Body text" — Create a new note
  • obsidian print — Print note contents
  • obsidian move — Move or rename a note
  • obsidian delete — Delete a note
  • obsidian daily — Open or create today's daily note

Properties (frontmatter)

  • obsidian frontmatter get — Get a property value
  • obsidian frontmatter set — Set a property value
  • obsidian frontmatter remove — Remove a property

Plugin development

  • obsidian plugin reload — Reload the current plugin
  • obsidian plugin eval '' — Run JavaScript in Obsidian
  • obsidian plugin screenshot — Take a screenshot of Obsidian
  • obsidian plugin dom — Inspect the DOM structure

Usage examples

# Create a note
obsidian create --name "Meeting Notes" --content "# Standup\n\n- Task A done\n- Task B in progress"

# Search for a note
obsidian search "project roadmap"

# Read a note
obsidian print "Projects/Website Redesign"

# Update frontmatter
obsidian frontmatter set "Todo List" status "in-progress"

# Open daily note
obsidian daily

Requirements

  • Obsidian must be running
  • The Obsidian CLI plugin must be installed and enabled
  • For plugin development commands, the workspace must be an Obsidian plugin project

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 22:36 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

knowledge-management

web-tools-guide

user_ec205dbb
MANDATORY before calling web_search, web_fetch, browser, or opencli. Contains required error-handling procedures (web_se
★ 56 📥 152,448
knowledge-management

Baidu web search

ide-rea
使用百度AI搜索引擎(BDSE)进行网络搜索。适用于获取实时信息、文档资料或研究课题。
★ 240 📥 106,410
dev-programming

Json Canvas

sadlay
创建和编辑JSON Canvas文件(.canvas),包含节点、边、组和连接。用于处理.canvas文件,创建视觉画布和思维导图。
★ 0 📥 1,369