From c118efa582b0c71758e68e0488e9b7c45e3f21c4 Mon Sep 17 00:00:00 2001 From: zlei9 Date: Sun, 29 Mar 2026 14:26:11 +0800 Subject: [PATCH] Initial commit with translated description --- SKILL.md | 26 ++++++++++++++++++++++++++ _meta.json | 6 ++++++ 2 files changed, 32 insertions(+) create mode 100644 SKILL.md create mode 100644 _meta.json diff --git a/SKILL.md b/SKILL.md new file mode 100644 index 0000000..d80559a --- /dev/null +++ b/SKILL.md @@ -0,0 +1,26 @@ +--- +name: qmd +description: "本地搜索/索引CLI(BM25 + 向量 + 重新排序)。" +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`. diff --git a/_meta.json b/_meta.json new file mode 100644 index 0000000..d06832b --- /dev/null +++ b/_meta.json @@ -0,0 +1,6 @@ +{ + "ownerId": "kn70pywhg0fyz996kpa8xj89s57yhv26", + "slug": "qmd", + "version": "1.0.0", + "publishedAt": 1767545374981 +} \ No newline at end of file