Inspect local OpenClaw model usage directly from session logs. Use when asked for the current model, recent model usage, usage breakdown by model, token totals, cost summaries, per-agent usage, or daily model usage summaries.
使用此技能直接从会话 JSONL 文件中检查本地 OpenClaw 模型使用情况。
当用户询问以下内容时使用此技能:
此技能为外部模型使用工作流提供本地优先的替代方案。
它直接读取 OpenClaw 会话日志,不依赖 CodexBar。
从简短易读的摘要开始:
bash
python {baseDir}/scripts/model_usage.py
python {baseDir}/scripts/model_usage.py overview
python {baseDir}/scripts/model_usage.py top-agents
python {baseDir}/scripts/model_usage.py top-sessions
当用户需要更丰富的展示时,从真实本地日志生成 HTML 仪表盘:
bash
python {baseDir}/scripts/model_usage.py dashboard --root ~/.openclaw/agents --out dist/dashboard.html --title OpenClaw 使用仪表盘
推荐回复模式:
bash
python {baseDir}/scripts/model_usage.py overview --json --pretty
python {baseDir}/scripts/model_usage.py sessions --json --pretty
python {baseDir}/scripts/model_usage.py subagents --json --pretty
python {baseDir}/scripts/model_usage.py rows --limit 20 --json --pretty
默认真实数据源:
bash
~/.openclaw/agents
重要提示:
如需了解字段级来源详情,请阅读:
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 openclaw-model-usage-1775976975 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 openclaw-model-usage-1775976975 技能
skillhub install openclaw-model-usage-1775976975
文件大小: 23.72 KB | 发布时间: 2026-4-13 11:19