obsidian-compatible-commands

obsidian-compatible-commands is a command for Claude Code from appleweiping/WEIPING_WIKI. It costs 0 tokens per session (500 once invoked), scanned A, original, MIT.

A set of command-line tools for working with an Obsidian knowledge vault, including search, page previews, outlines, backlinks, tags, properties, and tasks. Obsidian is an app for linked notes.

In plain words
What is it for?
Use it to find notes, view a page structure, inspect incoming or outgoing links, list tags and properties, and review tasks in a vault.
Why use it?
It lets an agent inspect and navigate notes without opening the Obsidian interface. It also exposes connections between pages and unlinked mentions.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it to find notes, view a page structure, inspect incoming or…

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/appleweiping/weiping_wiki/obsidian-compatible-commands
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/appleweiping/WEIPING_WIKI

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for obsidian-compatible-commands

README.md
[![agentmods](https://agentmods.dev/badge/commands/appleweiping/weiping_wiki/obsidian-compatible-commands.svg)](https://agentmods.dev/commands/appleweiping/weiping_wiki/obsidian-compatible-commands)
Your own site
<a href="https://agentmods.dev/commands/appleweiping/weiping_wiki/obsidian-compatible-commands"><img src="https://agentmods.dev/badge/commands/appleweiping/weiping_wiki/obsidian-compatible-commands.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 500 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00500
Opus 5 $0.00000 $0.00250
Sonnet 5 $0.00000 $0.00100
Haiku 4.5 $0.00000 $0.00050

Measured 3d ago against content hash d2844d7f5581, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

obsidian-compatible-commands scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

wiki/commands/obsidian-compatible-commands.md · 35 lines

What it actually says

Obsidian-Compatible Commands

Generated by python scripts/wiki.py obsidian export.

Obsidian feature Command Purpose
Search python scripts/wiki.py search <query> Find files in the vault.
Quick switcher / context python scripts/wiki.py context L1 --query <query> Open a compact context pack around a topic.
Quick switcher python scripts/wiki.py obsidian quick <query> Find likely pages by title, id, alias, or body.
Backlinks python scripts/wiki.py obsidian backlinks <page> Show linked backlinks and unlinked mentions.
Outgoing links python scripts/wiki.py obsidian outgoing <page> Show resolved and unresolved outgoing links.
Outline python scripts/wiki.py obsidian outline <page> Show heading tree for a page.
Page preview python scripts/wiki.py obsidian preview <page> Show a short hover-style preview.
Tags view python scripts/wiki.py obsidian tags List tags and tagged pages.
Properties view python scripts/wiki.py obsidian properties Summarize frontmatter properties and inferred types.
Tasks python scripts/wiki.py obsidian tasks Scan Markdown checkbox tasks.
Daily notes python scripts/wiki.py obsidian daily Create a dated daily note from the template.
Unique note creator python scripts/wiki.py obsidian unique --title <title> Create a timestamped inbox note.
Random note python scripts/wiki.py obsidian random Pick a random wiki page.
Word count python scripts/wiki.py obsidian word-count Show word and character counts.
Footnotes view python scripts/wiki.py obsidian footnotes Audit footnote definitions and references.
Slides python scripts/wiki.py obsidian slides <page> Export a note-derived Markdown slide deck.
Bases / Canvas / Bookmarks / Workspaces python scripts/wiki.py obsidian export Regenerate Obsidian vault artifacts.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 35 lines · 0 tokens per session scan A d2844d7f5581

Subscribe to this mod's changes

obsidian-compatible-commands is a command published in the GitHub repository appleweiping/WEIPING_WIKI (122 stars, last pushed 11d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 500 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.