← 返回 Skills 市场
176
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install 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...
安全使用建议
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.
功能分析
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.
能力评估
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).
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install openclaw-daily-ops - 安装完成后,直接呼叫该 Skill 的名称或使用
/openclaw-daily-ops触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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
元数据
常见问题
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 176 次。
如何安装 Openclaw Daily Ops?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-daily-ops」即可一键安装,无需额外配置。
Openclaw Daily Ops 是免费的吗?
是的,Openclaw Daily Ops 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Openclaw Daily Ops 支持哪些平台?
Openclaw Daily Ops 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Openclaw Daily Ops?
由 云龙(@zylcold)开发并维护,当前版本 v1.0.0。
推荐 Skills