據 AlphaMoat 統計,截至 2026-09,memory_baidu_embedding_db 累計下載 4,025 次、獲 0 個星標,在全部 5,078 個 AI 技能中排名第 2,538 位,在「AI 智慧體」分類(969 個)中排名第 498 位。
| 平台 | 累計安裝 | 累計下載 | 星標 | 評論 |
|---|---|---|---|---|
| ClawHub ↗ | 122 | 3589 | - | - |
| SkillHub ↗ | 121 | 4025 | - | — |
各平台的計數口徑不同,統計時間不一致。
主文描述按含義搜尋記憶、新增標籤和後設資料,並可按標籤過濾檢索。啟用嵌入生成時,記憶文字和查詢可能傳送給 Baidu;持久化資料庫與備份也可能保留敏感或過時資訊,應先確認隱私邊界並設定訪問與保留控制。
資料釋出於 2026-10-29
以下是根據技能文件生成的示例,不代表實際執行結果。
2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。
| 月份 | 累計下載 | 環比 | 星標 |
|---|---|---|---|
| 2026-09 | 4025 | — | - |
| 2026-08 | 3645 | +3.6% | - |
| 2026-07 | 3517 | +9.2% | - |
| 2026-06 | 3222 | +4.3% | - |
| 2026-05 | 3088 | — | - |
以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 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 用的瀏覽器自動化命令列技能。
將使用者明確糾正與自我檢視整理成分層記憶,並依使用情況升級或封存。
在安裝第三方技能之前,按清單審查來源、許可權與危險模式的技能。
將代理記憶與跨技能狀態整理成具型別與約束的知識圖譜。
規劃 AI 代理主動跟進、工作記憶與回顧流程的工作區設定指南。
指導如何建立與更新有效 Claude 技能的寫作指南。
資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。