← 返回 Skills 市场
clawdbrunner

Hybrid Memory

作者 clawdbrunner · GitHub ↗ · v1.0.1
cross-platform ✓ 安全检测通过
2411
总下载
1
收藏
8
当前安装
2
版本数
在 OpenClaw 中安装
/install hybrid-memory
功能描述
Hybrid memory strategy combining OpenClaw's built-in vector memory with Graphiti temporal knowledge graph. Use when you need to recall past context, answer temporal questions ("when did X happen?"), or search memory files. Provides decision framework for when to use memory_search vs Graphiti.
使用说明 (SKILL.md)

Hybrid Memory System

Two memory systems, each with different strengths. Use both.

When to Use Which

Question Type Tool Example
Document content memory_search "What's in GOALS.md?"
Curated notes memory_search "What are our project guidelines?"
Temporal facts Graphiti "When did we set up Slack?"
Conversations Graphiti "What did the user say last Tuesday?"
Entity tracking Graphiti "What projects involve Alice?"

Quick Reference

memory_search (Built-in)

Semantic search over markdown files (MEMORY.md, memory/**/*.md).

memory_search query="your question"

Then use memory_get to read specific lines if needed.

Graphiti (Temporal)

Search for facts with time awareness:

graphiti-search.sh "your question" GROUP_ID 10

Log important facts:

graphiti-log.sh GROUP_ID user "Name" "Fact to remember"

Common group IDs:

  • main-agent — Primary agent
  • user-personal — User's personal context

Recall Pattern

When answering questions about past context:

  1. Temporal questions → Check Graphiti first
  2. Document questions → Use memory_search
  3. Uncertain → Try both, combine results
  4. Low confidence → Say you checked but aren't sure

AGENTS.md Template

Add to your AGENTS.md:

### Memory Recall (Hybrid)

**Temporal questions** ("when?", "what changed?", "last Tuesday"):
```bash
graphiti-search.sh "query" main-agent 10

Document questions ("what's in X?", "find notes about Y"):

memory_search query="your query"

When answering past context: check Graphiti for temporal, memory_search for docs.


## Setup

Full setup guide: https://github.com/clawdbrunner/openclaw-graphiti-memory

**Part 1: OpenClaw Memory** — Configure embedding provider (Gemini recommended)
**Part 2: Graphiti** — Deploy Docker stack, install sync daemons
安全使用建议
This skill is a usage guide, not executable code, and is coherent for its stated purpose — but it assumes you have or will deploy external components (Graphiti Docker stack, sync daemons, and shell scripts like graphiti-search.sh/log.sh) and an embedding provider (the doc mentions Gemini). Before installing/using: 1) Verify the referenced scripts (graphiti-*.sh) exist in your agent environment or replace them with safe equivalents; 2) Inspect the GitHub repo and any scripts you will run from it before executing or deploying Docker services; 3) Prepare and secure any embedding-provider/API credentials (store them in your secret manager, not in plain AGENTS.md); 4) Test in a sandboxed environment first since the setup will involve network services and Docker; 5) If you need the skill to run autonomously, ensure the external Graphiti endpoints and scripts are trustworthy — the skill itself provides only guidance and will rely on whatever external code you deploy.
功能分析
Type: OpenClaw Skill Name: hybrid-memory Version: 1.0.1 The skill bundle is classified as benign. The `SKILL.md` file provides instructions for the OpenClaw agent to integrate and utilize an external 'Graphiti' temporal knowledge graph via `graphiti-search.sh` and `graphiti-log.sh` shell scripts. While these scripts imply shell execution capabilities, their use is clearly aligned with the stated purpose of memory management and recall, without any evidence of malicious intent, prompt injection, or unauthorized actions. An external GitHub URL for setup is also provided at `https://github.com/clawdbrunner/openclaw-graphiti-memory`.
能力评估
Purpose & Capability
The name and description (hybrid memory combining vector memory and Graphiti) match the runtime instructions. The SKILL.md focuses on selecting between memory_search and Graphiti and gives call examples; nothing requested or instructed is unrelated to the stated purpose.
Instruction Scope
Instructions direct the agent to run memory_search and external scripts (graphiti-search.sh, graphiti-log.sh) and to deploy Graphiti via Docker. That is appropriate for the stated hybrid-memory purpose, but the skill assumes those scripts and the Graphiti service exist and that an embedding provider is configured. The instructions also advise editing AGENTS.md. There are no instructions to read unrelated system files or exfiltrate arbitrary data.
Install Mechanism
No install spec and no code files — instruction-only skill. This minimizes disk-write risk. The README points to a GitHub repo for setup, but the skill itself does not download or install anything automatically.
Credentials
The SKILL.md recommends configuring an embedding provider (mentions 'Gemini recommended') and deploying Graphiti, which in practice will require API keys/credentials and infrastructure, but the skill does not declare any required env vars. This omission is not necessarily malicious, but you should expect that following the guidance will require credentials for the embedding provider and any Graphiti endpoints.
Persistence & Privilege
Skill is not always-on and is user-invocable; it does not request persistent elevated privileges nor attempt to modify other skills. Advising edits to AGENTS.md is a normal operational step for configuring agent behavior.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install hybrid-memory
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /hybrid-memory 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Use generic names in examples instead of personal names
v1.0.0
Initial release: hybrid memory strategy combining OpenClaw vector memory with Graphiti temporal knowledge graph
元数据
Slug hybrid-memory
版本 1.0.1
许可证
累计安装 9
当前安装数 8
历史版本数 2
常见问题

Hybrid Memory 是什么?

Hybrid memory strategy combining OpenClaw's built-in vector memory with Graphiti temporal knowledge graph. Use when you need to recall past context, answer temporal questions ("when did X happen?"), or search memory files. Provides decision framework for when to use memory_search vs Graphiti. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2411 次。

如何安装 Hybrid Memory?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install hybrid-memory」即可一键安装,无需额外配置。

Hybrid Memory 是免费的吗?

是的,Hybrid Memory 完全免费(开源免费),可自由下载、安装和使用。

Hybrid Memory 支持哪些平台?

Hybrid Memory 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Hybrid Memory?

由 clawdbrunner(@clawdbrunner)开发并维护,当前版本 v1.0.1。

💬 留言讨论