From mnemonic
Sets up @tobilu/qmd for semantic search over mnemonic memories: registers collections from MNEMONIC_ROOT, builds indexes with qmd update, generates embeddings. One-time per-machine bootstrap.
How this skill is triggered — by the user, by Claude, or both
Slash command
/mnemonic:qmd-setupThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Bootstrap `@tobilu/qmd` for semantic search over mnemonic memories.
Bootstrap @tobilu/qmd for semantic search over mnemonic memories.
node --versionnpm i -g @tobilu/qmdRun the setup script:
bash tools/qmd-setup.sh
The script will:
MNEMONIC_ROOT from ~/.config/mnemonic/config.json{MNEMONIC_ROOT}/{org}/ → collection mnemonic-{org}{MNEMONIC_ROOT}/default/ → collection mnemonic-default.claude/mnemonic/ → collection mnemonic-projectqmd update (index) + qmd embed (embeddings)qmd status and a test searchNote: First
qmd embeddownloads ~2 GB of GGUF models.
If you prefer to set up manually:
MNEMONIC_ROOT is resolved from ~/.config/mnemonic/config.json (defaults to
~/.local/share/mnemonic). Adjust the paths below to match your config:
# 1. Register collections (replace paths with your MNEMONIC_ROOT)
qmd collection add "${MNEMONIC_ROOT:-$HOME/.local/share/mnemonic}/zircote/" --name mnemonic-zircote
qmd collection add "${MNEMONIC_ROOT:-$HOME/.local/share/mnemonic}/default/" --name mnemonic-default
qmd collection add "$(git rev-parse --show-toplevel)/.claude/mnemonic/" --name mnemonic-project # if exists
# 2. Build index
qmd update
# 3. Generate embeddings (downloads models on first run)
qmd embed
# 4. Validate
qmd status
qmd search "test" -n 3
Use search commands:
| Command | Type | Requires |
|---|---|---|
qmd search "query" | BM25 keyword | qmd update |
qmd vsearch "query" | Semantic vector | qmd embed |
qmd query "query" | Hybrid (BM25 + vector) | Both |
Scope to a specific collection:
qmd search "auth" -c mnemonic-zircote # org memories only
qmd search "auth" -c mnemonic-project # this repo only
qmd search "auth" # all collections
After adding new memories, re-index with /mnemonic:qmd-reindex or:
qmd update && qmd embed
Indexing is not automatic — run after captures or bulk imports.
npx claudepluginhub modeled-information-format/mnemonicRe-indexes mnemonic memories for qmd semantic search by rebuilding BM25 full-text index and regenerating vector embeddings. Use after capturing memories, bulk imports, file edits, or periodically.
Upgrades grep-based memory_search with QMD's hybrid BM25 + vector semantic search + LLM re-ranking. Fully local, no API keys needed.
Configures qmd collections for semantic search on project markdown directories. Checks qmd install and MCP, derives project name, scans/selects dirs like docs/, sets collection details and names.