skills/qmd/SKILL.md
Local hybrid search for markdown notes and docs. Use when searching notes, finding related content, or retrieving documents from indexed collections.
npx skillsauth add ckorhonen/claude-skills qmdInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Local search engine for Markdown notes, docs, and knowledge bases. Index once, search fast.
qmd search (BM25). It's typically instant and should be the default.qmd vsearch only when keyword search fails and you need semantic similarity (can be very slow on a cold start).qmd query unless the user explicitly wants the highest quality hybrid results and can tolerate long runtimes/timeouts.| 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) |
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
-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 contentqmd 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
qmd status # Index health
qmd update # Re-index changed files
qmd embed # Update embeddings
# 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
qmd search is typically instantqmd vsearch can be ~1 minute on cold start (loads local LLM for query expansion)qmd query adds LLM reranking on top of vsearch, even slowerProblem: Broad queries like "notes" or "project" return hundreds of low-relevance matches.
Solution:
qmd search "Python async context managers" not qmd search "Python"qmd search "deadline March quarterly review"qmd search "exact phrase match"qmd search "query" --all --min-score 0.5 to filter low-confidence matchesProblem: Newly created or recently modified files don't appear in search results.
Solution:
# Check index status
qmd status
# Re-index all changed files
qmd update
# Full re-index if update doesn't help
qmd collection remove <name>
qmd collection add /path/to/notes --name <name> --mask "**/*.md"
qmd embed # if vector search enabled
Problem: Search doesn't find files because the collection mask is too narrow or collection path is wrong.
Solution:
# List current collections
qmd status
# Verify collection path matches your notes location
# If path changed, re-add collection:
qmd collection remove <old-name>
qmd collection add /path/to/notes --name <name> --mask "**/*.md"
# Common issue: subdirectories excluded by mask
# If notes are in journals/2025/*, use: --mask "**/*.md"
# Not: --mask "*.md" (which only matches top level)
Problem: qmd query or qmd vsearch hangs or times out on large knowledge bases (1000+ files).
Solution:
qmd query on large vaults (LLM reranking is too slow)qmd search instead (BM25 is fast even on huge collections)qmd vsearch with -n 5 to limit results-c <collection> to search one collection instead of all:
qmd search "query" -c notes -n 5 # faster than searching all collections
Problem: qmd status shows "No collections" or qmd search returns no results.
Solution:
# Install qmd if missing
bun install -g https://github.com/tobi/qmd
# Set up a collection
qmd collection add /path/to/notes --name notes --mask "**/*.md"
# Enable vector search (optional but recommended)
qmd embed
# Verify setup
qmd status # Should show your collection with file count
Problem: Vector search matches by topic but misses what you actually wanted.
Solution:
qmd search (BM25 keyword matching is more precise for specific terms)qmd query if available (adds LLM reranking), but only if you can tolerate slow runtime-n 3 to get fewer, higher-confidence matches from vector searchdocumentation
Create or expand an Idea.md / IDEA.md file from a rough description, existing repo, conversation history, notes, or other early-stage product inputs. Use when the user asks to "write an Idea.md", "turn this into an idea file", "capture this product idea", "expand this concept", or wants a repo-grounded concept brief before validation, PRD, or implementation work.
development
Write structured implementation plans from specs or requirements before touching code. Use when given a spec, requirements doc, or feature description, when user says "plan this out", "write a plan for", "how should we implement", or before starting any multi-step coding task.
testing
Expert guidance for video editing with ffmpeg, encoding best practices, and quality optimization. Use when working with video files, transcoding, remuxing, encoding settings, color spaces, or troubleshooting video quality issues.
development
Opinionated constraints for building better interfaces with agents. Use when building UI components, implementing animations, designing layouts, reviewing frontend accessibility, or working with Tailwind CSS, motion/react, or accessible primitives like Radix/Base UI.