A local-first tiered memory framework that gives AI agents long-term persistence and session recovery capabilities.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install agent-memory-system-guide
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install agent-memory-system-guide using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
This skill provides a comprehensive guide and toolkit for establishing a robust, local-first memory architecture for AI agents. By utilizing a tiered approach—spanning from immediate session states to long-term distilled facts—it ensures that agents maintain context across restarts. This framework is essential for power users of Openclaw Skills who want to avoid the amnesia effect in LLM sessions and build a reliable, auditable knowledge base.
The system integrates seamlessly with Obsidian and leverages the native memory_search capabilities of OpenClaw. It emphasizes a capture first, distill later philosophy, allowing developers to maintain high-velocity workflows while systematically building an agent's long-term intelligence through a local recovery layer that remains portable and auditable.
To get started with this memory system for Openclaw Skills, follow these steps:
python3 scripts/memory_capture.py bootstrap --workspace /path/to/workspace
Create your core MEMORY.md file manually to define high-level user preferences and project mirrors.
Configure your agent system prompt to prioritize reading SESSION-STATE.md and MEMORY.md at the start of every session.
(Optional) Set up an Obsidian vault pointing to the workspace for visual management of daily notes and attachments.
The system organizes data into five logical layers to optimize context window usage:
| Layer | File/Path | Content Responsibility |
|---|---|---|
| Recovery | SESSION-STATE.md | Current task name, completed items, blockers, and next steps. |
| Buffer | working-buffer.md | Temporary decisions, raw logs, and items pending distillation. |
| Long-term | MEMORY.md | Distilled facts, recurring pitfalls, naming conventions, and user preferences. |
| Daily Logs | memory/YYYY-MM-DD.md | Raw chronological activity records and unprocessed daily learnings. |
| Assets | attachments/ | Local media, images, and referenced documentation files. |
Loading
A three-layer hierarchical memory system designed to provide AI agents with persistent context across sessions in Portuguese.

A professional document conversion utility for seamless bi-directional translation between Microsoft Word and Markdown formats.

A high-performance interface for managing Substack publications directly via REST API and Python, bypassing the need for browser automation.

A professional-grade CLI tool designed to analyze consensus operations and evaluate blockchain protocol security.

A resilient web scraping engine designed to bypass bot detection and rate limits where standard fetch methods fail.

A mandatory execution framework for Meta Ads agents that automates reporting, competitor intelligence, and performance-based decision making.








































