Skip to content
Agentmart
Submit a tool

qmd-setup

Set up @tobilu/qmd semantic search for mnemonic memories.

Skill by modeled-information-format

IndexedMIT★ 23
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/modeled-information-format-qmd-setup

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Set up @tobilu/qmd semantic search for mnemonic memories. Registers collections, builds indexes, and generates embeddings. Run this once per machine.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/qmd-setup

What's inside

Skill name
qmd-setup
Description
Set up @tobilu/qmd semantic search for mnemonic memories. Registers collections, builds indexes, and generates embeddings. Run this once per machine.
License
MIT
Instructions
82 lines in SKILL.md · view on GitHub

Before installing

  • Instructions read files in your home folder (~/.ssh, ~/.aws…)

Agent Skills spec issues

  • allowed-tools: must be a space-separated string

Files (1)

  • SKILL.md

SKILL.md (first lines)

# QMD Setup Skill

Bootstrap `@tobilu/qmd` for semantic search over mnemonic memories.

## Prerequisites

- **Node.js >= 22** — `node --version`
- **qmd CLI** — `npm i -g @tobilu/qmd`

## Automated Setup

Run the setup script:

```bash
bash tools/qmd-setup.sh
```

The script will:
1. Check prerequisites (Node.js >= 22, qmd installed)
2. Resolve `MNEMONIC_ROOT` from `~/.config/mnemonic/config.json`
3. Discover memory roots dynamically:
   - `{MNEMONIC_ROOT}/{org}/` → collection `mnemonic-{org}`
   - `{MNEMONIC_ROOT}/default/` → collection `mnemonic-default`
   - `.claude/mnemonic/` → collection `mnemonic-project`
4. Run `qmd update` (index) + `qmd embed` (embeddings)
5. Validate with `qmd status` and a test search

> **Note:** First `qmd embed` downloads ~2 GB of GGUF models.

## Manual Setup

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:

```bash
# 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
```

## After Setup

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:

```bash
qmd search "auth" -c mnemonic-zircote    # org memories only
qmd search "auth" -c mnemonic-project    # this repo only
qmd search "auth"                        # all collections
```

## Re-indexing

After adding new memories, re-index with `/mnemonic:qmd-reindex` or:

```bash
qmd update && qmd embed
```

Indexing is **not** automatic — run after captures or bulk imports.

From modeled-information-format/mnemonic, MIT.

More from modeled-information-format/mnemonic

Signals

Stars
23
Forks
5
Open issues
0
Last commit (this folder)
Feb 18, 2026 (8 months ago)
Last release
Oct 8, 2026 (21 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from modeled-information-format

Cite this page

qmd-setup skill. Agent Mart. https://agentmart.dev/skills/modeled-information-format-qmd-setup (last updated 2026-10-24)