# Qmd

> Use qmd for workspace search — hybrid BM25+vector search with Qwen3-4B reranking over indexed workspace documents. Not to be confused with Quarto documents (.qmd files).

- Skill: `lanej/qmd` (Agent Skill)
- Install (CLI): `npx skillmds@latest add lanej/qmd`
- Raw SKILL.md: https://api.skillmd.com/api/skills/lanej/qmd/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: lanej (https://skillmd.com/u/lanej)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/lanej/qmd

---

# QMD — Workspace Search

QMD is the workspace search tool. Not to be confused with Quarto documents (`.qmd` extension).

## MCP Tools

- `query(searches, intent, limit)` — Hybrid search with expansion + reranking. Best for most queries.
- `get(file)` — Fetch a document by path or docid.
- `multi_get(pattern)` — Batch fetch by glob.
- `status()` — Index health.

## Query Construction

```python
# Best recall: combine lex + vec
searches=[
    {"type": "lex", "query": "NSA migration revenue"},
    {"type": "vec", "query": "USPS NSA migration financial impact EasyPost"}
]
intent="context about USPS NSA account migration"
```

## When to Load

Auto-load when searching workspace, finding prior analyses, or surfacing context.

