Skip to content
Back to skills

Obsidian Cli

ASecurity

Use when interacting with an Obsidian vault from the terminal — reading, writing, searching notes, daily notes, tasks, tags, links, and automation via the official CLI. Triggers on \"obsidian-cli\", \"obsidian cli\", \"vault\".

  • 2 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 19, 2026
ai-agentsbashgit

Works with

  • terminal
  • cli

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 19, 2026

npx -y skills add majinmagros/magros.ai-skills --skill obsidian-cli --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Obsidian Cli?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Obsidian Cli
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majinmagros-obsidian-cli/badge)](https://www.skillsdirectory.com/skills/majinmagros-obsidian-cli)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: obsidian-cli
description: "Use when interacting with an Obsidian vault from the terminal — reading, writing, searching notes, daily notes, tasks, tags, links, and automation via the official CLI. Triggers on \"obsidian-cli\", \"obsidian cli\", \"vault\"."
metadata:
  origin: ECC
---

# Obsidian CLI

Control Obsidian Desktop (v1.12+) from the terminal via IPC — 130+ commands. Detalhes em `references/`.

## When to Activate

- Reading, creating, appending, moving, or deleting vault notes
- Working with daily notes (read, append, prepend)
- Searching vault contents or extracting lines for AI processing
- Managing tasks, tags, properties, backlinks, or orphans
- Automating journals, templates, sync, or vault analytics

## Core Principles

1. **Obsidian must be running** — CLI talks to the desktop app via IPC
2. **`key=value` syntax** — quote values with spaces; paths are vault-relative
3. **`create` omits `.md`** — extension added automatically; `move` needs full target
4. **Pipe-friendly output** — combine with `grep`/`jq`; `format=json` on `search`
5. **Full flags in `command-reference.md`** — all 130+ commands with parameter tables

## Example

```bash
obsidian daily:append content="- [ ] Review PR #42"
obsidian search query="meeting notes" format=json | jq '.[]'
obsidian tasks | grep "\[ \]"   # incomplete tasks across vault
```

## References

- `references/setup.md` — prerequisites, Windows/Linux notes, syntax, multi-vault, TUI
- `references/core-commands.md` — command groups table + quick reference
- `references/agent-patterns.md` — journal/template/analytics recipes, tips, troubleshooting
- `references/command-reference.md` — all 130+ commands, flags, output formats

## Checklist

- [ ] Obsidian running, CLI enabled; normal-privilege terminal on Windows
- [ ] Vault-relative paths; `create` without `.md`, `move` with full target
- [ ] `daily:prepend` lands after frontmatter — expected, not a bug
- [ ] List frontmatter via `eval`, not `property:set` (stores strings)
- [ ] Colon-subcommand failure → check `Obsidian.com` / Git Bash wrapper

Files in this skill

  • SKILL.md2.1 KB
  • references/agent-patterns.md4.7 KB
  • references/command-reference.md21 KB
  • references/core-commands.md4.3 KB
  • references/setup.md2.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.