QMD Memory Skill for Openclaw

A local hybrid search engine that eliminates API costs by running embeddings and semantic queries directly on your machine.

sieyer
v1.0.0
Mar 2, 2026
0
1.1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install qmd-memory-1-0-0

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install qmd-memory-1-0-0 using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is QMD Memory Skill?

The QMD Memory Skill is a powerful local-first search infrastructure designed to supercharge your AI agents while eliminating monthly cloud API fees. By moving embedding, re-ranking, and query expansion tasks to your local hardware, it provides a high-performance alternative to expensive vector search providers. This skill is a core addition for users of Openclaw Skills who require private, fast, and cost-effective context retrieval for large knowledge bases.

It works by automatically organizing your workspace into specialized collections such as daily logs, core agent identity files, and project documentation. Through the use of efficient GGUF models, the skill ensures that your agent has access to its entire history and intelligence without the latency or privacy concerns associated with cloud-based search operations.

QMD Memory Skill Use Cases

  • Reducing monthly API overhead for high-frequency memory search and context retrieval tasks.
  • Implementing private, local-first semantic search for sensitive internal documentation and research.
  • Maintaining a persistent, searchable history of agent decisions and daily work logs.
  • Creating shared knowledge bases across multiple agents using the built-in MCP server integration.

How QMD Memory Skill Works

  1. The skill analyzes your local workspace to identify core directories and automatically configures optimized collections.
  2. It downloads lightweight GGUF models for vector embeddings, re-ranking, and query expansion during the initial setup.
  3. A local SQLite index is generated to manage both keyword and semantic vector data for fast retrieval.
  4. Search queries are automatically routed through a hybrid pipeline that combines exact keyword matching with conceptual semantic analysis.
  5. Automated cron jobs keep the local index synchronized with file changes, ensuring the agent's memory is always up to date.

QMD Memory Skill Setup

# Install the skill via ClawHub
clawhub install asabove/qmd-memory

# Execute the setup routine to install QMD and download GGUF models
openclaw skill run qmd-memory setup

# Optional: Run the savings calculator to see your projected ROI
openclaw skill run qmd-memory calculate-savings

QMD Memory Skill Data Schema & Taxonomy

The skill organizes data within a dedicated cache directory (~/.cache/qmd/) to ensure persistence and speed.

Component Format Description
index.sqlite SQLite The primary search index containing text chunks and vector embeddings.
models/ GGUF Local models for embedding (gemma), re-ranking (qwen3), and query expansion.
collections URI Schema Logical groupings (e.g., qmd://daily-logs) that provide context to the agent.
mcp.pid PID File Management file for the multi-agent MCP server process.

QMD Memory Skill Advanced Features

  • Multi-Agent MCP Server: Start a shared memory server that allows different Openclaw Skills agents to access a collective knowledge base.
  • Workspace Templates: Pre-configured collection sets for specialized roles like developers, traders, and content creators.
  • Local Hybrid Search: Combines keyword, semantic (vsearch), and expanded query modes for maximum retrieval accuracy.
  • Automated Indexing: Built-in cron job support to refresh your memory index nightly or on a custom schedule.
  • Local Reranking: Uses a 0.6b parameter model to re-sort search results for better relevance before passing them to the LLM.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*