KS
Killer-Skills

obsidian-cli — how to use obsidian-cli how to use obsidian-cli, obsidian-cli setup guide, obsidian-cli alternative, obsidian-cli vs other note-taking tools, obsidian-cli install, what is obsidian-cli, obsidian-cli documentation, obsidian-cli commands, obsidian-cli flags

v1.0.0
GitHub

About this Skill

Perfect for Note-Taking Agents requiring seamless integration with Obsidian instances for advanced note management capabilities. obsidian-cli is a command-line interface for interacting with a running Obsidian instance, providing a range of commands for note creation and management.

Features

Runs `obsidian help` to display all available commands
Supports parameter values with `=` and quoted values with spaces
Uses flags as boolean switches with no value
Creates new notes with `obsidian create` command
Allows silent overwriting of existing notes

# Core Topics

edrickleong edrickleong
[133]
[9]
Updated: 3/4/2026

Quality Score

Top 5%
46
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add edrickleong/obsidian-calendar-bases/obsidian-cli

Agent Capability Analysis

The obsidian-cli MCP Server by edrickleong is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion. Optimized for how to use obsidian-cli, obsidian-cli setup guide, obsidian-cli alternative.

Ideal Agent Persona

Perfect for Note-Taking Agents requiring seamless integration with Obsidian instances for advanced note management capabilities.

Core Value

Empowers agents to create and manage notes using the `obsidian` command-line interface, supporting parameters and flags for customized note creation, such as setting note names and content, and utilizing commands like `obsidian create` for efficient note generation.

Capabilities Granted for obsidian-cli MCP Server

Automating note creation with specific names and content
Managing existing notes using the `obsidian` CLI
Integrating Obsidian with other tools for enhanced workflow automation

! Prerequisites & Limits

  • Requires Obsidian to be open and running
  • Limited to interacting with a single running Obsidian instance at a time
Project
SKILL.md
2.6 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

Obsidian CLI

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

Command reference

Run obsidian help to see all available commands. This is always up to date. Full docs: https://help.obsidian.md/cli

Syntax

Parameters take a value with =. Quote values with spaces:

bash
1obsidian create name="My Note" content="Hello world"

Flags are boolean switches with no value:

bash
1obsidian create name="My Note" silent overwrite

For multiline content use \n for newline and \t for tab.

File targeting

Many commands accept file or path to target a file. Without either, the active file is used.

  • file=<name> — resolves like a wikilink (name only, no path or extension needed)
  • path=<path> — exact path from vault root, e.g. folder/note.md

Vault targeting

Commands target the most recently focused vault by default. Use vault=<name> as the first parameter to target a specific vault:

bash
1obsidian vault="My Vault" search query="test"

Common patterns

bash
1obsidian read file="My Note" 2obsidian create name="New Note" content="# Hello" template="Template" silent 3obsidian append file="My Note" content="New line" 4obsidian search query="search term" limit=10 5obsidian daily:read 6obsidian daily:append content="- [ ] New task" 7obsidian property:set name="status" value="done" file="My Note" 8obsidian tasks daily todo 9obsidian tags sort=count counts 10obsidian backlinks file="My Note"

Use --copy on any command to copy output to clipboard. Use silent to prevent files from opening. Use total on list commands to get a count.

Plugin development

Develop/test cycle

After making code changes to a plugin or theme, follow this workflow:

  1. Reload the plugin to pick up changes:
    bash
    1obsidian plugin:reload id=my-plugin
  2. Check for errors — if errors appear, fix and repeat from step 1:
    bash
    1obsidian dev:errors
  3. Verify visually with a screenshot or DOM inspection:
    bash
    1obsidian dev:screenshot path=screenshot.png 2obsidian dev:dom selector=".workspace-leaf" text
  4. Check console output for warnings or unexpected logs:
    bash
    1obsidian dev:console level=error

Additional developer commands

Run JavaScript in the app context:

bash
1obsidian eval code="app.vault.getFiles().length"

Inspect CSS values:

bash
1obsidian dev:css selector=".workspace-leaf" prop=background-color

Toggle mobile emulation:

bash
1obsidian dev:mobile on

Run obsidian help to see additional developer commands including CDP and debugger controls.

Related Skills

Looking for an alternative to obsidian-cli or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication