OpenClaw Agent Memory Plugin: Persistent Context Across Sessions

A developer has created a memory plugin for OpenClaw that gives agents persistent memory across sessions, addressing the frustration of agents forgetting everything between interactions and requiring the same explanations repeatedly.
How it works
The plugin implements a memory layer that hooks into OpenClaw's plugin system. Before every turn, the agent automatically receives relevant context from past conversations. After every turn, new facts and events are extracted and stored.
The system searches three memory types before each turn:
- Facts — Example: "Uses PostgreSQL on Supabase, deploys via Railway."
- Events — Example: "Had OOM issue on Mar 15, fixed with Redis cache."
- Workflows — Example: "Deploy: build → test → push to main → Railway auto-deploys."
Configuration
Setup requires adding a plugin entry to openclaw.json:
{
"plugins": {
"entries": {
"openclaw-mengram": {
"enabled": true,
"config": {
"apiKey": "om-..."
}
}
},
"slots": {
"memory": "openclaw-mengram"
}
}
}The plugin includes an auto-recall hook that searches memory before each agent turn. When workflows fail, the agent logs feedback and the procedure automatically evolves to a better version for next time.
The tool is open source under Apache 2.0 license and available at github.com/alibaizhanov/mengram.
📖 Read the full source: r/openclaw
👀 See Also

Quiver: A GUI for Managing and Syncing Claude Code Skills
Quiver is a free, open-source GUI tool that provides a web interface for managing Claude Code skills, allowing users to browse local skills and marketplace plugins, edit SKILL.md files, sync via Git, and install skills without using the terminal.

Slack Message Formatter: Fix Claude's Broken Markdown in Slack
A developer built a skill that converts Claude-generated Markdown to proper Slack formatting, solving issues where bold text shows as asterisks, links appear raw, and tables break. The tool offers both browser preview with rich HTML copy-paste and API webhook support.

Treck: A Chrome Extension That Captures Web Research and Uses Claude to Generate Documents
Treck is a Chrome extension that captures web research into projects and uses Claude to turn them into documents, quotes, and shareable pages. Bring your own API key.

8 Advanced Claude Code Tips: Cost Saving, Context Management, Custom Commands
Practical tips from heavy daily use of Claude Code, covering git workflow automation, multimodal image input, API usage tracking, context compaction, session resumption, rule management, thinking triggers, and custom commands.