Skip to content

First-party source

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

Wordcount

Fresh

Count words and characters in the active file or a specific file.

Commands for Word count.

wordcount

Count words and characters (default: active file).

bash
file=<name>        # file name
path=<path>        # file path

words              # return word count only
characters         # return character count only

See also

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