openclaw-daily-ops
OfficialAutomate OpenClaw cost reporting and cleanup
Authorreadtheskill
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Consolidates daily API cost totals from OpenClaw session files and removes stale "zombie" sessions to control spending and free up resources in deployed environments.
Core Features & Use Cases
- Cost Aggregation: Parses OpenClaw session files and computes daily API cost totals with trend and budget signals.
- Discord Reporting: Posts a clean daily report to a configurable Discord webhook and optionally pings a high-cost user ID for alerts.
- Zombie Session Cleanup: Resets or removes stale sessions based on configurable age and size thresholds to prevent runaway costs.
- Use Case: Run nightly to summarize daily spending, alert stakeholders on over-budget trends, and clear sessions older than 24 hours above a size threshold.
Quick Start
Run the OpenClaw daily ops script with your config to generate a dry-run cost report and preview cleanup actions.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: openclaw-daily-ops Download link: https://github.com/readtheskill/readtheskill/archive/main.zip#openclaw-daily-ops Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.