Session Hygiene

Prevent sessions.json bloat from accumulating isolated sessions (hooks, crons, subagents). Sets up a cron to archive stale sessions to daily JSONL files and keep sessions.json lean. Use when sessions.json grows large, the gateway becomes slow or unresponsive, or as preventive maintenance on any OpenClaw instance with hooks or crons. Related to openclaw/openclaw#15225.

bishal-pdMSFT Updated 0 repo stars

File contents

bishal-pdMSFT/msb-skills commit cc063da47f

Frequently asked questions

npx get-skill add bishal-pdmsft/session-hygiene