← ClaudeAtlas

qmdlisted

Local hybrid search (BM25 + optional vector + LLM rerank) for any Markdown corpus — personal notes, design-system catalogs, doc trees, meeting transcripts. Use this skill whenever the user wants to search/find/retrieve content from a Markdown collection, asks 'where did I write about X', references a knowledge base, or needs to feed grounded snippets to an agent. Wraps the upstream `qmd` CLI (github.com/tobi/qmd) with sensible defaults: prefer fast `qmd search` (instant, no model load), avoid `qmd query`/`qmd vsearch` unless explicitly asked (multi-GB model downloads + slow cold starts).
vanducng/skills · ★ 0 · AI & Automation · score 76
Install: claude install-skill vanducng/skills
# qmd Local Markdown search engine: BM25 + vector + optional LLM reranking, all running on-device. This skill teaches Claude how to use it well — what mode to pick, what flags matter, what to avoid. ## Scope **Handles:** searching indexed Markdown collections, retrieving documents by path/docid/glob, registering new collections, refreshing the index. **Does NOT handle:** code search (use `grep`/`rg`), web search, structured DB queries, vector embeddings of non-Markdown formats. ## Install (one-time) ```bash # Bun (recommended by upstream) bun install -g https://github.com/tobi/qmd # OR npm npm install -g @tobilu/qmd ``` Verify: `qmd --version`. Requires `bun` (or Node ≥18) and `sqlite` (preinstalled on macOS). ## Mode selection — pick the cheapest mode that works | Mode | Speed | Model load? | Use for | |---|---|---|---| | `qmd search` | instant | none | **default** — keyword/BM25 lookup | | `qmd vsearch` | ~1 min cold | ~334MB embedding model | semantic similarity when keywords fail | | `qmd query` | slowest | +1.28GB rerank LLM | hybrid — only if user explicitly demands "best quality" and accepts wait | **Heuristic:** start with `qmd search`. If results are empty or noisy, escalate to `qmd vsearch`. Never start with `qmd query` — its multi-GB downloads surprise users on first run, and BM25 is sufficient for most collections under ~10k docs. ## Setup a new collection ```bash qmd collection add /path/to/markdown/tree --name <my-coll> --mask "**/*.md" qmd collecti