From sundial-org-awesome-openclaw-skills-4
Search and retrieve markdown documents from local knowledge bases using qmd. Supports BM25 keyword search, vector semantic search, and hybrid search with LLM re-ranking.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sundial-org-awesome-openclaw-skills-4:qmd-4The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Search and retrieve documents from locally indexed markdown knowledge bases.
Search and retrieve documents from locally indexed markdown knowledge bases.
bun install -g https://github.com/tobi/qmd
# Add a collection
qmd collection add ~/notes --name notes --mask "**/*.md"
# Generate embeddings (required for vsearch/query)
qmd embed
Always use --json flag for structured output when invoking qmd commands.
qmd search "authentication flow" --json
qmd search "error handling" --json -n 10
qmd search "config" --json -c notes
qmd vsearch "how does login work" --json
qmd vsearch "authentication best practices" --json -n 20
qmd query "implementing user auth" --json
qmd query "deployment process" --json --min-score 0.5
| Option | Description |
|---|---|
-n NUM | Number of results (default: 5, or 20 with --json) |
-c, --collection NAME | Restrict to specific collection |
--min-score NUM | Minimum score threshold |
--full | Return complete document content in results |
--all | Return all matches |
qmd get docs/guide.md --json
qmd get "#a1b2c3" --json
qmd get notes/meeting.md:50 -l 100 --json
qmd multi-get "docs/*.md" --json
qmd multi-get "api.md, guide.md, #abc123" --json
qmd multi-get "notes/**/*.md" --json --max-bytes 20480
qmd update # Re-index changed files
qmd status # Check index health
qmd collection list # List all collections
| Mode | Speed | Quality | Best For |
|---|---|---|---|
| search | Fast | Good | Exact keywords, known terms |
| vsearch | Medium | Better | Conceptual queries, synonyms |
| query | Slow | Best | Complex questions, uncertain terms |
Performance note: vsearch and query have ~1 minute cold start latency for vector initialization. Prefer search for interactive use.
qmd can run as an MCP server for direct integration:
qmd mcp
Exposes tools: qmd_search, qmd_vsearch, qmd_query, qmd_get, qmd_multi_get, qmd_status
npx claudepluginhub sundial-org/awesome-openclaw-skillsProvides qmd CLI syntax for keyword, semantic, and hybrid search across markdown knowledge bases, documentation, or notes. Use for conceptual matching when grep lacks precision.
Searches local Markdown notes and docs using BM25 keyword search, vector similarity, or hybrid LLM-reranked queries. Indexes collections for fast retrieval.
Local hybrid search for markdown notes and docs. Use when searching notes, finding related content, or retrieving documents from indexed collections.