qmd
Local search/indexing CLI (BM25 + vectors + rerank) with MCP mode.
Why use this skill?
Master your local files with qmd. A local search engine using BM25, vector embeddings, and reranking to help you retrieve info from your own documentation.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/instant-picture/qmd-1-0-0What This Skill Does
qmd is a powerful, local-first search and indexing engine designed for developers and power users who need to navigate vast local knowledge bases. It leverages a three-tiered retrieval architecture: BM25 for traditional keyword matching, vector embeddings for semantic similarity, and reranking for precision. By operating locally, qmd ensures that your private files remain on your machine while providing enterprise-grade search capabilities directly within the terminal or through an MCP (Model Context Protocol) interface.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/instant-picture/qmd-1-0-0
Ensure you have Ollama running at the default address (http://localhost:11434) to power the embedding and reranking models. The index is stored locally in ~/.cache/qmd.
Use Cases
- Project Documentation Search: Index sprawling repositories of Markdown documentation to find specific technical details across hundreds of files.
- Knowledge Management: Create a personal wiki index where semantic search retrieves notes by intent rather than just keywords.
- System Auditing: Use the MCP mode to allow OpenClaw agents to read and retrieve context from your local source code folders, enabling smarter code assistance.
- Offline Research: Analyze large datasets or text archives without relying on cloud-based search APIs, ensuring data privacy and speed.
Example Prompts
- "Index the current project directory using the collection name 'dev-docs' and include only markdown files."
- "Search for the semantic meaning of 'authentication middleware' across my notes using hybrid search."
- "Retrieve the contents of the 'api-ref.md' file starting at line 10 for 40 lines to help me debug the request header issue."
Tips & Limitations
- Performance: For large directories, use the
--maskparameter effectively to ignore node_modules or binary files, which will significantly speed up indexing and reduce noise. - Ollama Dependency: qmd relies on Ollama. If search latency is high, ensure the model loaded in Ollama is efficient (e.g., a lightweight embedding model).
- Limitations: As a local tool, index updates are not automatic. Remember to run
qmd updatewhenever significant changes are made to your source files. The accuracy of semantic search is dependent on the quality of the embedding model configured in your environment.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-instant-picture-qmd-1-0-0": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, file-write, external-api
Related Skills
clonev
Clone any voice and generate speech using Coqui XTTS v2. SUPER SIMPLE - provide a voice sample (6-30 sec WAV) and text, get cloned voice audio. Supports 14+ languages. Use when the user wants to (1) Clone their voice or someone else's voice, (2) Generate speech that sounds like a specific person, (3) Create personalized voice messages, (4) Multi-lingual voice cloning (speak any language with cloned voice).
ddg
Use ddgr (DuckDuckGo from the terminal) to perform privacy-focused web searches from the command line. Use when the user wants to (1) Search the web from the terminal, (2) Perform DuckDuckGo searches without opening a browser, (3) Get quick search results in text format, (4) Search privately without tracking, (5) Use DuckDuckGo bangs (!) from terminal.