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.
npx agentmods add skills/superuser-pal/awesome-second-brain/qmdnpx skills add superuser-pal/awesome-second-brain --skill qmdgit clone --depth 1 https://github.com/superuser-pal/awesome-second-brainWrote 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.
[](https://agentmods.dev/skills/superuser-pal/awesome-second-brain/qmd)<a href="https://agentmods.dev/skills/superuser-pal/awesome-second-brain/qmd"><img src="https://agentmods.dev/badge/skills/superuser-pal/awesome-second-brain/qmd.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00073 | $0.00660 |
| Opus 5 | $0.00036 | $0.00330 |
| Sonnet 5 | $0.00015 | $0.00132 |
| Haiku 4.5 | $0.00007 | $0.00066 |
Grade A, and why
qmd 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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 45 lines — stays where its author put it; the contents beside it link to each section on GitHub.
QMD — Vault Semantic Search
Before reading vault files directly, search with QMD first. It returns relevant snippets without burning context on full file reads.
Workflow Routing
| Workflow | Trigger | File |
|---|---|---|
| ask | When user runs /ask or asks a complex question needing direct answers |
../commands/qmd/ask.md |
| search | When user runs /search or asks for a list of results |
../commands/qmd/search.md |
| context | When user runs /context or asks for all context on a topic |
../commands/qmd/context.md |
| reindex | When user runs /reindex or needs to refresh the QMD index manually |
../commands/qmd/reindex.md |
Commands
Search (pick one per query)
qmd query "..." --json -n 10— Best quality. Hybrid BM25 + vector + LLM reranking. Use for complex or conceptual queries.qmd search "..." --json -n 10— Fast BM25 keyword. Use for exact terms, names, ticket numbers, dates.qmd vsearch "..." --json -n 5— Semantic only. Use for exploratory queries where you don't know the exact words.
Retrieve
qmd get "path/to/file.md"— Full document by path.qmd get "#docid"— Full document by ID (from search results).qmd multi-get "work/06_ORG/PEOPLE.md" --json— Batch retrieve people context.
Index Management
qmd update— Re-index after file changes (fast, ~1-2s incremental).qmd embed— Regenerate vector embeddings (slower, run after bulk changes).
When to Search
- User mentions a past decision, incident, person, project →
qmd query - User asks "what did we decide about X" →
qmd query - User mentions a person by name →
qmd search "<name>" - Before creating a new note →
qmd vsearch "<topic>"to check for existing content - After creating a note →
qmd vsearch "<note title>"to find notes that should link to it - Loading context for review prep →
qmd get "work/05_REVIEW/EVIDENCE.md" - Loading 1-on-1 context →
qmd search "<person name> 1-1"
After Bulk Changes
Run qmd update && qmd embed to keep the index fresh. The SessionStart hook does qmd update automatically, but qmd embed should be run explicitly after sessions that create many notes.
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.
- 6d ago First seen · 45 lines · 73 tokens per session scan A 8e7c6bf6adfb
qmd is a skill published in the GitHub repository superuser-pal/awesome-second-brain (14 stars, last pushed 4mo ago), licensed MIT. It adds 73 tokens to every session and 660 once invoked, about $0.0004 per session on Opus 5. 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-08-30.
Other skills, from other repositories
save
Save a user-selected answer, decision, insight, or session summary into an Obsidian vault as one reviewed transaction. Use only when the user explicitly asks to preserve specific conversation content, not when they supply a file or URL to ingest. Triggers: /save, save this, save that answer, file this conversation…
wiki-retrieve
Build and query a vault-local contextual BM25 retrieval index with optional multilingual Nomic cosine reranking; use for retrieve, hybrid retrieval, BM25, rerank, contextual retrieval, chunk search, vault search, semantic search, find relevant passages, or retrieval diagnostics. Derived caches stay under .vault-meta…
obsidian-bases
Explain, draft, and validate Obsidian Bases .base files with filters, formulas, properties, summaries, and table, card, or list views. Use for Obsidian Bases, database-like vault views, dynamic tables, reading lists, task trackers, filters, formulas, summaries, and .base file edits.
wiki-fold
Create a bounded, extractive, structurally idempotent rollup of recent Obsidian wiki log entries, with dry-run preview by default and one optional transaction apply. Use for manual log compression without modifying child pages. Triggers: fold the log, run a fold, run wiki-fold, log rollup, roll up log entries, commit…
wiki-mode
Read or configure the vault filing methodology and suggest destinations for planned knowledge creation under Generic, LYT, PARA, or Zettelkasten. Use for wiki mode, methodology mode, what is my vault mode, set vault mode, switch to PARA, use LYT, Zettelkasten setup, change mode, configure mode, or methodology routing.…
wiki-cli
Detect and use the official Obsidian command-line interface for read-only vault access; use for wiki-cli, Obsidian CLI, Obsidian read, Obsidian search, vault transport, which transport, transport detection, backlinks, tags, or Obsidian command line. Mutations always go through the claude-obsidian transaction core.