Skip to content

First-party source

Desktop command contract: Obsidian CLI, retrieved 2026-08-29 EDT. See the dated source ledger.

Tags

Fresh

List all tags in the vault, filter by file, and inspect tag occurrence.

Commands for Tags.

tags

List tags in the vault. Use active or file/path to show tags for a specific file.

bash
file=<name>        # file name
path=<path>        # file path
sort=count         # sort by count (default: name)

total              # return tag count
counts             # include tag counts
format=json|tsv|csv  # output format (default: tsv)
active             # show tags for active file

tag

Get tag info.

bash
name=<tag>         # (required) tag name

total              # return occurrence count
verbose            # include file list and count

See also

Unofficial SOP mirror. Built for terminal-driven and agentic Obsidian workflows.