A comprehensive session lifecycle management workflow for Openclaw agents that automates archiving, AI-driven summarization, and multi-cloud backups.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install session-archive-backup
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 session-archive-backup using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Session Archive & Backup System is a robust data management framework designed to handle the complete lifecycle of AI agent interactions. It implements a sophisticated four-layer data architecture that transforms raw conversation history into structured AI summaries and durable long-term memory. This ensure that critical context and developer decisions are never lost while maintaining optimal performance for Openclaw Skills by managing token usage.
By automating the reset-archive-backup cycle, this skill eliminates manual maintenance overhead. It allows developers to focus on coding while the system handles background tasks like token threshold monitoring, idle timeout management, and multi-cloud synchronization to GitHub and OneDrive.
Implementation follows a strict 3-phase workflow to ensure environment compatibility. First, confirm your backup targets (GitHub, OneDrive, or both). Second, verify your workspace structure for the presence of memory directories. Finally, execute the configuration implementation.
# Initialize the required directory structure
mkdir -p memory/session-backups memory/raw-history scripts
# Configure your HEARTBEAT.md with threshold settings
# set token_threshold = 70000
| Component | Path | Description |
|---|---|---|
| Raw History | memory/raw-history/*.jsonl |
Full conversation logs for auditing. |
| Structured Archive | memory/session-backups/*.md |
AI summaries with [NEW]/[UPD]/[KEEP] tags. |
| Long-term Memory | MEMORY.md |
Persistent context across all sessions. |
| Fast Index | memory/index.json |
Metadata and tag index for rapid retrieval. |
| Backup Status | memory/backup-status.json |
Logs of successful cloud synchronization events. |
Loading
A specialized skill for automating Android UI testing on physical devices using Appium and ADB within the Openclaw Skills framework.

A cost-aware personal analytics engine for X (Twitter) that tracks engagement, mentions, and follower growth with built-in budget protection.

A zero-dependency proxy that automatically routes requests to the cheapest capable AI model using a 14-dimension weighted scoring engine.

A streamlined CLI utility to fetch and display the five most recent unique emails from your Gmail inbox.

A comprehensive CLI tool for generating AI-powered UGC videos, featuring talking heads, lip-sync, and automated B-roll assembly.

A conversational AI agent for launching and managing Solana tokens on Pump.fun with built-in fee sharing and portfolio tracking.








































