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 via CLI (Recommended)
clawhub install openclaw/skills/skills/bheemreddy181/qmd-searchWhat This Skill Does
The qmd skill acts as a high-performance local intelligence engine for your filesystem. Unlike standard command-line tools like 'find' or 'grep' which rely on literal string matching, qmd integrates three distinct search methodologies: BM25 keyword matching, vector-based semantic retrieval, and local LLM-powered reranking. By indexing your directories, the tool creates a searchable knowledge graph on your local machine, allowing the OpenClaw agent to retrieve relevant information from markdown notes, documentation, or codebase snippets without ever sending data to an external server. It effectively turns your unstructured local files into a queryable database.
Installation
To integrate this skill, use the ClawHub package manager. Run the following command in your terminal:
clawhub install openclaw/skills/skills/bheemreddy181/qmd-search
Ensure you have sufficient disk space to accommodate the local embedding and reranking models (embeddinggemma-300M, qwen3-reranker-0.6b, and Qwen3-0.6B) which will be downloaded upon the initial initialization of the skill.
Use Cases
- Documentation Retrieval: Quickly locate specific API definitions or setup instructions across large documentation folders using semantic queries rather than guessing file names.
- Code Exploration: Identify implementation patterns or configurations within large repositories where standard 'find' commands return too many irrelevant noise results.
- Knowledge Management: Search personal notes, journals, or research files by concept. For example, asking about 'machine learning best practices' will surface relevant snippets even if the exact keywords are not present in every file.
- Rapid Discovery: Replace slow, recursive system find commands with indexed lookup for instantaneous project file identification.
Example Prompts
- "Use qmd to search the 'projects' collection for any notes related to setting up Docker for local development."
- "I need to find the implementation logic for the user authentication middleware. Search the codebase and extract the relevant code snippets."
- "Search my notes for information on 'project architecture' and provide a summary of the findings using the retrieved context."
Tips & Limitations
- Indexing is Mandatory: Always run
qmd updatewhenever you add significant amounts of new content to your indexed folders to ensure the vector store remains accurate. - Scoping: Leverage the
-cflag for collections to prevent searching through irrelevant directories, which improves both speed and result relevance. - Resource Usage: Because this tool runs heavy local models, initial embedding creation can be resource-intensive. Perform this during idle hours.
- Limitation: The current version is optimized for text-heavy files (Markdown/Python/Text). Binary files and highly compressed formats are not supported.
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-bheemreddy181-qmd-search": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read