Chroma Memory
/install chroma-memory
chroma-memory — Per-Turn Conversation Memory with ChromaDB
Long-term vector memory for customer conversations. Stores every turn with customer isolation, auto-tags quotes and commitments, enables semantic retrieval across sessions.
Commands
| Command | Description |
|---|---|
chroma:store |
Store a conversation turn (auto-called after each turn) |
chroma:search \x3Cquery> |
Semantic search across conversation history |
chroma:recall \x3Ccustomer_id> |
Recall recent history for a returning customer |
chroma:snapshot |
Store daily CRM snapshot as fallback (L4) |
chroma:stats |
Show storage statistics |
Usage
# Store a turn (normally auto-triggered by hook)
chroma:store --customer "+971501234567" --turn 5 --user "What's the price for 500 units?" --agent "Let me prepare a detailed quote..." --stage qualifying --topic pricing
# Search history
chroma:search "Dubai customer pricing discussion" --customer "+971501234567" --limit 5
# Recall for returning customer (auto-triggered when gap > 7 days)
chroma:recall "+971501234567" --limit 10
# Daily CRM snapshot (triggered by HEARTBEAT #12)
chroma:snapshot
# Stats
chroma:stats
Architecture
This skill implements Layer 3 (L3) and Layer 4 (L4) of the 4-layer Anti-Amnesia system:
- L3: Every conversation turn → ChromaDB with customer_id isolation + auto-tagging
- L4: Daily CRM snapshot → ChromaDB as disaster recovery fallback
Auto-Tagging
Turns are automatically tagged based on content analysis:
| Tag | Trigger |
|---|---|
has_quote |
Price/cost/quote discussed |
has_commitment |
Promise made by either party |
has_objection |
Customer objection detected |
has_order |
Order/purchase confirmed |
has_sample |
Sample request discussed |
Customer Isolation
All data is partitioned by customer_id (phone number). Queries always include where={"customer_id": ...} to ensure strict tenant isolation.
Dependencies
chromadbskill (vector database, install via ClawHub)- OpenClaw Gateway with session-memory hook enabled
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install chroma-memory - 安装完成后,直接呼叫该 Skill 的名称或使用
/chroma-memory触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Chroma Memory 是什么?
Stores and semantically retrieves per-turn customer conversation data with auto-tagging and customer isolation using ChromaDB. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 153 次。
如何安装 Chroma Memory?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install chroma-memory」即可一键安装,无需额外配置。
Chroma Memory 是免费的吗?
是的,Chroma Memory 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Chroma Memory 支持哪些平台?
Chroma Memory 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Chroma Memory?
由 iPythoning(@ipythoning)开发并维护,当前版本 v1.0.1。