qmd

qmd is a skill for Claude Code from ckorhonen/claude-skills. It costs 28 tokens per session (1,431 once invoked), scanned A, original, MIT.

A local search tool for finding Markdown notes, documents, and knowledge-base entries by keywords or meaning.

In plain words
What is it for?
It helps search indexed collections, find related notes, retrieve documents, and return results as JSON.
Why use it?
It avoids manually opening files one by one when you need to locate a note or related information.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the claude-skills plugin — 62 skills, 4 commands, 7 agents shipped together

Good fit It helps search indexed collections, find related notes, retrieve documents, and return results as JSON.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ckorhonen/claude-skills/qmd
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.

Any agent
npx skills add ckorhonen/claude-skills --skill qmd
Clone the repo
git clone --depth 1 https://github.com/ckorhonen/claude-skills

Made for: Claude Code.

Or install claude-skills, the plugin that ships this one along with the rest of its 62 skills, 4 commands, 7 agents.

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 qmd

README.md
[![agentmods](https://agentmods.dev/badge/skills/ckorhonen/claude-skills/qmd/github.svg)](https://agentmods.dev/skills/ckorhonen/claude-skills/qmd)
Your own site
<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.

agentmods 80×15 button for qmd

Your own site · 80×15
<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>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,431 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.00028 $0.01431
Opus 5.5 $0.00011 $0.00572
Sonnet 5.5 $0.00006 $0.00286
Haiku 4.5 $0.00003 $0.00143

Measured 2mo ago against content hash 54cb3619e86d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

skills/qmd/SKILL.md · 169 lines

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.

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 vsearch only when keyword search fails and you need semantic similarity (can be very slow on a cold start).
  • Avoid qmd query unless 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

Read the full file on GitHub · 169 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. 2mo ago First seen · 169 lines · 28 tokens per session scan A 54cb3619e86d

Subscribe to this mod's changes

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.

Related

qmd compared with skills from other repositories

qmd next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
qmdckorhonen/claude-skillsSkill333d agoMITA28Claude Code
llm-wikiAr9av/obsidian-wikiSkill3.8k3d agoMITA41Claude Code
wiki-lintAr9av/obsidian-wikiSkill3.8k3d agoMITA47Claude Code
wiki-exportAr9av/obsidian-wikiSkill3.8k3d agoMITA53Claude Code
wiki-queryAr9av/obsidian-wikiSkill3.8k3d agoMITA89Claude Code
wiki-statusAr9av/obsidian-wikiSkill3.8k3d agoMITA70Claude Code
cross-linkerAr9av/obsidian-wikiSkill3.8k3d agoMITA42Claude Code