Skip to content

Fix OpenClaw Supermemory onboarding#56

Merged
MaheshtheDev merged 1 commit into
mainfrom
onboarding
Jun 6, 2026
Merged

Fix OpenClaw Supermemory onboarding#56
MaheshtheDev merged 1 commit into
mainfrom
onboarding

Conversation

@ved015
Copy link
Copy Markdown
Member

@ved015 ved015 commented Jun 5, 2026

Summary

Fixes the OpenClaw Supermemory npm onboarding flow so users can install the package, run setup, restart the gateway, and actually get Supermemory loaded as the active memory plugin.

What was broken

The README told npm users to run:

openclaw plugins install @supermemory/openclaw-supermemory
openclaw supermemory setup

There were three issues:

  1. OpenClaw did not know this plugin owned the supermemory CLI command.

    The command implementation existed in commands/cli.ts, but the plugin manifest did not advertise ownership of the supermemory root command.

    OpenClaw routes plugin CLI commands from cold metadata before loading the full plugin runtime, so users could see:

    Unknown command: openclaw supermemory.
    No built-in command or plugin CLI metadata owns "supermemory".
    
  2. The plugin could be installed but not selected as the active memory plugin.

    OpenClaw only allows one plugin to own the memory slot. The default slot is memory-core, so openclaw-supermemory could be installed and enabled but still effectively disabled.

    In that state, inspection showed:

    Error: memory slot set to "memory-core"
    
  3. Setup granted conversation access but not prompt injection.

    Auto-capture needs conversation access, but auto-recall also needs prompt injection so the plugin can inject recalled memories before an AI turn.

  4. Agent cannot access tools

    After installing the npm plugin and running setup, OpenClaw could load the plugin and route the openclaw supermemory ... CLI command, but the main agent still could not access the Supermemory tools.

openclaw supermemory setup and openclaw supermemory setup-advanced now add the Supermemory tools to tools.alsoAllow:

{
  "tools": {
    "alsoAllow": [
      "supermemory_store",
      "supermemory_search",
      "supermemory_forget",
      "supermemory_profile"
    ]
  }
}

Also verified locally with:

openclaw plugins inspect openclaw-supermemory

The plugin reports as loaded, exposes the supermemory command, and uses version 2.1.14 and tools also worked

@ved015
Copy link
Copy Markdown
Member Author

ved015 commented Jun 5, 2026

@claude pls review

@MaheshtheDev MaheshtheDev merged commit daee63a into main Jun 6, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants