hybrid-memory
3
总安装量
3
周安装量
#56381
全站排名
安装命令
npx skills add https://github.com/clawdbrunner/openclaw-graphiti-memory --skill hybrid-memory
Agent 安装分布
openclaw
3
github-copilot
3
codex
3
kimi-cli
3
gemini-cli
3
cursor
3
Skill 文档
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.
~/clawd/scripts/memory-hybrid-search.sh "your query"
Optional flags:
[group_id]â Specify agent group (default:clawdbot-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:
~/clawd/scripts/graphiti-search.sh "your question" clawdbot-main 10
Log new facts (IMPORTANT):
~/clawd/scripts/graphiti-log.sh clawdbot-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 (
~/clawd/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) |