qmdlisted
Install: claude install-skill onebrain-ai/onebrain
# qmd Search Integration
qmd is an optional local search engine that indexes your vault for fast keyword and semantic search. When active, the agent uses it automatically for vault-wide searches.
**Usage:** `/qmd <subcommand>`
Available subcommands: `setup`, `embed`, `status`, `reindex`, `uninstall`
If no subcommand is given, show this help and list available subcommands.
---
## /qmd setup
Set up qmd for this vault. Creates a collection, stores it in onebrain.yml, and runs an initial index.
### Step 1: Confirm intent
Ask using AskUserQuestion:
- question: "Set up qmd for faster vault search?"
- header: "qmd Setup"
- multiSelect: false
- options:
- label: "Yes, set up qmd", description: "Index this vault with qmd for faster search"
- label: "Cancel", description: "Skip qmd setup"
If user selects Cancel, stop.
### Step 2: Check for existing setup
Read `onebrain.yml`. If `qmd_collection` key is already present:
> qmd is already configured for this vault (collection: `<value>`). To reconfigure, run `/qmd uninstall` first, then `/qmd setup` again.
Stop.
### Step 3: Check qmd installation
Run: `which qmd` (macOS/Linux) or `where qmd` (Windows).
**If qmd is NOT found:**
Ask using AskUserQuestion:
- question: "qmd is not installed. Install it now?"
- header: "Install qmd"
- multiSelect: false
- options:
- label: "Yes, install with npm", description: "Run: npm install -g @tobilu/qmd"
- label: "Yes, install with bun", description: "Run: bun install -g @tobilu/q