Agent skill

Obsidian Official CLI

by hashgraph-online in hashgraph-online/awesome-codex-plugins

A skill your agent uses when the user wants local Obsidian note or metadata work done primarily through documented official desktop obsidian CLI commands, with limited local vault filesystem support…

Apache-2.0Auto-check passedMarketing & SEO

Install Obsidian Official CLI

skills CLI
$ npx skills add hashgraph-online/awesome-codex-plugins --skill obsidian-official-cli -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install hashgraph-online/awesome-codex-plugins obsidian-official-cli --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/greg-asher/codex-obsidian/skills/obsidian-official-cli .claude/skills/obsidian-official-cli && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
obsidian-official-cli
GitHub stars
1.2k
Token cost
~2.2k tokens
SKILL.md length
1,057 words
Files
13 (incl. references, assets)
Skills in repo
686
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses when the user wants local Obsidian note or metadata work done primarily through documented official desktop obsidian CLI commands, with limited local vault filesystem support…

  • Works in 12 steps: Use only documented official Obsidian… → If vault= is used, place it first before… → Classify the target as one of:… → …
  • The user wants local Obsidian note
  • SKILL.md covers Routing contract, Preconditions, Codex Desktop launch rule and Execution mode rule, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Obsidian Official CLI is an agent skill from hashgraph-online/awesome-codex-plugins. Use this skill when the user wants local Obsidian note or metadata work done primarily through documented official desktop obsidian CLI commands, with limited local vault filesystem support when needed for parent folders, path checks, ambiguity resolution, verification, or safe vault structure operations. Best for local vault search, note reads, exact-path note updates, backlinks, tasks, properties, templates, and local history. Do not use it for runtime admin, devtools diagnostics, workspace/navigation…

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 15 other files, including reference files and assets (for example `agents/openai.yaml`, `references/capability-cookbook.md` and `references/limitations-and-boundaries.md`).

It sits in Marketing & SEO, covering Link building and Note-taking. It works with Obsidian and macOS. The repository describes itself as: A curated list of awesome OpenAI Codex / ChatGPT plugins, skills, and resources. The 1 Codex Marketplace. See live plugins at: https://hol.org/plugins/best-codex-plugins. The licence is Apache-2.0.

When your agent uses it

  • The user wants local Obsidian note
  • Metadata work done primarily through documented official desktop obsidian CLI commands
  • With limited local vault filesystem support when needed for parent folders
  • Ambiguity resolution

Example prompts

  • “/obsidian-official-cli”

Workflow steps

12 steps, taken from the first numbered list in SKILL.md.

  1. Use only documented official Obsidian CLI commands and parameters.
  2. If vault= is used, place it first before the command.
  3. Classify the target as one of: active-file, resolved-file, exact-path, daily-note, ambiguous, or none.
  4. Use read-only resolution first when the file target is unclear.
  5. Use file= only for loose read-only note resolution.
  6. Once the exact note is known, switch to path= for subsequent commands.
  7. Never mutate note content with file= or against an ambiguous target.
  8. Never mutate note content through implicit active-file behavior.
  9. Note-content mutations require either an exact path= or an explicit documented daily-note command such as daily:append or daily:prepend.
  10. Use minimal local filesystem operations to support the CLI when needed: check path existence, list files or folders, create missing parent…
  11. Prefer the official CLI for note-content work even when filesystem support is available.
  12. Prefer structured output when the command documents json, yaml, csv, or tsv.

What it can do on your machine

Read from SKILL.md and the folder at commit 78497e5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Obsidian Official CLI loads about 2.2k tokens when it runs, and up to ~13k if it reads all its reference files. Until then it costs about 164 tokens; SKILL.md has 1,057 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~164
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~13k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from hashgraph-online/awesome-codex-plugins at commit 78497e5, republished under its Apache-2.0 licence (© hashgraph-online). 1,057 words, ~2,216 tokens.

