360 Secure SkillHub
360 安全技能中心

Qmd

qmd 是一个本地文件索引与搜索 CLI:用 collection add/update 建立索引,支持 BM25、向量与混合检索及重排,并可 get 取回文档片段;嵌入与重排依赖 Ollama(默认 http://localhost:11434),同时提供 MCP 模式。

分类:搜索
steipete
steipete
热度 85.71
最近更新 2026-09-17 05:35:54

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add steipete/qmd
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
qmd
description
Local search/indexing CLI (BM25 + vectors + rerank) with MCP mode.
homepage
https://tobi.lutke.com
metadata
{"clawdbot":{"emoji":"📝","requires":{"bins":["qmd"]},"install":[{"id":"node","kind":"node","package":"https://github.com/tobi/qmd","bins":["qmd"],"label":"Install qmd (node)"}]}}

qmd

Use qmd to index local files and search them.

Indexing

  • Add collection: qmd collection add /path --name docs --mask "**/*.md"
  • Update index: qmd update
  • Status: qmd status

Search

  • BM25: qmd search "query"
  • Vector: qmd vsearch "query"
  • Hybrid: qmd query "query"
  • Get doc: qmd get docs/path.md:10 -l 40

Notes

  • Embeddings/rerank use Ollama at OLLAMA_URL (default http://localhost:11434).
  • Index lives under ~/.cache/qmd by default.
  • MCP mode: qmd mcp.