Skills qmd
Fast local search for markdown files, notes, and docs using qmd CLI. Use instead of `find` for file discovery. Combines BM25 full-text search, vector semantic search, and LLM reranking—all running locally. Use when searching for files, finding code, locating documentation, or discovering content in indexed collections.
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/bheemreddy181/qmd-local-search" ~/.claude/skills/openclaw-skills-qmd-6f8ee8 && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/bheemreddy181/qmd-local-search" ~/.openclaw/skills/openclaw-skills-qmd-6f8ee8 && rm -rf "$T"
manifest:
skills/bheemreddy181/qmd-local-search/SKILL.mdsource content
qmd — Fast Local Markdown Search
When to Use
- Finding files — use instead of
across large directories (avoids hangs)find - Searching notes/docs — semantic or keyword search in indexed collections
- Code discovery — find implementations, configs, or patterns
- Context gathering — pull relevant snippets before answering questions
Quick Reference
Search (most common)
# Keyword search (BM25) qmd search "alpaca API" -c projects # Semantic search (understands meaning) qmd vsearch "how to implement stop loss" # Combined search with reranking (best quality) qmd query "trading rules for breakouts" # File paths only (fast discovery) qmd search "config" --files -c kell # Full document content qmd search "pattern detection" --full --line-numbers
Collections
# List collections qmd collection list # Add new collection qmd collection add /path/to/folder --name myproject --mask "*.md,*.py" # Re-index after changes qmd update
Get Files
# Get full file qmd get myproject/README.md # Get specific lines qmd get myproject/config.py:50 -l 30 # Get multiple files by glob qmd multi-get "*.yaml" -l 50 --max-bytes 10240
Output Formats
— paths + scores (for file discovery)--files
— structured with snippets--json
— markdown formatted--md
— limit results-n 10
Tips
- Always use collections (
) to scope searches-c name - Run
after adding new filesqmd update - Use
to enable vector search (one-time, takes a few minutes)qmd embed - Prefer
overqmd search --files
for large directoriesfind
Models (auto-downloaded)
- Embedding: embeddinggemma-300M
- Reranking: qwen3-reranker-0.6b
- Generation: Qwen3-0.6B
All run locally — no API keys needed.