360 Secure SkillHub
360 安全技能中心

Supermemory

该 Skill 通过 bash 脚本调用 SuperMemory API(api.supermemory.ai),提供三项能力:添加记忆内容、按关键词搜索已存记忆、以及用对话方式查询记忆库。需要设置 SUPERMEMORY_API_KEY 环境变量,脚本以宿主内固定绝对路径调用。

clawdbot51-oss
clawdbot51-oss
热度 92.32
最近更新 2026-05-18 11:55:33
分类:知识依赖:代码执行 / 第三方 API应用场景:笔记整理 / 研究 / 摘要总结

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add supermemory
Metadata
name
supermemory
description
Store and retrieve memories using the SuperMemory API. Add content, search memories, and chat with your knowledge base.
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:

export SUPERMEMORY_API_KEY="sm_oiZHA2HcwT4tqSKmA7cCoK_opSRFViNFNxbYqjkjpVNfjSPqQWCNoOBAcxKZkKBfRVVrEQDVxLWHJPvepxqwEPe"

Usage

Add a Memory

Add content to your memory store:

# 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:

supermemory search "search query"

Chat with Memories

Chat with your memory database:

supermemory chat "What do you know about my projects?"

Implementation

Add Memory

When user wants to store information:

bash /root/clawd/skills/supermemory/scripts/add-memory.sh "content" "description (optional)"

Search Memories

When user wants to find something in their memories:

bash /root/clawd/skills/supermemory/scripts/search.sh "query"

Chat with Memory Base

When user wants to query their memory database conversationally:

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"