obsidian-qa

obsidian-qa is a command for Claude Code from cwaits6/obsidian-cli-skill. It costs 0 tokens per session (2,070 once invoked), scanned B, original, MIT.

A command that runs the complete quality-check suite for the Obsidian command-line tool against a registered test vault. Obsidian is a note-taking application that stores notes in a vault.

In plain words
What is it for?
It helps verify a newly installed skill version, run parallel and sequential tests, save timestamped reports, and reset test data.
Why use it?
It checks many CLI operations consistently and preserves the test results while restoring the test vault afterward.

Command for Claude Code

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.

agentmods
npx agentmods add commands/cwaits6/obsidian-cli-skill/obsidian-qa
Clone the repo
git clone --depth 1 https://github.com/cwaits6/obsidian-cli-skill

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-qa

README.md
[![agentmods](https://agentmods.dev/badge/commands/cwaits6/obsidian-cli-skill/obsidian-qa.svg)](https://agentmods.dev/commands/cwaits6/obsidian-cli-skill/obsidian-qa)
Your own site
<a href="https://agentmods.dev/commands/cwaits6/obsidian-cli-skill/obsidian-qa"><img src="https://agentmods.dev/badge/commands/cwaits6/obsidian-cli-skill/obsidian-qa.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 2,070 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
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 $0.00000 $0.02070
Opus 5 $0.00000 $0.01035
Sonnet 5 $0.00000 $0.00414
Haiku 4.5 $0.00000 $0.00207

Measured 4d ago against content hash 362ec450feb7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

obsidian-qa scanned grade B with 1 finding 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 4d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

SKILL_VERSION=$(grep '"version"' ~/.claude/plugins/marketplaces/obsidian-cli-skill/plugins/obsidian-cli/.claude-plugin/plugin.json 2>/dev/null | head -1 | grep -o '"[^"]*"' | tail -1 | tr -d '"' || echo "unknown")
.claude/commands/obsidian-qa.md · 244 lines

How it starts

The opening of the file, as written. The whole thing — 244 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Run the full Obsidian CLI QA harness. Tests run directly against the registered test vault so the Obsidian CLI can operate against it. Results are snapshotted into a timestamped report dir at the end, then the fixture is restored via git.

Run only after the latest skill version is installed.


Setup

TIMESTAMP=$(date +%Y-%m-%d-%H%M)
REPORT_DIR="$(pwd)/qa/reports/qa-$TIMESTAMP"
mkdir -p "$REPORT_DIR"
VAULT_PATH="$(pwd)/qa/fixtures/test_vault"
CONFIG_PATH="$(pwd)/qa/fixtures/config.yaml"
SKILL_VERSION=$(grep '"version"' ~/.claude/plugins/marketplaces/obsidian-cli-skill/plugins/obsidian-cli/.claude-plugin/plugin.json 2>/dev/null | head -1 | grep -o '"[^"]*"' | tail -1 | tr -d '"' || echo "unknown")

Copy the example config and set vault_path to the test vault:

cp plugins/obsidian-cli/config.yaml.example "$CONFIG_PATH"
# Set vault_path to VAULT_PATH in config.yaml

The fixture vault at qa/fixtures/test_vault is registered with Obsidian, so CLI commands will actually persist to disk. All tests modify this vault directly. After the run, the fixture is restored.


Phase 1 — Parallel Tests

Launch all of the following in parallel using the Task tool with general-purpose subagents. Each subagent invokes the obsidian-cli skill, auto-approves any proposals, and returns a completion marker with a brief summary.

These tests touch different parts of the vault and can safely run at the same time.

T1 — Enrich Inbox

Invoke the obsidian-cli skill:

"Set frontmatter on everything in my Inbox folder — assign type and topic based on each note's content. My config is at <CONFIG_PATH>"

Auto-approve the proposal. If any CLI command fails, do not write files directly — report the exact CLI error and return [T1_FAIL]. Return [T1_COMPLETE] only if all changes were applied via the Obsidian CLI, with each file and the type/topic assigned.

T2 — Create Daily Template

Invoke the obsidian-cli skill:

"Create a daily note template with date, tags, and a section for notes of the day. My vault is at <VAULT_PATH>"

Read the full file on GitHub · 244 lines

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. 4d ago First seen · 244 lines · 0 tokens per session scan B 362ec450feb7

Subscribe to this mod's changes

obsidian-qa is a command published in the GitHub repository cwaits6/obsidian-cli-skill (3 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,070 tokens. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.