Supermemory
Flagged@clawdbot51-oss
{"isSafe":false,"isSuspicious":true,"riskLevel":"high","findings":[{"category":"data_exfiltration","severity":"high","description":"Documentation sample exposes a real-looking API key in code snippets, risking credential leakage if the docs are shared or published.","evidence":"export SUPERMEMORY_API_KEY=\"sm_oiZHA2HcwT4tqSKmA7cCoK_opSRFViNFNxbYqjkjpVNfjSPqQWCNoOBAcxKZkKBfRVVrEQDVxLWHJPvepxqwEPe\""}],"summary":"The skill content is functionally safe but leaks a secret key in its example usage. Replace with a placeholder or instruct to fetch the key from a secure source at runtime to avoid credential leakage."}
npx machina-cli add skill @clawdbot51-oss/supermemory --openclawSuperMemory
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"
Overview
SuperMemory lets you build a personal knowledge base by storing memories, then retrieving or discussing them via the API. You can add content with optional descriptions, perform fast searches, and chat with your memory base. An API key (SUPERMEMORY_API_KEY) is required to access your store.
How This Skill Works
Use a simple CLI wrapper around the SuperMemory API to add, search, and chat memories. After exporting SUPERMEMORY_API_KEY, run commands like supermemory add, supermemory search, or supermemory chat, or their script equivalents (add-memory.sh, search.sh, chat.sh) to interact with your data.
When to Use It
- Storing important notes or credentials for later reference
- Building a fast, searchable archive of project notes and decisions
- Retrieving past content with natural-language queries
- Conversationally exploring what you know about a topic
- Summarizing learnings or planning a strategy from your memories
Quick Start
- Step 1: Export your API key: export SUPERMEMORY_API_KEY="your_key_here"
- Step 2: Add memory: supermemory add "Your memory content here" --description "Optional description"
- Step 3: Search or chat: supermemory search "your query" or supermemory chat "your question"
Best Practices
- Always include a descriptive description when adding content to make future searches precise
- Keep memory content concise and relevant to improve search quality
- Use the provided scripts (add-memory.sh, search.sh, chat.sh) for consistent behavior
- Ensure SUPERMEMORY_API_KEY is set in your environment and access is protected
- Regularly review memories and use clear, query-friendly phrasing for searches
Example Use Cases
- Store API key and credentials for quick reference
- Save a bookmarked webpage for later reading
- Search for notes on Python
- Find notes related to the project
- Ask the memory base to summarize AI learnings