Loading...
Loading...
Local hybrid search for markdown notes and docs. Use when searching notes, finding related content, or retrieving documents from indexed collections.
npx skill4agent add alsk1992/cloddsbot qmdqmd searchqmd vsearchqmd querybrew install sqlite$HOME/.bun/binbrew install oven-sh/bun/bunbun install -g https://github.com/tobi/qmdqmd 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**/*.mdqmd searchqmd vsearchqmd queryvsearchqmd searchqmd vsearchqmd queryvsearchqmd search "query" # default
qmd vsearch "query"
qmd query "query"
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>-c, --collection <name>--all --min-score <num>--json--files--fullqmd 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" --jsonqmd status # Index health
qmd update # Re-index changed files
qmd embed # Update embeddingsqmd searchqmd updatevsearchqueryqmd embed# Hourly incremental updates (keeps BM25 fresh):
0 * * * * export PATH="$HOME/.bun/bin:$PATH" && qmd update
# Optional: nightly embedding refresh (can be slow):
0 5 * * * export PATH="$HOME/.bun/bin:$PATH" && qmd embed~/.cache/qmd/models/XDG_CACHE_HOMEqmdmemory_searchmemory_searchqmd