← Back to Skills Marketplace
176
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install openclaw-daily-ops
Description
Daily cost reporting + session hygiene for OpenClaw deployments. Tracks per-session API spend, shows 7-day trend, and wipes zombie sessions >24h old to preve...
Usage Guidance
This skill appears to do what it says, but before enabling it: 1) Review and edit config.json so sessions_dir and workspace_dir point only to your OpenClaw session paths (not broader system directories). 2) Test both scripts with --dry-run to verify reported sessions and the zombie summary. 3) Back up your session files (or run the zombie killer in dry-run) before allowing it to truncate files. 4) Use a private Discord channel/webhook and avoid exposing the webhook URL; rotate the webhook if it ever leaks. 5) When scheduling with cron, run under the intended user account (not root) to limit file-scope. If any behavior seems unexpected, inspect the scripts again — they are small and readable.
Capability Analysis
Type: OpenClaw Skill
Name: openclaw-daily-ops
Version: 1.0.0
The skill bundle provides legitimate administrative tools for monitoring API costs and performing session maintenance in OpenClaw. The Python scripts (cost_report.py and zombie_killer.py) parse local session logs to calculate token usage and truncate old, large files to save storage and context costs. Data is only sent to a user-provided Discord webhook, and the logic is transparent, well-documented, and lacks any indicators of malicious intent, obfuscation, or unauthorized data exfiltration.
Capability Assessment
Purpose & Capability
Name/description match the included scripts and README. The skill only needs access to OpenClaw session files and a Discord webhook (provided in config.json) to generate reports and reset stale sessions; nothing requested or installed is unrelated to that purpose.
Instruction Scope
SKILL.md and the scripts are explicit about reading sessions.json/sessions_dir and truncating session JSONL files older than the configured threshold. This is destructive by design (it intentionally truncates files) — the instructions limit action to the configured sessions_dir and workspace_dir but you should confirm those paths before running. The only external endpoint used is the Discord webhook you configure.
Install Mechanism
No install spec or remote downloads; the skill is pure Python scripts and docs, so nothing is written to disk beyond the files shipped and the logs the scripts create. Risk from installation is low.
Credentials
No required environment variables or unrelated credentials. The only secret-like value is the Discord webhook supplied in config.json, which is appropriate for posting reports. The scripts write logs under the configured workspace_dir.
Persistence & Privilege
The skill is not always-enabled and does not request elevated platform privileges. It does not modify other skills or system-wide agent settings. It is intended to be scheduled via cron (user-controlled).
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install openclaw-daily-ops - After installation, invoke the skill by name or use
/openclaw-daily-ops - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
openclaw-daily-ops 1.0.0 — Initial release
- Tracks daily OpenClaw per-session API costs and 7-day trends, posting nightly Discord reports
- Wipes ("resets") zombie sessions older than 24h and larger than 1MB to prevent excessive context growth
- Logs all actions to `state/cost-log.json` and `state/session-reset-log.json`
- Zero personal info required; highly configurable for paths, Discord integration, thresholds, and naming
- Designed for robust and friendly night-to-night operations via cron
Metadata
Frequently Asked Questions
What is Openclaw Daily Ops?
Daily cost reporting + session hygiene for OpenClaw deployments. Tracks per-session API spend, shows 7-day trend, and wipes zombie sessions >24h old to preve... It is an AI Agent Skill for Claude Code / OpenClaw, with 176 downloads so far.
How do I install Openclaw Daily Ops?
Run "/install openclaw-daily-ops" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Openclaw Daily Ops free?
Yes, Openclaw Daily Ops is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Openclaw Daily Ops support?
Openclaw Daily Ops is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Openclaw Daily Ops?
It is built and maintained by 云龙 (@zylcold); the current version is v1.0.0.
More Skills