An automated memory preservation skill that periodically distills agent sessions into daily logs and long-term knowledge bases.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install heartbeat-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 heartbeat-memory using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Heartbeat Memory is a robust session management and knowledge retention tool designed for AI agents. It addresses the challenge of ephemeral chat histories by automatically scanning, summarizing, and archiving interactions into a permanent format. By integrating deeply with the Openclaw Skills ecosystem, it ensures that project decisions, technical discoveries, and context are preserved across sessions without manual intervention.
The skill operates in the background, utilizing a heartbeat mechanism to maintain a continuous record of activity. It doesn't just save text; it uses Large Language Models to distill raw logs into structured daily notes and refined long-term memory files, making it an essential component for developers and researchers who rely on long-form AI collaboration.
Ensure you have the Openclaw gateway running and the CLI tools installed.
Choose one of the following methods:
# Recommended: Install via ClawHub
clawhub install heartbeat-memory
# Alternative: Manual clone
git clone https://github.com/JustZeroX/skill-heartbeat-memory.git ~/.openclaw/skills/heartbeat-memory
You must enable the heartbeat feature in your global configuration:
# Set the heartbeat interval to 30 minutes
openclaw config set agents.defaults.heartbeat '{"every": "30m"}'
# Restart the gateway to apply changes
openclaw gateway restart
The skill organizes data within the ./memory/ directory relative to the current workspace root. It utilizes the following taxonomy:
| Path | Purpose | Format |
|---|---|---|
./memory/daily/YYYY-MM-DD.md |
Daily session summaries and activity logs. | Markdown |
./MEMORY.md |
Long-term distilled knowledge and persistent context. | Markdown |
./memory/heartbeat-memory-config.json |
Workspace-specific processing rules and date filters. | JSON |
./memory/heartbeat-state.json |
Internal state tracking and processing checkpoints. | JSON |
./HEARTBEAT.md |
Automatic status reporting of memory sync activities. | Markdown |
Loading
A cloud-based memory compression API that reduces AI token costs by up to 96% without requiring any local installation.

A deterministic recovery primitive designed to restore agent continuity and user trust after context resets or memory outages.

LobstrHunt connects your agent to a daily skill launch platform to scout new capabilities and contribute to the community ecosystem.

A specialized tool for writing, debugging, and optimizing TradingView Pine Script indicators and automated trading strategies.

ClawSpa is a comprehensive wellness and maintenance suite designed to optimize AI agent performance through memory cleanup, security audits, and alignment diagnostics.

A specialized skill designed to strip away the robotic, formulaic nature of AI-generated Chinese text to produce natural, professional, and high-density content.








































