SSkilltecabyclaudinhocode
Enviar skill
← Voltar para o catálogo

obsidian-skill

Produtividade

Controls Obsidian vaults via the official CLI (1.12+). Reads, creates, appends to, and searches notes. Manages daily notes, tasks, tags, properties, templates, bookmarks, and plugins. Analyzes knowledge graph structure including backlinks, orphans, and unresolved links. Triggers on Obsidian, vault, notes, daily notes, knowledge base, PKM, second brain, zettelkasten, backlinks, or note-taking tasks

3estrelas
Ver no GitHub ↗Autor: wizzy15Licença: MIT

Obsidian CLI

Controls the running Obsidian app via IPC. First invocation launches Obsidian if not running.

Prerequisites

  1. Install Obsidian 1.12+
  2. Enable CLI: Settings → General → Command line interface → follow registration prompt
  3. Restart terminal (registration adds obsidian to PATH automatically)

Platform-specific PATH details:

  • macOS: appends /Applications/Obsidian.app/Contents/MacOS to ~/.zprofile
  • Linux: symlink at /usr/local/bin/obsidian (fallback ~/.local/bin/obsidian)
  • Windows: requires Obsidian.com redirector from Discord #insider-desktop-release

Syntax

obsidian <command> [vault=<name>] [file=<name>] [path=<path>] [flags] [--copy]
PatternBehavior
vault=<name>Target vault by name; defaults to cwd vault or active vault
file=<name>Wikilink-style resolution (no path/extension needed)
path=<path>Exact vault-relative path, e.g. path="Folder/Note.md"
totalReturn count instead of list
format=json|text|csv|tsv|mdOutput format (varies per command)
--copyCopy any command's output to clipboard
\n / \tNewline / tab in content strings
No file/pathDefaults to active file in Obsidian
Bare obsidianOpens interactive TUI with autocomplete + Ctrl+R history

Quick start

These five operations cover most agent tasks. For complete command reference, see the domain-specific guides below.

Read a note

obsidian read file="Meeting Notes"
obsidian read path="Projects/Roadmap.md"
obsidian read                              # active file

Create a note

obsidian create name="New Note" content="# Title\n\nBody"
obsidian create name="From Template" template="Meeting Notes" silent

Append / prepend

obsidian append file="Journal" content="- New entry"
obsidian prepend file="Ideas" content="## Latest idea"
obsidian daily:append content="- 2pm: Call with team" silent

Search

obsidian search query="project deadline"
obsidian search query="API" limit=10 format=json
obsidian search query="fix" matches         # include context

Tasks

obsidian tasks all todo                     # vault-wide incomplete
obsidian tasks daily                        # today's daily note
obsidian task file="Todo" line=8 toggle     # toggle completion

Reference guides

Load these on demand based on the task:

TaskReference
Read, create, edit, move, delete notes; outline; word count; unique notesreferences/note-operations.md
Search, tags, properties, backlinks, orphans, unresolved links, aliasesreferences/search-metadata.md
Daily notes, tasks, templatesreferences/daily-tasks-templates.md
Vault info, files/folders, bookmarks, plugins, workspaces, themes, sync, publish, bases, dev toolsreferences/vault-management.md

Como adicionar

/plugin marketplace add wizzy15/obsidian-skill

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Comentários · Nenhum comentário

Entre para comentar. Entrar

  • Ainda não há comentários. Seja o primeiro.