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 skills add ckorhonen/claude-skills --skill qmdgit clone --depth 1 https://github.com/ckorhonen/claude-skillsWrote 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/ckorhonen/claude-skills/qmd)<a href="https://agentmods.dev/skills/ckorhonen/claude-skills/qmd"><img src="https://agentmods.dev/badge/skills/ckorhonen/claude-skills/qmd/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ckorhonen/claude-skills/qmd"><img src="https://agentmods.dev/badge/skills/ckorhonen/claude-skills/qmd.svg" alt="Reviewed on agentmods" width="80" 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.00028 | $0.01431 |
| Opus 5.5 | $0.00011 | $0.00572 |
| Sonnet 5.5 | $0.00006 | $0.00286 |
| Haiku 4.5 | $0.00003 | $0.00143 |
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 2mo 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 — 169 lines — stays where its author put it; the contents beside it link to each section on GitHub.
qmd - Quick Markdown Search
Local search engine for Markdown notes, docs, and knowledge bases. Index once, search fast.
When to use (trigger phrases)
- "search my notes / docs / knowledge base"
- "find related notes"
- "retrieve a markdown document from my collection"
- "search local markdown files"
Default behavior (important)
- Prefer
qmd search(BM25). It's typically instant and should be the default. - Use
qmd vsearchonly when keyword search fails and you need semantic similarity (can be very slow on a cold start). - Avoid
qmd queryunless the user explicitly wants the highest quality hybrid results and can tolerate long runtimes/timeouts.
Search modes
| Mode | Command | Speed | Use case |
|---|---|---|---|
| BM25 (default) | qmd search |
Instant | Keyword matching |
| Vector | qmd vsearch |
~1 min cold | Semantic similarity |
| Hybrid | qmd query |
Slowest | LLM reranking (skip unless requested) |
Common commands
qmd search "query" # default - fast keyword search
qmd search "query" -c notes # search specific collection
qmd search "query" -n 10 # more results
qmd search "query" --json # JSON output
qmd search "query" --all --files --min-score 0.3
Useful options
-n <num>: number of results-c, --collection <name>: restrict to a collection--all --min-score <num>: return all matches above a threshold--json/--files: agent-friendly output formats--full: return full document content
Retrieve documents
qmd get "path/to/file.md" # Full document
qmd get "#docid" # By ID from search results
qmd multi-get "journals/2025-05*.md"
qmd multi-get "doc1.md, doc2.md, #abc123" --json
Maintenance
qmd status # Index health
qmd update # Re-index changed files
qmd embed # Update embeddings
Setup (if not installed)
# Install
bun install -g https://github.com/tobi/qmd
# Create collection
qmd collection add /path/to/notes --name notes --mask "**/*.md"
qmd context add qmd://notes "Description of this collection" # optional
qmd embed # one-time to enable vector + hybrid search
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.
- 2mo ago First seen · 169 lines · 28 tokens per session scan A 54cb3619e86d
qmd is a skill published in the GitHub repository ckorhonen/claude-skills (33 stars, last pushed 3d ago), licensed MIT. It adds 28 tokens to every session and 1,431 once invoked, about $0.0001 per session on Opus 5.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-09-03.
qmd compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| qmdckorhonen/claude-skills | Skill | 33 | 3d ago | MIT | A | 28 | Claude Code |
| llm-wikiAr9av/obsidian-wiki | Skill | 3.8k | 3d ago | MIT | A | 41 | Claude Code |
| wiki-lintAr9av/obsidian-wiki | Skill | 3.8k | 3d ago | MIT | A | 47 | Claude Code |
| wiki-exportAr9av/obsidian-wiki | Skill | 3.8k | 3d ago | MIT | A | 53 | Claude Code |
| wiki-queryAr9av/obsidian-wiki | Skill | 3.8k | 3d ago | MIT | A | 89 | Claude Code |
| wiki-statusAr9av/obsidian-wiki | Skill | 3.8k | 3d ago | MIT | A | 70 | Claude Code |
| cross-linkerAr9av/obsidian-wiki | Skill | 3.8k | 3d ago | MIT | A | 42 | Claude Code |