openclaw-subagent-session-cleanupClean up accumulated subagent and cron:run child sessions in OpenClaw to fix slow subagent startup. Use when: subagents are slow to start, sessions.json is t...
Install via ClawdBot CLI:
clawdbot install lrddrl/openclaw-subagent-session-cleanupGrade Fair — based on market validation, documentation quality, package completeness, maintenance status, and authenticity signals.
Generated May 20, 2026
When an AI assistant platform experiences subagent startup delays exceeding 10 seconds, this skill cleans accumulated child sessions in sessions.json to restore fast startup times. Ideal for SaaS platforms running OpenClaw gateway where multiple subagents are spawned per user request.
For systems running frequent cron tasks (e.g., hourly data syncs), child session accumulation can slow the gateway. This cleanup removes cron:run records while preserving cron definitions, ensuring scheduled jobs continue to execute efficiently.
Customer support bots using multiple channels (WhatsApp, Telegram, etc.) accumulate subagent sessions from each interaction. This skill cleans those without affecting active channel sessions, preventing performance degradation during peak support hours.
During active development with frequent subagent calls, sessions.json can bloat quickly. Developers can run this cleanup post-testing to maintain gateway responsiveness without losing debug information in .jsonl files (unless explicitly purged).
By reducing the size of sessions.json, this skill indirectly lowers storage requirements and speeds up gateway operations. Useful for cloud deployments where storage costs scale with file size, and for improving overall system reliability.
Offer this cleanup skill as part of a premium add-on for OpenClaw-based AI platforms. Customers pay a monthly fee for automated session maintenance, ensuring consistent subagent performance.
Provide a monitoring service that periodically checks sessions.json size and executes cleanup as needed. Charge a flat rate per server per month, with emergency cleanup calls priced separately.
For customers who prefer a single intervention, charge a one-time fee to run the cleanup script and set up a recurring manual reminder (or integrate with their scheduler). Ideal for small deployments.
💬 Integration Tip
Schedule the cleanup script to run periodically via cron or a similar scheduler, ensuring the gateway is stopped before execution and restarted after. Use the -DryRun flag initially to preview deletions.
Scored May 20, 2026
Use the ClawdHub CLI to search, install, update, and publish agent skills from clawdhub.com. Use when you need to fetch new skills on the fly, sync installed skills to latest or a specific version, or publish new/updated skill folders with the npm-installed clawdhub CLI.
Mission control dashboard for OpenClaw - real-time session monitoring, LLM usage tracking, cost intelligence, and system vitals. View all your AI agents in o...
Transcribe YouTube videos to text by extracting captions and subtitles directly from the video URL using yt-dlp without audio processing.
Manage a self-hosted Trello-like board via `wekancli`. Create, move and archive cards, lists and boards on a WeKan server. Use when user asks about task boar...
Proactive security monitoring, threat scanning, and auto-remediation for OpenClaw deployments
Create or improve SOUL.md files for OpenClaw agents through guided conversation. Use when designing agent personality, crafting a soul, or saying "help me create a soul". Supports self-improvement.