Install
openclaw skills install knowledge-vaultLong-term RAG memory storage for your agent, powered by TiDB Vector.
openclaw skills install knowledge-vaultKnowledge Vault is a Long-Term Memory module for AI Agents, powered by TiDB Vector Search (RAG).
Traditional agent memory (context window) is ephemeral and limited. Knowledge Vault allows agents to:
GEMINI_API_KEY (or compatible).This skill operates in two modes:
TIDB_HOST, TIDB_USER, TIDB_PASSWORD environment variables. The skill will use your existing database.~/.openclaw_knowledge_vault_dsn) to persist memory across runs.TOOLS.md- **knowledge-vault**: Store and retrieve knowledge using vector search.
- **Location:** `{baseDir}/skills/knowledge_vault/SKILL.md`
- **Command:** `python {baseDir}/skills/knowledge_vault/run.py --action search --query "<QUESTION>"`
AGENTS.md (Protocol)Copy PROTOCOL.md.
python {baseDir}/run.py --action add --content "The user prefers spicy food but is allergic to peanuts."
python {baseDir}/run.py --action search --query "What are the user's dietary restrictions?"