Initial commit with translated description

This commit is contained in:
2026-03-29 09:37:21 +08:00
commit 670b0c7bef
5 changed files with 265 additions and 0 deletions

80
SKILL.md Normal file
View File

@@ -0,0 +1,80 @@
---
name: supermemory
description: "使用SuperMemory API存储和检索记忆。添加内容、搜索记忆并与您的知识库聊天。"
metadata: {"moltbot":{"emoji":"🧠","requires":{"env":["SUPERMEMORY_API_KEY"]},"primaryEnv":"SUPERMEMORY_API_KEY"},"user-invocable":true}
---
# SuperMemory
Store, search, and chat with your personal knowledge base using SuperMemory's API.
## Setup
Configure your SuperMemory API key:
```bash
export SUPERMEMORY_API_KEY="sm_oiZHA2HcwT4tqSKmA7cCoK_opSRFViNFNxbYqjkjpVNfjSPqQWCNoOBAcxKZkKBfRVVrEQDVxLWHJPvepxqwEPe"
```
## Usage
### Add a Memory
**Add content to your memory store:**
```bash
# Add a memory with content
supermemory add "Your memory content here"
# Add a memory with a specific description
supermemory add "Important project details" --description "Project requirements"
```
### Search Memories
**Search your stored memories:**
```bash
supermemory search "search query"
```
### Chat with Memories
**Chat with your memory database:**
```bash
supermemory chat "What do you know about my projects?"
```
## Implementation
### Add Memory
When user wants to store information:
```bash
bash /root/clawd/skills/supermemory/scripts/add-memory.sh "content" "description (optional)"
```
### Search Memories
When user wants to find something in their memories:
```bash
bash /root/clawd/skills/supermemory/scripts/search.sh "query"
```
### Chat with Memory Base
When user wants to query their memory database conversationally:
```bash
bash /root/clawd/skills/supermemory/scripts/chat.sh "question"
```
## Examples
**Store important information:**
- "Remember that my API key is xyz" → `supermemory add "My API key is xyz" --description "API credentials"`
- "Save this link for later" → `supermemory add "https://example.com" --description "Bookmarked link"`
**Find information:**
- "What did I save about Python?" → `supermemory search "Python"`
- "Find my notes on the project" → `supermemory search "project notes"`
**Query your knowledge:**
- "What do I know about the marketing strategy?" → `supermemory chat "What do I know about the marketing strategy?"`
- "Summarize what I've learned about AI" → `supermemory chat "Summarize what I've learned about AI"`