A continuity system that automatically restores context and memory across different AI agent sessions using rolling 24-hour logs and curated long-term storage.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install cross-session-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 cross-session-memory using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Cross-Session Memory provides a robust framework for maintaining state and context awareness beyond a single interaction. By leveraging a dual-layer approach—daily raw logs and curated long-term records—it ensures that your AI agents never lose track of ongoing projects, user preferences, or recent decision-making history. This skill is critical for developers building complex, multi-day workflows within the Openclaw Skills ecosystem.
The system automatically calculates time ranges to load the most relevant 24-hour rolling memory while offering the flexibility to integrate deep historical data from a dedicated MEMORY.md file. This architecture prevents token waste by separating ephemeral session data from permanent knowledge, allowing for a highly efficient and context-rich user experience.
To integrate this into your workflow, update your AGENTS.md file with the following session instructions:
## Every Session
1. Read memory/YYYY-MM-DD.md (today + yesterday) for recent context
2. If in MAIN SESSION: Also read MEMORY.md
For automated loading via PowerShell hooks in your Openclaw Skills configuration:
{
"hooks": {
"sessionStart": {
"enabled": true,
"script": "skills/cross-session-memory/load-memory.ps1"
}
}
}
The skill organizes data into a hierarchical structure within the workspace:
| File/Directory | Type | Description |
|---|---|---|
MEMORY.md |
Markdown | Curated long-term memory (Preferences, Projects, Decisions) |
memory/ |
Directory | Storage for daily granular logs |
memory/YYYY-MM-DD.md |
Markdown | Daily session summaries and raw task logs |
Loading
Auto Logger is an automated documentation and memory skill that records daily activities, key decisions, and conversation summaries into structured Markdown files.

An expert AI utility for generating standardized MySQL 5.7 and 8.0 DDL scripts based on complex business logic and industry-leading naming conventions.

An automated utility for disk cleanup, system resource optimization, and batch multi-server maintenance via SSH.

A comprehensive model manager for handling multi-provider switching, automatic failover chains, and subagent routing.

A resilient messaging skill that ensures Feishu delivery through automatic retries and format-to-plain-text fallback strategies.

A research automation tool that generates a daily top-5 crypto token leaderboard with risk summaries and ready-to-publish social media drafts.








































