Skip to content

QMD - Setup Guide

Source: tobi/qmd via skills.sh - 6.5K combined installs across 2 indexed listings; first seen 2026-11-30 (Nov 30 evening sweep)

GitHub: tobi/qmd, 31,751 stars, MIT license, branch main, last pushed 2026-11-20, not archived. Skills live in skills//SKILL.md at the repo root.

Category: Local Search and Retrieval - an on-device search engine for markdown docs, notes and knowledge bases

Quality Tier: 🟡 the qmd skill passes Gen Agent Trust Hub, Socket and Snyk, while the release skill fails Snyk.

QMD (Query Markup Documents) is an on-device search engine for everything you need to remember. It indexes markdown notes, meeting transcripts, documentation and knowledge bases, then searches them by keyword or natural language. It combines BM25 full-text search, vector semantic search and LLM re-ranking, all running locally through node-llama-cpp with GGUF models, so nothing leaves the machine.

The repo publishes two skills on skills.sh. The qmd skill teaches an agent to search and retrieve from indexed markdown collections, inspect a wiki, answer from indexed markdown, and set up QMD access. The release skill manages the project's own release process (changelog validation, git hooks, cutting releases) and is explicitly not auto-invoked by the model. QMD also ships an MCP server and a TypeScript SDK for embedding in your own Node.js or Bun apps.

Installation

npm install -g @tobilu/qmd
# or
bun install -g @tobilu/qmd
# or run directly
npx @tobilu/qmd ...
bunx @tobilu/qmd ...

Claude Code can install the plugin instead:

claude plugin marketplace add tobi/qmd
claude plugin install qmd@qmd

Requirements from the README: Node.js >= 22 or Bun >= 1.0.0. Three local GGUF models auto-download on first use: embeddinggemma-300M (about 300MB), qwen3-reranker-0.6b (about 640MB) and qmd-query-expansion-1.7B (about 1.1GB).

What It Provides

Skill Installs Use For
qmd 4,244 Searching and retrieving from local markdown docs, notes and wikis
release 2,245 Validating changelogs, installing git hooks and cutting releases

No indexed listings fall below the 2,000-install threshold; both appear above.

Why This Matters for Hermes Agents

QMD is a worked example of a retrieval stack an agent can own end to end without calling a hosted API. It fuses BM25, vector search and an LLM reranker locally, then exposes the result through a CLI, an MCP server with a small tool set (query, get, multi_get, status, metadata), and a TypeScript SDK. The --json and --files output modes are built for agentic workflows, so a Hermes agent can issue structured searches and read documents back by path or docid. The context feature attaches descriptive metadata to collections and paths, and that context is returned alongside results so an LLM can make better choices when selecting documents. For a builder, the repo is also a reference for MCP origin and host validation, which screens requests to stop DNS-rebinding attacks against a locally bound server.

Usage

You say What happens
"search my notes for X" Runs a keyword (BM25) search across indexed collections
"where did I write about deploy" Runs a semantic (vector) search over embeddings
"answer from my docs" Runs the hybrid query: expansion, BM25, vector and reranking
"set up QMD" Adds collections and contexts, then embeds them for search
"release 1.0.5" Validates the changelog, installs hooks and cuts a release

Verification

After install, confirm the index and collections are in place:

qmd status
ls ~/.config/qmd/

Review a SKILL.md before you rely on it:

curl -sL https://raw.githubusercontent.com/tobi/qmd/main/skills/qmd/SKILL.md

Each skill is a directory under skills/ with a SKILL.md; the qmd skill also ships a references/mcp-setup.md, and the release skill carries scripts/install-hooks.sh and scripts/release-context.sh.

Security

skills.sh verdicts for sampled skills (verified 2026-11-30) - re-check the security pages on skills.sh before production use:

Skill Gen Agent Trust Hub Socket Snyk
qmd Pass Pass Pass
release Pass Pass Fail

Across the two sampled skills the three scanners returned 5 Pass, 0 Warn and 1 Fail. The single Fail is Snyk on release, the not-auto-invoked maintainer skill; qmd itself passes all three.

Integration with CorpusIQ

CorpusIQ is the connector layer that lets AI assistants read the systems a business already runs on - accounting, payments, CRM, email, files and analytics - and answer with the source named. It is read-only by design: it retrieves data and never writes to, or acts in, a connected system, which is what makes it safe to point at live accounts.

This page is part of the CorpusIQ directory, the reference we maintain for the MCP server and agent-skill ecosystem. Run alongside CorpusIQ, a third-party server like this one can be combined with a company's own business data in a single answer.

See what CorpusIQ connects

Limitations

  • Snapshot data, verified 2026-11-30: 6,489 combined installs across 2 indexed listings; 31,751 GitHub stars; MIT license; last pushed 2026-11-20. Counts drift over time.
  • The release skill is a maintainer tool for the qmd repo itself and is explicitly not auto-invoked; it has no use outside developing this project.
  • The release skill carries a Snyk Fail verdict; review it before installing.
  • Local search depends on three GGUF models (about 2GB combined) that auto-download on first use; the first embed needs them.
  • Security verdicts are a point-in-time sample of two skills; re-check before production use.

Skills Catalog | Skills Marketplace

Pro Tips

  • Use qmd query for best quality (hybrid plus reranking); qmd search is the fast keyword path and qmd vsearch is semantic only.
  • Add context per collection or path (qmd context add) so results carry the description an LLM needs to pick the right document.
  • Prefer --json or --files output for agentic workflows, and pair --all with --min-score to cap the result set.
  • Run the MCP server over HTTP (qmd mcp --http) if you want a shared, long-lived server instead of per-client stdio model loading.
  • The release skill is a maintainer tool, not a general skill: install it only if you work on the qmd repo itself.

← Skills Catalog | Skills Marketplace → Powered by CorpusIQ

AI answers on your data. See where every number comes from.

Connect your tools and ask in ChatGPT, Claude, or Perplexity. Enterprise-grade answers in minutes. From $29.95/month.

Start free, no credit card
Contact Terms Privacy Pricing