qmd

Index and search markdown documents with BM25, vector search, and LLM reranking.

1|1|Updated May 9, 2026
One-click install
npx skills add https://github.com/ldzhhxx/Hermes_offline_v2 --skill qmd-ldzhhxx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: qmd
Source: https://github.com/ldzhhxx/Hermes_offline_v2/tree/main/hermes-agent/optional-skills/research/qmd
Command: npx skills add https://github.com/ldzhhxx/Hermes_offline_v2 --skill qmd-ldzhhxx

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires nodejs@22, sqlite, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill empowers users to locally search, index, and manage personal knowledge bases, documents, and notes efficiently, reducing reliance on cloud-based services.

Core Features & Use Cases

  • Local Knowledge Base Search: Provides a powerful search function for markdown notes, documents, and meeting transcripts.
  • Hybrid Search Engine: Combines BM25 keyword search, semantic vector search, and LLM reranking for precise search results.
  • MCP Integration: Supports native integration with the Hermes Agent through MCP, allowing for seamless query handling.

Quick Start

Index your local knowledge base with qmd collection add /path/to/knowledge-base --name knowledge-base. Once indexed, search within your knowledge base using qmd query 'keyword'.

Frequently Asked Questions about qmd

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search markdown documents locally without relying on cloud services?

You can index and search markdown documents locally using a hybrid search engine that combines BM25 keyword search, semantic vector search, and LLM reranking to find precise results within your personal knowledge base.

What is hybrid search for personal knowledge bases and how does it work?

Hybrid search for personal knowledge bases combines BM25 keyword matching with semantic vector search and LLM reranking. This approach indexes local markdown and text documents to deliver precise query results without cloud dependency.

Do I need Node.js and sqlite to index local text documents for semantic search?

Yes, you need Node.js version 22 or higher and sqlite with extension support to index local text documents. Currently, sqlite extension support is available only on macOS for this local semantic search setup.

Can I integrate local document indexing with Hermes Agent through MCP?

Yes, the local document indexing tool supports native MCP integration with Hermes Agent. This allows you to handle search queries seamlessly across your indexed markdown notes and meeting transcripts within the agent environment.

How do I add a collection to my local knowledge base and query it?

To search your local knowledge base, first index a directory using the collection add command with a specified path and name. Once indexed, you can query the collection directly using your target keywords to retrieve relevant documents.

Are there limitations when using sqlite for local knowledge base search on operating systems?

Yes, a key limitation is that sqlite extension support is currently restricted to macOS only. Users on other operating systems cannot utilize the local knowledge base search functionality until sqlite extension compatibility is expanded.