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.

modbender Updated 21 repo stars

File contents

modbender/skill-library-mcp commit d03886a8c4

Frequently asked questions

npx get-skill add modbender/session-hygiene