Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here
memory-alchemist logo

memory-alchemist

song-leaf724/Memory-Alchemist

Otheropenclawby song-leaf724

Summary

OpenClaw plugin exposing 0 skills.

Install to Claude Code

openclaw plugin add song-leaf724/Memory-Alchemist

Run in Claude Code. Add the marketplace first with /plugin marketplace add song-leaf724/Memory-Alchemist if you haven't already.

README.md

Memory-Alchemist

Memory-Alchemist is now packaged as an OpenClaw-native TypeScript plugin. It focuses on memory lifecycle governance:

  • structured memory records
  • credit-assignment scoring
  • recall ranked by similarity plus importance
  • automatic keep, compress, merge, and forget
  • automatic sync to MEMORY.md
  • explicit /remember, /memories, /forgetmem commands

What This Version Is

This folder is designed to be loaded directly by OpenClaw as a local plugin. The plugin entry is index.ts and the main implementation is plugin.ts.

The previous Python prototype is still kept in memory_alchemist/ as a legacy reference, but OpenClaw should use the TypeScript plugin.

Direct Use

Option 1: one-step install on your machine

Run:

powershell -ExecutionPolicy Bypass -File D:\develop\Memory-Alchemist\install-openclaw.ps1

This script:

  • adds D:\develop\Memory-Alchemist to plugins.load.paths
  • enables the memory-alchemist plugin
  • enables prompt-context injection for the plugin
  • sets the memory slot to memory-alchemist

Then restart OpenClaw gateway.

Option 2: manual config

Edit openclaw.json and make sure it contains something like:

{
  "plugins": {
    "load": {
      "paths": ["D:\\develop\\Memory-Alchemist"]
    },
    "slots": {
      "memory": "memory-alchemist"
    },
    "entries": {
      "memory-alchemist": {
        "enabled": true,
        "hooks": {
          "allowPromptInjection": true
        }
      }
    }
  }
}

How It Works

Memory-Alchemist uses OpenClaw lifecycle hooks:

  • before agent start: recalls relevant memories and injects them into context
  • agent end: scores recalled memories based on outcome and auto-captures new durable facts/preferences
  • session end / background maintenance: compresses, merges, promotes, or forgets memories

The plugin stores its state by default in:

~/.openclaw/memory/memory-alchemist.json

When enabled, it also syncs high-value memories into:

~/.openclaw/workspace/MEMORY.md

The plugin writes only to a managed block inside that file, so your own handwritten notes outside the block are preserved.

Commands

After the plugin is enabled, you can use:

  • /remember <text>: store a memory explicitly
  • /memories: show stats
  • /memories <query>: search memories
  • /forgetmem <id or query>: delete matching memories

CLI commands:

openclaw memory-alchemist stats
openclaw memory-alchemist search "weekly report"

Files

Related plugins

Browse all →