Tooluck logoTooluck
SKILL.md

obsidian-headless

Agent skill fromobsidianmd/obsidian-skills

Sync and publish Obsidian vaults from the command line with Obsidian Headless (`ob`), without the desktop app. Use when the user wants to set up or run Obsidian Sync or Obsidian Publish on a server, in CI, or from a terminal, or change a vault's Sync or Publish settings.

How to install obsidian-headless

install obsidian-headless
# install the obsidian-skills pack with the skills CLI
npx skills add obsidianmd/obsidian-skills

# or add only this skill to Claude Code: copy the folder

plugins/obsidian/skills/obsidian-headless/

# into

~/.claude/skills/obsidian-headless/ (all projects)

.claude/skills/obsidian-headless/ (one project)

plugins/obsidian/skills/obsidian-headless/SKILL.md

MITFull file
1# Obsidian Headless
2
3Use Obsidian Headless (`ob`) to run Obsidian Sync and Obsidian Publish from the command line. It doesn't need the desktop app, so it works on servers, in CI, and in sandboxes. It's in open beta. Docs: https://help.obsidian.md/headless
4
5`ob` only syncs and publishes files. To read or change notes without the app, edit the files directly and follow the obsidian-markdown skill. To control a running desktop app, use the obsidian-cli skill.
6
7## Before using ob
8
9Check availability with `ob --help`. If it is missing, explain that Obsidian Headless requires Node.js 22 or later and offer installation with `npm install -g obsidian-headless`. Run `ob <command> --help` for a command's options.
10
11Sync and Publish each need an active subscription on the user's account.
12
13Most commands accept `--json` for machine-readable output.
14
15## Log in
16
17`ob login` prints the account when already logged in. Otherwise it prompts for email, password, and a 2FA code, so ask the user to run it in their own terminal. Don't ask for their password or pass it with `--password`. `ob logout` clears the stored credentials.
18
19## Vault paths
20
21Commands act on the vault in the current directory, or the one given with `--path`. Pass `--path` so the target is explicit. Before a command that changes remote state, confirm the vault, site, and path from list or status output.
22
23## Sync
24…

Excerpt shown under the repository's MIT license.

More skills in obsidian-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates