hybrid-memory
Hybrid memory strategy combining OpenClaw's built-in QMD vector memory with Graphiti temporal knowledge graph. Use for all memory recall requests.
How do I install this agent skill?
npx skills add https://github.com/clawdbrunner/openclaw-graphiti-memory --skill hybrid-memoryIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill provides a framework for memory retrieval using local shell scripts and a vector store. No malicious behaviors, obfuscation, or remote downloads were detected, though there is a minor risk of command injection from unsanitized user inputs.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerwarn
1/1 file flagged
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
Hybrid Memory System
We use two memory systems integrated into a single view:
- QMD (Vector Store): For retrieving documents, specs, and full content.
- Graphiti (Knowledge Graph): For retrieving facts, timelines, and relationships.
Primary Tool
For 95% of memory queries, use the hybrid search script. It queries both systems in parallel.
~/.openclaw/scripts/memory-hybrid-search.sh "your query"
Optional flags:
[group_id]— Specify agent group (default:openclaw-main)--json— Output JSON for programmatic use
Specific Tools (Advanced)
Only use these if the hybrid script fails or you need granular control.
Graphiti Only (Temporal/Facts)
Search for specific temporal facts:
~/.openclaw/scripts/graphiti-search.sh "your question" openclaw-main 10
Log new facts (IMPORTANT):
~/.openclaw/scripts/graphiti-log.sh openclaw-main user "Name" "Fact to remember"
QMD Only (Deep Document Search)
If you need more results or specific file filtering:
qmd search "query" -n 10
Recall Pattern
- User asks question ("What was the plan for the project?")
- Run Hybrid Search (
~/.openclaw/scripts/memory-hybrid-search.sh "plan for the project") - Synthesize Answer from both the temporal facts and document snippets found.
- If needed: Use
readto get the full content of a file found in the QMD results.
When to Use Which
| Question Type | Use |
|---|---|
| "What's in GOALS.md?" | Hybrid search → read file |
| "When did we discuss X?" | Hybrid search (Graphiti results) |
| "What did I say last Tuesday?" | Graphiti direct |
| "Find notes about architecture" | Hybrid search (QMD results) |
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/clawdbrunner/openclaw-graphiti-memory/hybrid-memory">View hybrid-memory on skillZs</a>