ObsidianCLI
Official Obsidian CLI (1.12+) — list files, search content, manage properties, query bases, navigate links, create/read/rename/delete notes.
Skill by N4M3Z
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/n4m3z-obsidiancli
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/obsidiancli
What's inside
- Skill name
ObsidianCLI- Description
- Official Obsidian CLI (1.12+) — list files, search content, manage properties, query bases, navigate links, create/read/rename/delete notes. USE WHEN listing vault files, searching vault, managing frontmatter properties, querying bases, checking backlinks, creating notes via Obsidian, renaming with backlink updates, or any vault operation that benefits from Obsidian's internal index.
- License
- EUPL-1.2
- Instructions
- 260 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: only lowercase letters, digits and single hyphens allowed
Files (3)
- SKILL.md
- SKILL.yaml
- sample.md
SKILL.md (first lines)
# ObsidianCLI Reference for the official Obsidian CLI (1.12+). Communicates with the running Obsidian desktop app via named pipe. Returns structured data to stdout. Falls back to file-system operations (Glob, Grep, safe-read, safe-write) when unavailable. ## Setup The CLI ships inside Obsidian 1.12+. Add to PATH (one-time): ```bash export PATH="$PATH:/Applications/Obsidian.app/Contents/MacOS" ``` Or use the full path directly. Verify with `make check` in the module root. ## Parameter Syntax - Key-value pairs: `key=value` - Spaces in values: `content="Hello world"` - File targeting: `file=<name>` (wikilink resolution) or `path=<exact/path.md>` - Vault targeting: `vault=<name>` or inferred from CWD or active vault ## Output Formats All commands support: `format=json|csv|tsv|md|paths|text|tree|yaml` Default is `text`. For programmatic consumption use `format=json` or `format=paths`. ## File Operations ### List files ```bash obsidian files # all files obsidian files folder=Resources ext=md # filter by directory and extension obsidian files format=paths # file paths only (one per line) obsidian files format=json # structured JSON ``` ### Read file content ```bash obsidian read file="Security" # by wikilink name obsidian read path="Topics/Security.md" # by exact path ``` ### Create a note ```bash obsidian create name="New Note" content="---\ntitle: New Note\n---\n\nContent here." obsidian create name="From Template" template=Daily ``` ### Append / Prepend ```bash obsidian append file="Daily" content="- New item" obsidian prepend path="Topics/Security.md" content="## Update\n\nNew section." ``` `prepend` inserts after frontmatter. ### Move / Rename ```bash obsidian move file=Recipe to=Archive/ obsidian rename file="Old Name" to="New Name" ``` `rename` updates all wikilinks and markdown links across the vault. This is the only reliable way to rename with backlink tracking — file-system `mv` breaks links. ### Delete ```bash obsidian delete file=OldNote # to Obsidian trash obsidian delete file=OldNote permanent # permanent ``` ## Properties (Frontmatter) ### Set property ```bash obsidian property:set file="Note" property=status value=active ``` Atomic update — avoids the Obsidian Linter race condition that affects read-modify-write cycles with `safe-write edit`. **Scalar values only.** Cannot set arrays (`tags`, `comments`, `sources`) or nested objects. For complex field types, use `eval` with `processFrontMatter` (see Developer section). ### Remove property ```bash obsidian property:remove file="Note" property=obsolete_key ``` ### Read property ```bash obsidian property:read file="Note" property=status obsidian property:read file="Note" property=status format=json ``` **Stdout contamination.** Like `base:query`, `property:read` can mix extraneous output into stdout. Redirect to temp file for reliable parsing, or use `eval` with `processFrontMatter` for programmatic reads. ### Rename property key (vault-wide) ```bash obsidian property:rename old=old_key new=new_key ``` ## Search ### Full-text search ```bash obsidian search query="forge-tlp" obsidian search query="forge-tlp" format=json
From N4M3Z/forge-obsidian, EUPL-1.2.
More from N4M3Z/forge-obsidian
- 0.503score
ObsidianBase
N4M3Z
Resolve Obsidian Base files (.base) to see what the user sees in Obsidian.
SkillCFreshness: C★ 2Claude Code +9 - 0.503score
ObsidianTemplates
N4M3Z
Obsidian template management — dual-tree creation, editing, rendering, frontmatter schemas, dynamic query blocks, Templater config updates.
SkillCFreshness: C★ 2Claude Code +9 - 0.503score
ValidateVault
N4M3Z
Validate vault files against .mdschema files — structural checks on frontmatter, headings, and required sections.
SkillCFreshness: C★ 2Claude Code +9 - 0.503score
WikiLink
N4M3Z
Add [[wikilinks]] to a markdown document by matching terms against existing vault notes — body links and frontmatter keywords/related enrichment.
SkillCFreshness: C★ 2Claude Code +9 - 0.497score
ObsidianConventions
N4M3Z
Vault conventions for wikilinks, frontmatter and tags.
SkillCFreshness: C★ 2Claude Code +9 - 0.439score
Promote
N4M3Z
Push a vault skill to its target module for sharing via GitHub.
SkillDFreshness: D★ 2Claude Code +9 - 0.439score
ProjectConventions
N4M3Z
Obsidian project note conventions — base files, embeds, Dataview, frontmatter fields, folder notes.
SkillDFreshness: D★ 2Claude Code +9 - 0.439score
ObsidianActions
N4M3Z
[DEPRECATED] Use /ObsidianCLI instead.
SkillDFreshness: D★ 2Claude Code +9 - 0.439score
ObsidianREST
N4M3Z
[DEPRECATED] Use /ObsidianCLI instead.
SkillDFreshness: D★ 2Claude Code +9 - 0.439score
Draft
N4M3Z
Pull a module skill into the vault for editing in Obsidian.
SkillDFreshness: D★ 2Claude Code +9 - 0.439score
ProjectManagement
N4M3Z
Project lifecycle management — create, update, close, backlog rules, safe file operations.
SkillDFreshness: D★ 2Claude Code +9 - 0.433score
VaultOperations
N4M3Z
Vault file operations — TLP access control, wikilinks, tags vs keywords, patterns, and preferences.
SkillDFreshness: D★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 1
- Last commit (this folder)
- Feb 26, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- EUPL-1.2
- Repository
- github.com/N4M3Z/forge-obsidian
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from N4M3Z
- 0.520score
LocalModel
N4M3Z
Run prompts against a local LLM backend (LM Studio, Ollama, or MLX) with privacy-preserving output guardrails — drop reasoning_content, enforce structured…
SkillCFreshness: C★ 4Claude Code +9 - 0.520score
ForgeSkill
N4M3Z
Create, validate, evaluate, and iterate skills for forge modules.
SkillCFreshness: C★ 4Claude Code +9 - 0.515score
HtmlPlayground
N4M3Z
Generate single-file HTML demos comparing techniques side-by-side.
SkillCFreshness: C★ 4Claude Code +9 - 0.515score
BuildAgent
N4M3Z
Create, validate, or audit agent definitions.
SkillCFreshness: C★ 4Claude Code +9 - 0.515score
BuildHook
N4M3Z
Create and validate module hooks.
SkillCFreshness: C★ 4Claude Code +9 - 0.515score
Brainstorming
N4M3Z
Collaborative ideation before implementation — explore context, clarify intent, propose approaches.
SkillCFreshness: C★ 4Claude Code +9
Cite this page
ObsidianCLI skill. Agent Mart. https://agentmart.dev/skills/n4m3z-obsidiancli (last updated 2026-10-24)