Skip to main content
ClawdBot is a multi-platform AI messaging gateway that connects to WhatsApp, Telegram, Discord, Slack, iMessage, and other messaging channels. The Supermemory plugin gives ClawdBot memory across every channel.

Get Your API Key

Create a Supermemory API key from the API Keys page, then add it to your shell profile so it persists across sessions:
echo 'export SUPERMEMORY_CLAWDBOT_API_KEY="sm_..."' >> ~/.zshrc
source ~/.zshrc

Install the Plugin

clawdbot plugins install @supermemory/clawdbot-supermemory
Restart ClawdBot after installing.

How It Works

Once installed, the plugin runs automatically with zero interaction:
  • Auto-Recall — Before every AI turn, Supermemory is queried for relevant memories and the user’s profile. These are injected as context so the AI sees preferences, facts, and semantically similar past conversations.
  • Auto-Capture — After every AI turn, the conversation exchange is sent to Supermemory for extraction and long-term storage. Supermemory handles deduplication and profile building.

Features

AI Tools

The AI can use these tools autonomously during conversations:
ToolDescription
supermemory_storeSave information to long-term memory.
supermemory_searchSearch memories by query with similarity scores.
supermemory_forgetDelete a memory by query or ID.
supermemory_profileView the user profile — persistent facts and recent context.

Slash Commands

Users can interact with memory directly in chat:
CommandDescription
/remember [text]Manually save something to memory.
/recall [query]Search memories and see results with similarity scores.

CLI Commands

clawdbot supermemory search <query>    # Search memories from the terminal
clawdbot supermemory profile           # View user profile
clawdbot supermemory wipe              # Delete all memories (requires confirmation)

Manual Configuration

Optional — only needed if you prefer to set the API key directly in the config file instead of the environment variable. Add the plugin to your clawdbot.json:
{
  "plugins": {
    "entries": {
      "clawdbot-supermemory": {
        "enabled": true,
        "config": {
          "apiKey": "sm_..."
        }
      }
    }
  }
}

Advanced Options

KeyTypeDefaultDescription
autoRecallbooleantrueInject relevant memories before every AI turn.
autoCapturebooleantrueStore conversation content after every turn.
maxRecallResultsnumber10Max memories injected into context per turn.
profileFrequencynumber50Inject full user profile every N turns.
captureModestring"all""all" filters noise. "everything" captures all messages.
debugbooleanfalseVerbose debug logs.

Next Steps