A disciplined, five-layer file-based memory system that gives AI agents permanent recall and structured context management without external APIs.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install afrexai-agent-memory
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 afrexai-agent-memory using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Agent Memory Architecture is a comprehensive framework designed to provide AI agents with a robust, zero-dependency memory system. Instead of relying on volatile session history or complex external databases, this architecture uses a structured hierarchy of Markdown files to store everything from immediate tasks to long-term curated knowledge. By incorporating these Openclaw Skills, developers can ensure their agents maintain continuity across sessions, learn from past mistakes, and manage large amounts of context efficiently.
This system operates on the principle that text is permanent while mental notes are fleeting. It organizes information into five distinct layers—Hot, Warm, Daily, Topic, and Cold—allowing the agent to prioritize what it needs to know right now while archiving historical data for future retrieval. This approach makes Openclaw Skills more reliable, human-aware, and capable of handling complex, long-running projects.
To implement this architecture within your Openclaw Skills environment, initialize the required file structure using the following commands:
mkdir -p memory/topics memory/archive
touch MEMORY.md ACTIVE-CONTEXT.md AGENTS.md SOUL.md USER.md
Once the files are created, populate the SOUL.md and USER.md files with identity context, and configure your agent's system instructions to follow the session startup and write protocols defined in the architecture.
The architecture utilizes a tiered Markdown schema to organize data by volatility and relevance:
| Layer | Primary File | Purpose |
|---|---|---|
| Hot | ACTIVE-CONTEXT.md | Current priorities, active tasks, and blockers (Max 50 lines). |
| Warm | MEMORY.md | Curated long-term knowledge, preferences, and project status (Max 500 lines). |
| Daily | memory/YYYY-MM-DD.md | Raw event logs, timestamps, and daily takeaways. |
| Topic | memory/topics/*.md | Deep-dive context for specific projects or technical domains. |
| Cold | memory/archive/*.md | Historical quarterly summaries and project post-mortems. |
Loading
A strategic operational framework for managing, monitoring, and scaling autonomous AI agent workforces within an organization.

A comprehensive framework for designing, deploying, and operating production-ready AI agent systems and autonomous swarms.

Automate accounts receivable workflows including aging analysis, collection prioritization, and bad debt forecasting to optimize business cash flow.

A sophisticated automation framework for managing the end-to-end accounts payable lifecycle, from invoice OCR to fraud prevention.

A professional framework to score, monitor, and troubleshoot production AI agent fleets across six critical performance dimensions.

A comprehensive framework for generating production-ready operations runbooks to deploy, monitor, and scale AI agents safely.








































