返回顶部
o

openclaw-model-usage

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.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.2.1
安全检测
已通过
110
下载量
0
收藏
概述
安装方式
版本历史

openclaw-model-usage

# OpenClaw Model Usage Use this skill to inspect local OpenClaw model usage directly from session JSONL files. ## When to use Use this skill when the user asks for: - the current / most recent model in use - recent model usage - usage summaries by provider/model - token totals by model - cost summaries by model when available - per-agent or per-session usage - session/subagent rollups - daily model usage summaries - a compact summary plus an optional HTML dashboard ## What it does This skill provides a local-first replacement for external model-usage workflows. It reads OpenClaw session logs directly and does not depend on CodexBar. ## Preferred usage Start with a short human-readable summary: ```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 ``` Generate the HTML dashboard from **real local logs** when the user wants a richer artifact: ```bash python {baseDir}/scripts/model_usage.py dashboard --root ~/.openclaw/agents --out dist/dashboard.html --title "OpenClaw Usage Dashboard" ``` Recommended response pattern: - return a short human-readable summary first - optionally generate and attach the HTML dashboard for richer inspection on phone/desktop ## JSON output ```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 ``` ## Inputs Default real source: ```bash ~/.openclaw/agents ``` Important: - use the real local OpenClaw log root for user-facing summaries and dashboards - do **not** use `tests/fixtures_root` unless you are intentionally running development tests - fixture roots generate sample/test output, not the user's real usage report ## References If you need field-level sourcing details, read: - `references/discovery.md`

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 openclaw-model-usage-1775976975 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 openclaw-model-usage-1775976975 技能

通过命令行安装

skillhub install openclaw-model-usage-1775976975

下载 Zip 包

⬇ 下载 openclaw-model-usage v1.2.1

文件大小: 23.72 KB | 发布时间: 2026-4-13 11:19

v1.2.1 最新 2026-4-13 11:19
Clarify live dashboard usage and mark fixtures as development-only

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部