AGENT SKILL

openclaw-daily-ops

Daily cost reporting plus zombie session cleanup for OpenClaw deployments.

License 许可
MIT
最近更新
2026-03-21
Stars
★ 3
Forks
0

01 前言 Front Matter

name
openclaw-daily-ops
tags
[ "openclaw", "cost-reporting", "cron", "discord", "session-cleanup" ]
source
https://github.com/oh-ashen-one/openclaw-daily-ops
version
1.0
category
automation
framework
OpenClaw
description
Daily cost reporting plus zombie session cleanup for OpenClaw deployments.
verified_at
2026-03-10
verified_by
readtheskill.com

03 SKILL.md 正文

OpenClaw Daily Ops

Daily cost reporting + zombie session killer for OpenClaw deployments.

What It Does

  1. Parses OpenClaw session files and computes daily API cost totals
  2. Posts a clean daily report to Discord (including trend + budget signals)
  3. Resets stale sessions older than configured age/size thresholds

Quick Start

git clone https://github.com/oh-ashen-one/openclaw-daily-ops
cd openclaw-daily-ops
cp config.example.json config.json
python3 scripts/cost_report.py --config config.json --dry-run

Required Config

  • discord_webhook
  • discord_user_id (for high-cost ping alerts)
  • session path inputs for your OpenClaw deployment
  • cleanup thresholds such as zombie_min_age_hours and zombie_min_size_mb

Suggested Agent Usage

Set up nightly OpenClaw ops: post a daily cost report to Discord and reset zombie sessions older than 24h over 1MB context.

Links


Verified by readtheskill.com — verify this skill

04 同仓库更多 Skills