skills/skills.volces.com/session-health-monitor

session-health-monitor

SKILL.md

Session Health Monitor

Monitor your OpenClaw agent context window health, get warnings via Telegram when usage is high, save critical facts before compaction, and keep memory directories clean.

Overview

Four capabilities for OpenClaw agent sessions:

  1. Context Threshold Warnings — Agents append usage footer to Telegram messages and warn at configurable thresholds
  2. Compaction Detection — Track usage drops to infer when context was compacted
  3. Pre-Compaction Snapshots — Save key facts and decisions to daily memory files before they're lost
  4. Memory Rotation — Archive old daily memory files to prevent clutter

Quick Setup (OpenClaw)

1. Add shared skill reference

Add to your shared/INDEX.md:

Installs
5
First Seen
Mar 28, 2026