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

@fpytloun/openclaw-mnemory

v0.2.0

Published

OpenClaw plugin for mnemory — long-term semantic memory with auto-recall/capture and explicit tools

Readme

OpenClaw Plugin -- Mnemory

An OpenClaw plugin that provides long-term semantic memory backed by a mnemory server.

Features

  • Auto-Recall: Automatically fetches relevant memories and injects them into the system prompt before each agent turn
  • Auto-Capture: Extracts and stores memories from conversations after each exchange (fire-and-forget)
  • 15 Explicit Tools: memory_search, memory_find, memory_ask, memory_add, memory_add_batch, memory_update, memory_delete, memory_delete_batch, memory_list, memory_categories, memory_recent, memory_save_artifact, memory_get_artifact, memory_list_artifacts, memory_delete_artifact
  • CLI Commands: openclaw mnemory status, openclaw mnemory search, openclaw mnemory list
  • Compaction-safe: Memories survive session compaction via hook-based re-injection

Prerequisites

A running mnemory server accessible via HTTP.

Install

openclaw plugins install @fpytloun/openclaw-mnemory

Configure

In your openclaw.json:

{
  plugins: {
    slots: { memory: "mnemory" },
    entries: {
      mnemory: {
        enabled: true,
        config: {
          url: "http://localhost:8050",
          apiKey: "${MNEMORY_API_KEY}"
        }
      }
    }
  }
}

Configuration Options

| Key | Env Var | Default | Description | |-----|---------|---------|-------------| | url | MNEMORY_URL | (required) | Mnemory server URL | | apiKey | MNEMORY_API_KEY | (empty) | Bearer token for authentication | | userId | MNEMORY_USER_ID | (empty) | User ID (required when API key is wildcard) | | agentPrefix | MNEMORY_AGENT_PREFIX | openclaw | Prefix for agent IDs (e.g., openclaw:main) | | autoRecall | -- | true | Auto-inject memories into context | | autoCapture | -- | true | Auto-extract memories from conversations | | recallFindFirst | -- | true | Use AI-powered search on first turn (higher quality, slower) | | recallSearchMode | -- | search | Search mode for subsequent turns: find or search | | scoreThreshold | -- | 0.5 | Min relevance score for recalled memories (0.0-1.0) | | includeAssistant | -- | true | Send assistant messages for extraction | | managed | -- | true | Include behavioral instructions in system prompt | | timeout | MNEMORY_TIMEOUT | 60000 | HTTP request timeout in ms |

Config values support ${ENV_VAR} syntax for environment variable resolution.

How It Works

  1. session_start: Pre-fetches instructions and core memories from /api/recall (non-blocking)
  2. before_prompt_build: Two-phase recall per turn:
    • Awaits the init recall (instructions + core memories) if still pending
    • Sends the current user prompt as a search query to /api/recall for topical memories
    • First turn uses AI-powered find mode (configurable via recallFindFirst), subsequent turns use fast search mode (configurable via recallSearchMode)
    • Search results are replaced each turn (not accumulated) — the server deduplicates via session tracking
    • Injects instructions via prependSystemContext (cacheable), core memories + search results via appendSystemContext
  3. agent_end: Extracts the last user+assistant exchange, strips inbound metadata, sends to /api/remember for background extraction
  4. after_compaction: Re-fetches memories and resets turn tracking after context compaction
  5. session_end: Cleans up session state

Memory Slot

This plugin declares kind: "memory" and is activated by setting plugins.slots.memory: "mnemory". Only one memory plugin can be active at a time.

License

MIT