QMD Memory Skill for OpenClaw
## Local Hybrid Search — Save $50-300/month in API Costs
Best use case
QMD Memory Skill for OpenClaw is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
## Local Hybrid Search — Save $50-300/month in API Costs
Teams using QMD Memory Skill for OpenClaw should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/qmd-memory/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How QMD Memory Skill for OpenClaw Compares
| Feature / Agent | QMD Memory Skill for OpenClaw | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
## Local Hybrid Search — Save $50-300/month in API Costs
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Marketing
Discover AI agents for marketing workflows, from SEO and content production to campaign research, outreach, and analytics.
AI Agents for Startups
Explore AI agent skills for startup validation, product research, growth experiments, documentation, and fast execution with small teams.
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
SKILL.md Source
# QMD Memory Skill for OpenClaw ## Local Hybrid Search — Save $50-300/month in API Costs **Author:** As Above Technologies **Version:** 1.0.0 **ClawHub:** [Coming Soon] --- ## 💰 THE VALUE PROPOSITION ### API Costs You're Paying Now | Operation | API Cost | Frequency | Monthly Cost | |-----------|----------|-----------|--------------| | memory_search (embedding) | $0.02-0.05 | 50-200/day | $30-300 | | Context retrieval | $0.01-0.03 | 100+/day | $30-90 | | Semantic queries | $0.03-0.08 | 20-50/day | $18-120 | | **TOTAL** | | | **$78-510/month** | ### With QMD Local | Operation | Cost | Why | |-----------|------|-----| | All searches | **$0** | Runs on your machine | | Embeddings | **$0** | Local GGUF models | | Re-ranking | **$0** | Local LLM | **Your savings: $50-300+/month** One-time setup. Forever free searches. --- ## 🚀 QUICK START ```bash # Install the skill clawhub install asabove/qmd-memory # Run setup (installs QMD, configures collections) openclaw skill run qmd-memory setup # That's it. Your memory is now supercharged. ``` --- ## WHAT YOU GET ### 1. Automatic Collection Setup Based on your workspace structure, we create optimized collections: ``` ✓ workspace — Core agent files (MEMORY.md, SOUL.md, etc.) ✓ daily-logs — memory/*.md daily logs ✓ intelligence — intelligence/*.md (if exists) ✓ projects — projects/**/*.md (if exists) ✓ documents — Any additional doc folders you specify ``` ### 2. Smart Context Descriptions We add context to each collection so QMD understands what's where: ``` qmd://workspace → "Agent identity and configuration files" qmd://daily-logs → "Daily work logs and session history" qmd://intelligence → "Analysis, research, and reference documents" ``` ### 3. Pre-configured Cron Jobs ```bash # Auto-update index (nightly at 3am) 0 3 * * * qmd update && qmd embed # Keep your memory fresh without thinking about it ``` ### 4. OpenClaw Integration Memory search now uses QMD automatically: - `memory_search` → routes to QMD hybrid search - `memory_get` → retrieves from QMD collections - Results include collection context ### 5. Multi-Agent MCP Server (Optional) ```bash # Start shared memory server openclaw skill run qmd-memory serve # All your agents can now query collective memory # Forge, Thoth, Axis — shared knowledge base ``` --- ## 📊 SEARCH MODES | Mode | Command | Best For | |------|---------|----------| | **Keyword** | `qmd search "query"` | Exact matches, fast | | **Semantic** | `qmd vsearch "query"` | Conceptual similarity | | **Hybrid** | `qmd query "query"` | Best quality (recommended) | ### Example Queries ```bash # Find exact mentions qmd search "Charlene" -n 5 # Find conceptually related content qmd vsearch "how should we handle customer complaints" # Best quality — expansion + reranking qmd query "what decisions did we make about pricing strategy" # Search specific collection qmd search "API keys" -c workspace ``` --- ## 🔧 CONFIGURATION ### Add Custom Collections ```bash openclaw skill run qmd-memory add-collection ~/Documents/research --name research ``` ### Add Context ```bash openclaw skill run qmd-memory add-context qmd://research "Market research and competitive analysis" ``` ### Refresh Index ```bash openclaw skill run qmd-memory refresh ``` --- ## 💡 TEMPLATES ### Trading/Investing Workspace ```bash openclaw skill run qmd-memory template trading ``` Creates: - `intelligence` — Trading systems, dashboards, signals - `market-data` — Price history, analysis - `research` — Due diligence, reports - `daily-logs` — Trade journal ### Content Creator Workspace ```bash openclaw skill run qmd-memory template content ``` Creates: - `articles` — Published content - `drafts` — Work in progress - `research` — Source material - `ideas` — Brainstorms, notes ### Developer Workspace ```bash openclaw skill run qmd-memory template developer ``` Creates: - `docs` — Documentation - `notes` — Technical notes - `decisions` — ADRs, architecture decisions - `snippets` — Code snippets, examples --- ## 📈 COST SAVINGS CALCULATOR Run this to see your estimated savings: ```bash openclaw skill run qmd-memory calculate-savings ``` Output: ``` Your Current API Memory Costs (estimated): memory_search calls/day: ~75 Average cost per call: $0.03 Monthly API cost: $67.50 With QMD Local: Monthly cost: $0.00 YOUR MONTHLY SAVINGS: $67.50 YOUR ANNUAL SAVINGS: $810.00 ROI on skill purchase: 40x (if skill was $20) ``` --- ## 🛠️ TECHNICAL DETAILS ### Models Used (Auto-Downloaded) | Model | Purpose | Size | |-------|---------|------| | embeddinggemma-300M-Q8_0 | Vector embeddings | ~300MB | | qwen3-reranker-0.6b-q8_0 | Re-ranking results | ~640MB | | qmd-query-expansion-1.7B-q4_k_m | Query expansion | ~1.1GB | Total: ~2GB (one-time download) ### System Requirements - Node.js >= 22 - ~3GB disk space (models + index) - ~2GB RAM during embedding (then minimal) ### Where Data is Stored ``` ~/.cache/qmd/ ├── index.sqlite # Search index ├── models/ # GGUF models └── mcp.pid # MCP server PID (if running) ``` --- ## 🤝 SUPPORT **Questions?** - GitHub Issues: github.com/asabove/qmd-memory-skill - Discord: As Above community - Email: support@asabove.tech **Found it valuable?** - Star us on ClawHub - Share with other OpenClaw users - Subscribe to our newsletter for more agent optimization tips --- ## 📜 LICENSE MIT — Use freely, modify as needed. QMD itself is created by Tobi Lütke (github.com/tobi/qmd). This skill provides easy OpenClaw integration. --- *"Stop paying for memory. Start compounding knowledge."* **As Above Technologies** — Agent Infrastructure for Humans
Related Skills
openclaw-youtube
YouTube SERP Scout for agents. Search top-ranking videos, channels, and trends for content research and competitor tracking.
openclaw-search
Intelligent search for agents. Multi-source retrieval with confidence scoring - web, academic, and Tavily in one unified API.
openclaw-media-gen
Generate images & videos with AIsa. Gemini 3 Pro Image (image) + Qwen Wan 2.6 (video) via one API key.
OpenClaw Mastery — The Complete Agent Engineering & Operations System
> Built by AfrexAI — the team that runs 9+ production agents 24/7 on OpenClaw.
Agent Memory Architecture
Complete zero-dependency memory system for AI agents — file-based architecture, daily notes, long-term curation, context management, heartbeat integration, and memory hygiene. No APIs, no databases, no external tools. Works with any agent framework.
memory-cache
High-performance temporary storage system using Redis. Supports namespaced keys (mema:*), TTL management, and session context caching. Use for: (1) Saving agent state, (2) Caching API results, (3) Sharing data between sub-agents.
openclaw-safe-change-flow
Safe OpenClaw config change workflow with backup, minimal edits, validation, health checks, and rollback. Single-instance first; secondary instance optional.
jqopenclaw-node-invoker
统一通过 Gateway 的 node.invoke 调用 JQOpenClawNode 能力(file.read、file.write、process.exec、process.manage、system.run、process.which、system.info、system.screenshot、system.notify、system.clipboard、system.input、node.selfUpdate)。当用户需要远程文件读写、文件移动/删除、目录创建/删除、进程管理(列表/搜索/终止)、远程进程执行、命令可执行性探测、系统信息采集、截图采集、系统弹窗、系统剪贴板读写、输入控制(鼠标/键盘)、节点自更新、节点命令可用性排查或修复 node.invoke 参数错误时使用。
Memory
Infinite organized memory that complements your agent's built-in memory with unlimited categorized storage.
openclaw-stock-skill
使用 data.diemeng.chat 提供的接口查询股票日线、分钟线、财务指标等数据,支持 A 股等市场。
openclaw-whatsapp
WhatsApp bridge for OpenClaw — send/receive messages, auto-reply agents, QR pairing, message search, contact sync
auto-memory
Indestructible agent memory — permanently stored, never lost. Save decisions, identity, and context as a memory chain on the Autonomys Network. Rebuild your full history from a single CID, even after total state loss.