一键导入
qmd
Search markdown knowledge bases, notes, and documentation using QMD. Use when users ask to search notes, find documents, or look up information.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Search markdown knowledge bases, notes, and documentation using QMD. Use when users ask to search notes, find documents, or look up information.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use for GitHub operations: creating issues, posting issue comments, creating draft PRs, and adding PR review comments.
Facilitate structured divergent idea generation using the SCAMPER technique (Bob Eberle). An orchestrator elicits a concrete target, applies seven transformation lenses (Substitute, Combine, Adapt, Modify, Put to another use, Eliminate, Reverse) in parallel via focused subagents, then converges into evaluated, prioritized ideas. Use when the user asks for a SCAMPER analysis, systematic ideation, or improvement ideas for an existing product, service, process, or idea.
Facilitate structured multi-perspective analysis using Edward de Bono's Six Thinking Hats. A Blue Hat orchestrator applies one hat at a time in sequence over a single shared record, using five focused hat subagents. Use when the user asks for a Six Hats or 6 hat analysis, a multi-perspective breakdown of a decision, idea, or problem, or systematic structured thinking on a topic.
Author markmap-format Markdown. Use when writing a mindmap (マインドマップ / markmap) in Markdown.
Sample skill for verifying plugin wiring. Trigger when the user asks to run the sample greeting or test the sample plugin.
Use when resolving or addressing PR review comments.
| name | qmd |
| description | Search markdown knowledge bases, notes, and documentation using QMD. Use when users ask to search notes, find documents, or look up information. |
| license | MIT |
| allowed-tools | Bash(qmd:*), mcp__qmd__* |
| compatibility | Requires qmd CLI or MCP server. |
| metadata | {"author":"tobi","version":"2.0.0","notes":"`qmd skill show` で表示される文言で CLI に関するものと、 `qmd -h` で出力される内容を元に修正している。\n"} |
Local search engine for markdown content.
qmd status
If no GPU is available (running on CPU), use only the qmd search command.
Avoid qmd query and qmd vsearch — they will be very slow without GPU acceleration.
QMD queries are either a single expand query (no prefix) or a multi-line document where every line is typed with lex:, vec:, or hyde:. This grammar matches the docs in docs/SYNTAX.md and is enforced in the CLI.
expand_query | query_document ;text | explicit_expand ;"expand:" text ;[ intent_line ] { typed_line } ;"intent:" text newline ;type ":" text newline ;"lex" | "vec" | "hyde" ;quoted_phrase | plain_text ;'"' { character } '"' ;{ character } ;"\n" ;| Type | Method | Input |
|---|---|---|
lex | BM25 | Keywords — exact terms, names, code |
vec | Vector | Question — natural language |
hyde | Vector | Answer — hypothetical result (50-100 words) |
qmd query "how does auth work" # single-line → implicit expand
qmd query $'lex: CAP theorem\nvec: consistency' # typed query document
qmd query $'lex: "exact matches" sports -baseball' # phrase + negation lex search
qmd query $'hyde: Hypothetical answer text' # hyde-only document
qmd query $'expand: question' # Explicit expand
qmd query --json --explain "q" # Show score traces (RRF + rerank blend)
qmd search "keywords" # BM25 only (no LLM)
qmd get "#abc123" # By docid
qmd multi-get "journals/2026-*.md" -l 40 # Batch pull snippets by glob
qmd multi-get notes/foo.md,notes/bar.md # Comma-separated list, preserves order
-n <num> - Max results (default 5, or 20 for --files/--json)
--all - Return all matches (pair with --min-score)
--min-score <num> - Minimum similarity score
--full - Output full document instead of snippet
-C, --candidate-limit <n> - Max candidates to rerank (default 40, lower = faster)
--no-rerank - Skip LLM reranking (use RRF scores only, much faster on CPU)
--line-numbers - Include line numbers in output
--explain - Include retrieval score traces (query --json/CLI)
--files | --json | --csv | --md | --xml - Output format
-c, --collection <name> - Filter by one or more collections
--chunk-strategy <auto|regex> - Chunking mode (default: regex; auto uses AST for code files)
-l <num> - Maximum lines per file
--max-bytes <num> - Skip files larger than N bytes (default 10240)
--json/--csv/--md/--xml/--files - Same formats as search
"connection pool" (quoted)performance -sports (minus prefix)handleError async"how does the rate limiter handle burst traffic""in the payment service, how are refunds processed"expand: question on its own lineexpand: with other typed lines — it's either a standalone expand query or a full query document