Best use case
openclaw-memory is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Teams using openclaw-memory should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/openclaw-memory/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How openclaw-memory Compares
| Feature / Agent | openclaw-memory | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
This skill provides specific capabilities for your AI agent. See the About section for full details.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Marketing
Discover AI agents for marketing workflows, from SEO and content production to campaign research, outreach, and analytics.
AI Agents for Startups
Explore AI agent skills for startup validation, product research, growth experiments, documentation, and fast execution with small teams.
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
SKILL.md Source
# OpenClaw Memory System **Persistent memory across sessions with semantic search and x402 payments.** ## What is it? The first OpenClaw skill that gives your agents **persistent memory** - they remember facts, preferences, patterns, and conversation history across all sessions. Never repeat context again. ## Key Features - 🧠 **Persistent Memory** - Remembers everything across sessions - 🔍 **Semantic Search** - Find memories by meaning, not just keywords - 🤖 **Automatic Learning** - Extracts facts and preferences automatically - 💾 **Local Storage** - SQLite database with vector embeddings - 💰 **x402 Payments** - Agents can pay for unlimited storage (0.5 USDT/month) ## Free vs Pro Tier **Free Tier:** - 100 memories maximum - 7-day retention - Basic semantic search **Pro Tier (0.5 USDT/month):** - Unlimited memories - Permanent retention - Advanced semantic search - Memory relationship mapping ## Installation ```bash claw skill install openclaw-memory ``` ## Commands ```bash # Search memories claw memory search "What does user prefer?" # List recent memories claw memory list --limit=10 # Show stats claw memory stats # Open dashboard claw memory dashboard # Subscribe to Pro claw memory subscribe ``` ## How It Works 1. **Hooks into requests** - Automatically extracts important information 2. **Generates embeddings** - Creates semantic vectors for search 3. **Stores locally** - SQLite database with full privacy 4. **Retrieves on demand** - Injects relevant memories before requests 5. **Manages quota** - Prunes old memories when limits reached (Free tier) ## Use Cases - Remember user preferences and coding style - Store project context and requirements - Learn patterns from repeated interactions - Maintain conversation history across sessions - Build knowledge base over time ## Agent Economy Agents can autonomously evaluate if Pro tier is worth it: - **Cost:** 0.5 USDT/month - **Value:** Saves tokens by eliminating context repetition - **ROI:** If persistent memory saves >0.5 USDT/month in tokens, it pays for itself See [AGENT-PAYMENTS.md](AGENT-PAYMENTS.md) for x402 integration details. ## Privacy - All data stored locally in `~/.openclaw/openclaw-memory/` - No external servers or telemetry - Embeddings can use local models (no API calls) - Open source - audit the code yourself ## Dashboard Access web UI at `http://localhost:9091`: - Browse and search memories - View memory timeline - Check quota and stats - Manage Pro subscription ## Foundation for Future Tools Memory System is the foundation for: - **Context Optimizer** - Uses memories to compress context - **Smart Router** - Learns routing patterns - **Rate Limit Manager** - Tracks usage patterns ## Requirements - Node.js 18+ - OpenClaw v2026.1.30+ - OS: Windows, macOS, Linux ## Links - [Documentation](README.md) - [Agent Payments Guide](AGENT-PAYMENTS.md) - [GitHub Repository](https://github.com/yourusername/openclaw-memory) - [ClawHub Page](https://clawhub.ai/skills/openclaw-memory) --- **Built by the OpenClaw community** | First memory system with x402 payments
Related Skills
openclaw-youtube
YouTube SERP Scout for agents. Search top-ranking videos, channels, and trends for content research and competitor tracking.
openclaw-search
Intelligent search for agents. Multi-source retrieval with confidence scoring - web, academic, and Tavily in one unified API.
openclaw-media-gen
Generate images & videos with AIsa. Gemini 3 Pro Image (image) + Qwen Wan 2.6 (video) via one API key.
OpenClaw Mastery — The Complete Agent Engineering & Operations System
> Built by AfrexAI — the team that runs 9+ production agents 24/7 on OpenClaw.
Agent Memory Architecture
Complete zero-dependency memory system for AI agents — file-based architecture, daily notes, long-term curation, context management, heartbeat integration, and memory hygiene. No APIs, no databases, no external tools. Works with any agent framework.
memory-cache
High-performance temporary storage system using Redis. Supports namespaced keys (mema:*), TTL management, and session context caching. Use for: (1) Saving agent state, (2) Caching API results, (3) Sharing data between sub-agents.
openclaw-safe-change-flow
Safe OpenClaw config change workflow with backup, minimal edits, validation, health checks, and rollback. Single-instance first; secondary instance optional.
jqopenclaw-node-invoker
统一通过 Gateway 的 node.invoke 调用 JQOpenClawNode 能力(file.read、file.write、process.exec、process.manage、system.run、process.which、system.info、system.screenshot、system.notify、system.clipboard、system.input、node.selfUpdate)。当用户需要远程文件读写、文件移动/删除、目录创建/删除、进程管理(列表/搜索/终止)、远程进程执行、命令可执行性探测、系统信息采集、截图采集、系统弹窗、系统剪贴板读写、输入控制(鼠标/键盘)、节点自更新、节点命令可用性排查或修复 node.invoke 参数错误时使用。
Memory
Infinite organized memory that complements your agent's built-in memory with unlimited categorized storage.
openclaw-stock-skill
使用 data.diemeng.chat 提供的接口查询股票日线、分钟线、财务指标等数据,支持 A 股等市场。
openclaw-whatsapp
WhatsApp bridge for OpenClaw — send/receive messages, auto-reply agents, QR pairing, message search, contact sync
auto-memory
Indestructible agent memory — permanently stored, never lost. Save decisions, identity, and context as a memory chain on the Autonomys Network. Rebuild your full history from a single CID, even after total state loss.