Download SKILL.mdSave it as .claude/skills/obsidian-official-cli/SKILL.md (or your agent's skills folder). This skill also uses 12 other files; get the full folder from GitHub.
name
obsidian-official-cli
description
Use this skill when the user wants local Obsidian note or metadata work done primarily through documented official desktop `obsidian` CLI commands, with limited local vault filesystem support when needed for parent folders, path checks, ambiguity resolution, verification, or safe vault structure operations. Best for local vault search, note reads, exact-path note updates, backlinks, tasks, properties, templates, and local history. Do not use it for runtime admin, devtools diagnostics, workspace/navigation administration, community tools, `obsidian://` launcher tasks, Headless Sync or Publish workflows, or plugin-specific APIs.

Obsidian Official CLI

Use this skill for local Obsidian vault work through the official desktop obsidian CLI only.

Routing contract

Use this skill when:

  • the user explicitly wants the official desktop Obsidian CLI
  • the task is local vault note, link, task, property, template, or local history work
  • the request can be satisfied with documented obsidian commands

Do not use this skill when:

  • the request is primarily arbitrary markdown editing rather than an Obsidian workflow
  • the request is about Headless Sync, Publish, or any non-desktop official surface
  • the request is about runtime admin, devtools diagnostics, or workspace/navigation administration
  • the request is explicitly a named one-command workflow ID (route to obsidian-cli-workflows)
  • the request is about obsidian:// launchers, plugin APIs, or community tooling

Preconditions

Assume these must be true before relying on this skill:

  • the obsidian command is installed and on the system path
  • Obsidian desktop CLI has been enabled and registered
  • the desktop app is available locally
  • the first CLI command may launch Obsidian if it is not already running
  • the target vault path may live outside Codex writable roots, which changes how mutations must be executed
  • in Codex Desktop on macOS, direct obsidian ... child-process launches may inherit app identity variables from Codex and crash during AppKit / LaunchServices registration

Codex Desktop launch rule

When this skill is used from Codex Desktop on macOS, do not invoke obsidian directly first. Prefer the Codex-safe wrapper form below:

bash
script -q /dev/null /usr/local/bin/zsh -ilc 'unset __CFBundleIdentifier LaunchInstanceID XPC_SERVICE_NAME CODEX_CI CODEX_SANDBOX CODEX_SHELL; export TERM=xterm-256color; obsidian ...'

Why:

  • direct launches from the Codex app environment can crash before CLI handling begins
  • the crash is caused by inherited Cocoa / app identity state, not by vault permissions or note content
  • the sanitized script + login shell wrapper has been validated to run obsidian version and real CLI commands from Codex successfully

If the user is in a normal terminal outside Codex, plain obsidian ... may still work fine.

Execution mode rule

Separate these two decisions:

  • command form: in Codex Desktop on macOS, use the sanitized wrapper instead of raw obsidian ...
  • privilege mode: use normal in-sandbox execution unless the wrapped command fails for write-permission reasons or a required support step cannot run in-sandbox

When escalation is required, escalate the wrapped command, not the raw obsidian command.

Enhanced wrapped execution form:

text
functions.exec_command(
  cmd="script -q /dev/null /usr/local/bin/zsh -ilc 'unset __CFBundleIdentifier LaunchInstanceID XPC_SERVICE_NAME CODEX_CI CODEX_SANDBOX CODEX_SHELL; export TERM=xterm-256color; obsidian vault=<vault> <command>'",
  sandbox_permissions="require_escalated",
  justification="<short user-facing reason>",
  prefix_rule=["script","-q","/dev/null","/usr/local/bin/zsh","-ilc"]
)

Use this enhanced form when:

  • the target vault is outside writable roots and the wrapped CLI mutation fails for write-permission reasons
  • a supporting filesystem step for the vault workflow requires escalation
  • GUI-app launch or IPC access is blocked by the Codex sandbox and the wrapped command is important to the user's request

Core operating policy

  1. Use only documented official Obsidian CLI commands and parameters.
  2. If vault= is used, place it first before the command.
  3. Classify the target as one of: active-file, resolved-file, exact-path, daily-note, ambiguous, or none.
  4. Use read-only resolution first when the file target is unclear.
  5. Use file= only for loose read-only note resolution.
  6. Once the exact note is known, switch to path= for subsequent commands.
  7. Never mutate note content with file= or against an ambiguous target.
  8. Never mutate note content through implicit active-file behavior.
  9. Note-content mutations require either an exact path= or an explicit documented daily-note command such as daily:append or daily:prepend.
  10. Use minimal local filesystem operations to support the CLI when needed: check path existence, list files or folders, create missing parent folders, verify results on disk, and perform safe non-content vault structure operations.
  11. Prefer the official CLI for note-content work even when filesystem support is available.
  12. Prefer structured output when the command documents json, yaml, csv, or tsv.
  13. Before the first mutation in a session, run a lightweight read-only probe such as obsidian version, read, or daily:read to confirm the CLI and app are responsive. In Codex Desktop on macOS, run that probe through the sanitized launch wrapper, not through a direct obsidian child process.
  14. If the target vault is outside Codex writable roots, try the wrapped CLI mutation first when that path is available. Request escalated execution only if the wrapped CLI mutation fails for write-permission reasons or if a required supporting shell operation cannot run in-sandbox.
  15. If a direct launch crashes from Codex Desktop on macOS, retry through the sanitized launch wrapper before concluding the CLI is unavailable.
  16. If the wrapped command still fails and the task is important, retry the wrapped command with escalated execution before concluding the CLI is unavailable.
  17. If the sanitized wrapper also fails under escalation on the initial read-only probe, stop and tell the user to open Obsidian manually before retrying.
  18. If broader local filesystem work would go beyond safe support operations, only do it when the user explicitly wants that broader approach.
  19. If a capability is outside the official desktop CLI surface, say so plainly and stop.
Show full SKILL.md (268 more words)Show less

Resolution policy

  • If the request already provides an exact vault-relative path, use path= immediately.
  • If the request is specifically about today's daily note, use the documented daily:* command family and classify the target as daily-note.
  • If the request only provides a note name, resolve read-only first with search or file discovery.
  • If multiple notes could match, surface the ambiguity and stop before any mutation.
  • If no file or path is supplied, only read-only commands may act on the active file.
  • If a documented CLI mutation needs a missing parent folder, use the smallest safe step that makes the CLI path succeed. If the CLI works directly, keep using it. If it fails specifically because the parent folder is missing, create the parent folder locally and retry.

Response contract

Always return:

  • the official Obsidian capability used
  • the target mode: active-file, resolved-file, exact-path, daily-note, ambiguous, or none
  • the execution mode: direct or escalated
  • whether local filesystem support was used
  • the exact command or commands proposed or run
  • whether structured output was used when available
  • the files affected, if any
  • why escalation was required, when escalation is used
  • the blocking reason when clarification or refusal is required

Command families

Read and inspect:

  • read
  • file
  • files
  • folder
  • folders
  • outline
  • search
  • search:context

Create and modify:

  • create
  • append
  • prepend
  • daily
  • daily:path
  • daily:read
  • daily:append
  • daily:prepend
  • move
  • rename
  • delete

Links and structure:

  • backlinks
  • links
  • unresolved
  • orphans
  • deadends

Tasks and metadata:

  • tasks
  • task
  • properties
  • property:read
  • property:set
  • property:remove
  • aliases
  • tags

Templates and history:

  • templates
  • template:read
  • template:insert
  • history
  • history:list
  • history:read
  • history:restore
  • diff

References

For command patterns, capability examples, and manual validation workflows, use:

  • references/obsidian-cli-command-playbook.md
  • references/capability-cookbook.md
  • references/limitations-and-boundaries.md
  • references/validation.md
  • references/maintenance-notes.md
  • references/source-links.md

© hashgraph-online, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 12 other files (references, assets) in plugins/greg-asher/codex-obsidian/skills/obsidian-official-cli of hashgraph-online/awesome-codex-plugins.

  • SKILL.md
  • agents/openai.yaml
  • assets/eval-prompts.csv
  • references/capability-cookbook.md
  • references/limitations-and-boundaries.md
  • references/maintenance-notes.md
  • references/obsidian-cli-capability-inventory-2026-04-21.md
  • references/obsidian-cli-command-playbook.md
  • references/obsidian-cli-skill-catalog-brainstorm-2026-04-21.md
  • references/obsidian-cli-skill-routing-matrix-2026-04-21.md
  • references/one-command-workflow-candidates-2026-04-21.md
  • references/source-links.md
  • references/validation.md

Open the folder on GitHubat commit 78497e5

Compare with similar skills

Obsidian Official CLI next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Obsidian Official CLI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Obsidian Official CLI this skillhashgraph-online/awesome-codex-plugins1.2k—~2.2kAutomated safety check: PassApache-2.0
Webobsidianxnohat/webobsidian268—~2.1kAutomated safety check: PassMIT
Obsidian Layout AdjustmentAr9av/obsidian-wiki3.5k—~2.5kAutomated safety check: PassMIT
Conducty Contextrobertbarclayy/conducty176—~3.7kAutomated safety check: PassMIT
Compressiurykrieger/claude-bedrock1051 repos~9.9kAutomated safety check: WarnMIT
Obsidiansteipete/agent-scripts7.3k—~916Automated safety check: PassMIT

Similar skills

  • Webobsidian

    xnohat/webobsidian

    Read, write, search, and manage notes in a WebObsidian vault through its Agent REST API (/api/v1).

    268 GitHub stars~2.1k tokensUpdated 3 mo ago
    Marketing & SEOAuto-check passed
  • Obsidian Layout Adjustment

    Ar9av/obsidian-wiki

    Adjust the user's Obsidian visual layout with CSS snippets. An agent skill from Ar9av/obsidian-wiki.

    3.5k GitHub stars~2.5k tokensUpdated yesterday
    Marketing & SEOAuto-check passed
  • Conducty Context

    robertbarclayy/conducty

    Ingest a project directory into the Obsidian vault as a linked context sub-graph — Architecture, Conventions, Invariants, Hotspots, Tests, Glossary, plus per-bounded-context module notes.

    176 GitHub stars~3.7k tokensUpdated 3 mo ago
    Marketing & SEOAuto-check passed
  • Compress

    iurykrieger/claude-bedrock

    Vault alignment engine. An agent skill from iurykrieger/claude-bedrock.

    105 GitHub starsUsed in 1 repo~9.9k tokens
    Marketing & SEOAuto-check: warnings
  • Obsidian

    steipete/agent-scripts

    Obsidian vault: search/read/write notes, backlinks, Bases, Canvas.

    7.3k GitHub stars~916 tokensUpdated 3 days ago
    Marketing & SEOAuto-check passed
  • SPD V2 Quality. An agent skill from flaqai/backlink_skills.

    752 GitHub stars~2.2k tokensUpdated 14 days ago
    Marketing & SEOAuto-check passed

More from hashgraph-online/awesome-codex-plugins

All 686 skills in this repo
  • Anime Reaction Gif

    hashgraph-online/awesome-codex-plugins

    Create original anime-style reaction stickers as looping GIFs and MP4 previews, using generated character pose sheets and timed key poses.

    1.2k GitHub stars~922 tokensUpdated today
    Auto-check passed
  • Calibredb

    hashgraph-online/awesome-codex-plugins

    Manage and query Calibre libraries with the calibredb CLI (local paths or Calibre Content server URLs).

    1.2k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Rust API Test Harness

    hashgraph-online/awesome-codex-plugins

    A skill your agent uses when adding, changing, testing, or debugging Rust HTTP APIs and services, especially when Codex needs black-box integration tests, random-port app startup, real database test…

    1.2k GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Art

    hashgraph-online/awesome-codex-plugins

    Make a studio's game look like something at build time — a cover from a real frame of the game (free), painted covers, backdrops, textures and character plates from image models through the…

    1.2k GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Game Balance Economy

    hashgraph-online/awesome-codex-plugins

    Balance game difficulty, resources, rewards, probability, progression, economies, and dominant strategies.

    1.2k GitHub stars~618 tokensUpdated today
    Auto-check passed
  • Manuscript Engagement Analytics

    hashgraph-online/awesome-codex-plugins

    Analyze nonfiction manuscripts for reader engagement signals, including heading-level word counts, slow starts, long slogs, weak takeaway titles, value pacing, beta-reader comment dropoff, and…

    1.2k GitHub stars~875 tokensUpdated today
    Auto-check passed

Works with

Questions about Obsidian Official CLI

What does Obsidian Official CLI do?

A skill your agent uses when the user wants local Obsidian note or metadata work done primarily through documented official desktop obsidian CLI commands, with limited local vault filesystem support…. Obsidian Official CLI is an agent skill from hashgraph-online/awesome-codex-plugins. Use this skill when the user wants local Obsidian note or metadata work done primarily through documented official desktop obsidian CLI commands, with limited local vault filesystem support when needed for parent folders, path checks, ambiguity resolution, verification, or safe vault structure operations.

When should I use Obsidian Official CLI?

Obsidian Official CLI fits situations like: the user wants local Obsidian note; metadata work done primarily through documented official desktop obsidian CLI commands; with limited local vault filesystem support when needed for parent folders; ambiguity resolution.

How do I install Obsidian Official CLI in Claude Code?

Run `npx skills add hashgraph-online/awesome-codex-plugins --skill obsidian-official-cli -a claude-code`. Or copy the skill folder (plugins/greg-asher/codex-obsidian/skills/obsidian-official-cli in hashgraph-online/awesome-codex-plugins) into .claude/skills/obsidian-official-cli in your project. Claude Code loads it when a task matches its description.

How do I install Obsidian Official CLI in Codex?

Run `npx skills add hashgraph-online/awesome-codex-plugins --skill obsidian-official-cli -a codex`. Or copy the skill folder (plugins/greg-asher/codex-obsidian/skills/obsidian-official-cli in hashgraph-online/awesome-codex-plugins) into .agents/skills/obsidian-official-cli in your project. Codex loads it when a task matches its description.

Can I use Obsidian Official CLI in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hashgraph-online/awesome-codex-plugins --skill obsidian-official-cli -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/obsidian-official-cli, .gemini/skills/obsidian-official-cli, .github/skills/obsidian-official-cli and .opencode/skills/obsidian-official-cli in your project.

What does Obsidian Official CLI need to run?

SKILL.md names no scripts, command-line tools or credentials: Obsidian Official CLI is instructions for the agent only.

Does Obsidian Official CLI access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Obsidian Official CLI safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Obsidian Official CLI use?

Obsidian Official CLI is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Obsidian Official CLI use?

About 2.2k tokens (SKILL.md is roughly 8.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 11k tokens, read only when the agent opens those files.

What are the alternatives to Obsidian Official CLI?

Skills that share tags, products or a category with Obsidian Official CLI: Webobsidian (xnohat/webobsidian, 268 stars), Obsidian Layout Adjustment (Ar9av/obsidian-wiki, 3.5k stars), Conducty Context (robertbarclayy/conducty, 176 stars) and Compress (iurykrieger/claude-bedrock, 105 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Obsidian Official CLI?

hashgraph-online (a GitHub organization) maintains it in hashgraph-online/awesome-codex-plugins, which has 1,242 GitHub stars. The repository holds 686 skills in this directory. The repository was last updated on October 8, 2026.

Source: hashgraph-online/awesome-codex-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.