据 AlphaMoat 统计,截至 2026-09,memory_baidu_embedding_db 累计下载 4,025 次、获 0 个星标,在全部 5,078 个 AI 技能中排名第 2,538 位,在「AI 智能体」分类(969 个)中排名第 498 位。
| 平台 | 累计安装 | 累计下载 | 星标 | 评论 |
|---|---|---|---|---|
| ClawHub ↗ | 122 | 3,589 | - | - |
| SkillHub ↗ | 121 | 4,025 | - | — |
各平台的计数口径不同,统计时间不一致。
主文描述按含义搜索记忆、添加标签和元数据,并可按标签过滤检索。启用嵌入生成时,记忆文本和查询可能发送给 Baidu;持久化数据库与备份也可能保留敏感或过时信息,应先确认隐私边界并设置访问与保留控制。
资料发布于 2026-10-29
以下是根据技能文档生成的示例,不代表实际运行结果。
2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。
| 月份 | 累计下载 | 环比 | 星标 |
|---|---|---|---|
| 2026-09 | 4,025 | — | - |
| 2026-08 | 3,645 | +3.6% | - |
| 2026-07 | 3,517 | +9.2% | - |
| 2026-06 | 3,222 | +4.3% | - |
| 2026-05 | 3,088 | — | - |
以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。
# Memory Baidu Embedding DB - Semantic Memory for Clawdbot **Vector-Based Memory Storage and Retrieval Using Baidu Embedding Technology** A semantic memory system for Clawdbot that uses Baidu's Embedding-V1 model to store and retrieve memories based on meaning rather than keywords. Designed as a secure, locally-stored replacement for traditional vector databases like LanceDB. ## 🚀 Features - **Semantic Memory Search** - Find memories based on meaning, not just keywords - **Baidu Embedding Integration** - Uses Baidu's powerful Embedding-V1 model
- **SQLite Persistence** - Local, secure storage without external dependencies
- **Zero Data Leakage** - All processing happens locally with your API credentials
- **Flexible Tagging System** - Organize memories with custom tags and metadata
- **High Performance** - Optimized vector similarity calculations
- **Easy Migration** - Drop-in replacement for memory-lancedb systems
## 🎯 Use Cases
- **Conversational Context** - Remember user preferences and conversation history
- **Knowledge Management** - Store and retrieve information semantically
- **Personalization** - Maintain user-specific settings and preferences
- **Information Retrieval** - Find related information based on meaning
- **Data Organization** - Structure memories with tags and metadata
## 📋 Requirements
- Clawdbot installation
- Baidu Qianfan API credentials (API Key and Secret Key)
- Python 3.8+
- Internet connection for initial API calls
## 🛠️ Installation
### Manual Installation
1. Place the skill files in your `~/clawd/skills/` directory
2. Install dependencies (if any Python packages are needed)
3. Configure your Baidu API credentials
### Configuration
Set environment variables:
```bash
export BAIDU_API_STRING='${BAIDU_API_STRING}'
export BAIDU_SECRET_KEY='${BAIDU_SECRET_KEY}'
```
## 🚀 Usage Examples
### Basic Usage
```python
from memory_baidu_embedding_db import MemoryBaiduEmbeddingDB
# Initialize the memory system
memory_db = MemoryBaiduEmbeddingDB()
# Add a memory
memory_db.add_memory(
content="The user prefers concise responses and enjoys technical discussions",
tags=["user-preference", "communication-style"],
metadata={"importance": "high"}
)
# Search for related memories using natural language
related_memories = memory_db.search_memories("What does the user prefer?", limit=3)
```
### Advanced Usage
```python
# Add multiple memories with rich metadata
memory_db.add_memory(
content="User's favorite programming languages are Python and JavaScript",
tags=["tech-preference", "programming"],
metadata={"confidence": 0.95, "source": "conversation-2026-01-30"}
)
# Search with tag filtering
filtered_memories = memory_db.search_memories(
query="programming languages",
tags=["tech-preference"],
limit=5
)
```
## 🔧 Integration
This skill integrates seamlessly with Clawdbot's memory system as a drop-in replacement for memory-lancedb. Simply update your configuration to use this memory system instead of the traditional one.
## 📊 Performance
- **Vector Dimension**: 384 (Baidu Embedding-V1 output)
- **Storage**: SQLite database (~1MB per 1000 memories)
- **Search Speed**: ~50ms for 1000 memories (on typical hardware)
- **API Latency**: Depends on Baidu API response time (typically <500ms)
## 🔐 Security
- **Local Storage**: All memories stored in local SQLite database
- **Encrypted API Keys**: Credentials stored securely in environment variables
- **No External Sharing**: Memories never leave your system
- **Selective Access**: Granular control over what gets stored
## 🔄 Migration from memory-lancedb
1. **Install this skill** in your `skills/` directory
2. **Configure your Baidu API credentials**
3. **Initialize the new system**
4. **Update your bot configuration** to use the new memory system
5. **Verify data integrity** and performance
## 🤝 Contributing
We welcome contributions! Feel free to submit issues, feature requests, or pull requests to improve this skill.把开发过程中的经验、错误与纠正记录为 Markdown 文件,供后续复用并晋升为工作区记忆。
用自然语言描述需求,在本地与远程技能市场里找技能并给出推荐的技能。
给 AI agent 用的浏览器自动化命令行技能。
把用户纠正与自我复盘沉淀成分层记忆、并按使用情况升降级的技能。
在安装第三方技能之前,按清单审查来源、权限与危险模式的技能。
把 agent 的记忆与跨技能状态存成带类型和约束的知识图谱的技能。
一份为 AI 代理规划主动跟进、工作记忆与复盘流程的工作区配置指南。
指导如何创建与更新有效 Claude 技能的写作指南。
数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。