📦 Claude Usage — 用量统计

v1.0.0

解析 OpenClaw 会话数据,实时统计 Claude Max 订阅用量:展示已消耗积分、当周预算占比、5 小时速率限制窗口及逐会话明细,一目了然。

0· 966·7 当前·7 累计
下载技能包
最后更新
2026/2/28
0
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
NULL
评估建议
This tool appears to do what it says: it reads local OpenClaw session JSONL files (auto-detected under ~/.openclaw/agents/main/sessions), computes Claude credits, prints reports, and saves a config at ~/.openclaw/claude-usage.json. Before installing/running: (1) Verify you have Python 3.9+ and are comfortable the script will read those session files; (2) inspect the included scripts if you want to confirm there's no network activity (the provided code shows no HTTP/remote calls); (3) be aware se...
详细分析 ▾
用途与能力
Name/description (Claude usage from OpenClaw session data) match the included files: a Python scanner that reads OpenClaw session JSONL files, computes credits using the documented formula, and reports per-session and windowed usage. No extraneous cloud credentials or unrelated dependencies are requested.
指令范围
SKILL.md instructs the user to provide the weekly reset time and plan and then run the bundled Python script. The runtime instructions and script operate on session files under ~/.openclaw/agents/... and save a small config; they do not instruct reading unrelated system files, scanning other home directories, or sending data to external endpoints.
安装机制
There is no install spec in the skill bundle (instruction-only install), which is low risk. The package includes package.json and a small Node wrapper that execs the Python script (normal convenience). README suggests npm installation or ClawHub, but the skill itself does not perform any remote downloads during runtime.
凭证需求
The skill declares no required environment variables or credentials. The script reads OpenClaw session files and writes a local config (~/.openclaw/claude-usage.json), which is proportionate to its purpose. It does not request unrelated secrets.
持久化与权限
The script will create and update a small config file in the user's home (~/.openclaw/claude-usage.json) to store reset_time/plan/tz — this is expected behavior for a local CLI tool. The skill is not marked always:true and does not modify other skills or system-wide agent settings.
安全有层次,运行前请审查代码。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/2/9

NULL

无害

安装命令

点击复制
官方npx clawhub@latest install claude-usage
镜像加速npx clawhub@latest install claude-usage --registry https://cn.longxiaskill.com
数据来源ClawHub ↗ · 中文优化:龙虾技能库