| name | qmd-memory |
| description | QMD Memory |
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
clawhub install asabove/qmd-memory
openclaw skill run qmd-memory setup
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
0 3 * * * qmd update && qmd embed
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)
openclaw skill run qmd-memory serve
๐ 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
qmd search "Charlene" -n 5
qmd vsearch "how should we handle customer complaints"
qmd query "what decisions did we make about pricing strategy"
qmd search "API keys" -c workspace
๐ง CONFIGURATION
Add Custom Collections
openclaw skill run qmd-memory add-collection ~/Documents/research --name research
Add Context
openclaw skill run qmd-memory add-context qmd://research "Market research and competitive analysis"
Refresh Index
openclaw skill run qmd-memory refresh
๐ก TEMPLATES
Trading/Investing Workspace
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
openclaw skill run qmd-memory template content
Creates:
articles โ Published content
drafts โ Work in progress
research โ Source material
ideas โ Brainstorms, notes
Developer Workspace
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:
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