Memory Baidu Embedding Db
Skill by xqicxx
Why use this skill?
Enhance your Clawdbot with semantic memory using Baidu Embedding-V1. Store and retrieve information based on meaning via secure local SQLite persistence.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/xqicxx/memory-baidu-embedding-dbWhat This Skill Does
The Memory Baidu Embedding DB is a high-performance, semantic memory layer for Clawdbot. Unlike traditional keyword-based search systems, this skill utilizes Baidu's Embedding-V1 technology to translate textual information into high-dimensional vector representations. By calculating the mathematical distance between these vectors, the system can retrieve information based on conceptual meaning rather than exact keyword matches. The skill utilizes SQLite for its underlying storage, ensuring that your memory bank remains local, private, and portable. It serves as a seamless, secure, and drop-in replacement for existing vector database solutions, offering developers a way to imbue their agents with long-term retention of user preferences, conversational history, and structured knowledge without the complexity of managing heavy external cloud databases.
Installation
To integrate this memory system, place the provided skill files into your ~/clawd/skills/ directory. Ensure your environment is prepared by configuring the mandatory Baidu Qianfan API credentials. You must set the BAIDU_API_STRING and BAIDU_SECRET_KEY environment variables within your shell profile or deployment configuration. Once configured, you can utilize the clawhub install command: clawhub install openclaw/skills/skills/xqicxx/memory-baidu-embedding-db to pull the latest dependencies. Ensure your Python environment meets the 3.8+ requirement before attempting to initialize the MemoryBaiduEmbeddingDB class.
Use Cases
This skill is ideal for building agents that need to evolve alongside the user. Practical applications include maintaining persistent conversational context, allowing an agent to recall specific user preferences or previously discussed topics across different sessions. It is also highly effective for knowledge management, where users can store vast amounts of technical documentation or notes and query them through natural language. Additionally, it can be used for personalization tasks, where the agent remembers past interactions to provide tailored, context-aware responses.
Example Prompts
- "Store in my memory that I prefer documentation to be written in a concise, technical style for all future tasks."
- "Search through our previous discussions and tell me what the user identified as their primary programming language."
- "Find all stored notes related to the project infrastructure tagging system and summarize the key requirements found."
Tips & Limitations
For optimal results, structure your metadata tags effectively. The search performance relies heavily on the quality of the embedded vectors, so ensure your memory entries contain enough descriptive content to be accurately represented by the model. Note that this skill requires an active internet connection to communicate with the Baidu Embedding-V1 API during the initial embedding creation phase. Since the data is stored in a local SQLite file, consider implementing regular backups of the database file to prevent accidental loss of your agent's historical memory.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-xqicxx-memory-baidu-embedding-db": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, file-write, external-api
Related Skills
triple-memory-baidu-embedding
Complete memory system combining Baidu Embedding auto-recall, Git-Notes structured memory, and file-based workspace search. Use when setting up comprehensive agent memory with local privacy, when you need persistent context across sessions, or when managing decisions/preferences/tasks with multiple memory backends working together.
secure-memory-stack
一个安全的本地化记忆系统,结合百度Embedding语义搜索、Git Notes结构化存储和文件系统,确保数据隐私和安全。
System Repair Expert
Skill by xqicxx
advanced-skill-creator
Advanced OpenClaw skill creation handler that executes the official 5-step research flow with comprehensive analysis and best practices. Ensures proper methodology when users request to create or modify OpenClaw/Moltbot/ClawDBot skills following official standards.
memory-skills-sync
同步记忆系统技能文件到create目录的工具