npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@maximem/memory-plugin

v0.3.0

Published

Maximem memory plugin for OpenClaw (formrely ClawdBot and MoltBot) with auto recall and capture

Readme

Maximem Memory Plugin for OpenClaw / MoltBot

npm install @maximem/memory-plugin

OpenClaw plugin and MoltBot plugin for persistent cross-channel memory. Uses the Maximem backend for auto recall and auto capture: before_agent_start the plugin recalls relevant memories; at agent_end it captures conversation context.

Features

  • Auto-Recall: Automatically injects relevant memories before each LLM turn
  • Auto-Capture: Automatically stores conversation context after each turn
  • Slash Commands: /remember and /recall for direct memory interaction
  • OpenClaw Agent: maximem_store, maximem_search, maximem_forget for agent-driven memory operations
  • CLI Commands: Terminal-based memory management with openclaw maximem
  • Cross-Channel: Memories persist across Telegram, Slack, WhatsApp, Discord, and all supported channels

How it works

  • before_agent_start → recall (inject relevant memories into context)
  • agent_end → capture (store conversation context)

API Key

Get your API key from Maximem AI.

Installation

From npm

openclaw plugins install @maximem/memory-plugin

Verify Installation

openclaw plugins list
openclaw plugins info memory-plugin
openclaw plugins doctor

Configuration

Option 1: Environment Variable (Recommended)

macOS/Linux (zsh)

echo 'export MAXIMEM_API_KEY="mx_..."' >> ~/.zshrc
source ~/.zshrc

macOS/Linux (bash)

echo 'export MAXIMEM_API_KEY="mx_..."' >> ~/.bashrc
source ~/.bashrc

Windows PowerShell

[System.Environment]::SetEnvironmentVariable("MAXIMEM_API_KEY", "mx_...", "User")

Option 2: Config File

Edit ~/.openclaw/openclaw.json:

{
  "plugins": {
    "entries": {
      "memory-plugin": {
        "enabled": true,
        "config": {
          "apiKey": "mx_...",
          "autoRecall": true,
          "autoCapture": true,
          "maxRecallTokens": 1000,
          "minPromptLength": 5,
          "captureDebounceMs": 2000
        }
      }
    }
  },
  "agents": {
    "list": [{
      "id": "main",
      "tools": {
        "allow": ["maximem_store", "maximem_search", "maximem_forget"]
      }
    }]
  }
}

Configuration Options

| Option | Type | Default | Description | |--------|------|---------|-------------| | apiKey | string | - | Maximem API key (or set MAXIMEM_API_KEY env var) | | autoRecall | boolean | true | Automatically inject memories before each turn | | autoCapture | boolean | true | Automatically capture conversation after each turn | | maxRecallTokens | number | 1000 | Maximum tokens for recalled memory context (100-10000) | | minPromptLength | number | 5 | Minimum prompt length to trigger recall | | captureDebounceMs | number | 2000 | Debounce window for batching captures (milliseconds) |

Usage

Slash Commands

Use these commands directly in any supported chat channel (Whatsapp, Slack, etc.):

/remember [text]

Manually save information to long-term memory:

/remember My favorite programming language is TypeScript
/remember I prefer dark themes for all applications
/remember Project deadline is March 15, 2026

/recall [query]

Search your long-term memory:

/recall favorite programming language
/recall project deadline
/recall preferences

CLI Commands

Manage memories from the terminal:

Search Memories

openclaw maximem search "favorite color"
openclaw maximem search "deadlines" --limit 20
openclaw maximem search "preferences" --category preference --json

OpenClaw Agent

Enable tools in your agent configuration to let the Agent use memory operations:

{
  "agents": {
    "list": [{
      "id": "main",
      "tools": {
        "allow": ["maximem_store", "maximem_search", "maximem_forget"]
      }
    }]
  }
}

The Agent can then autonomously:

  • Store important facts when users share information
  • Search memories when answering questions about past conversations
  • Forget specific memories when requested

Support