openclaw-usage-dashboard

Generate an interactive local HTML dashboard showing OpenClaw API usage, costs, and rate-limit quotas across multiple LLM providers (Anthropic, OpenAI, Google, Moonshot, Mistral, Cohere, Groq). Reads session transcripts directly — no external service needed. Use when a user asks about API costs, token usage, model spend, quota/rate limits, usage by model or time period, or wants a cost overview dashboard. Triggers on "usage dashboard", "API kosten", "wie viel kostet", "kontingent", "rate limit", "token verbrauch", "cost dashboard", "openclaw costs", "spending overview".

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "openclaw-usage-dashboard" with this command: npx skills add vanhuelsing/openclaw-usage-dashboard

OpenClaw Usage Dashboard

Generate a self-contained HTML dashboard from OpenClaw session transcripts. Zero dependencies — Python 3.8+ stdlib only.

Usage

# Real data (reads ~/.openclaw/agents/main/sessions/)
python3 scripts/usage-dashboard-generic.py [output.html]

# Demo mode (generates 30 days of realistic mock data)
python3 scripts/usage-dashboard-generic.py [output.html] --demo

Default output: ~/openclaw-usage-dashboard.html

Override sessions path: set OPENCLAW_ROOT env var.

What It Shows

  • Cost KPIs: Total spend, today's cost, API calls, active model, cache hit rate, monthly projection
  • Model config: Active / default / fallback models from openclaw.json
  • Anthropic quota gauges: 5h and 7d rate limit utilization (requires ANTHROPIC_API_KEY)
  • Donut chart: Cost distribution by model
  • Hourly sparkline: Today's call volume by hour
  • Stacked bars: Cost by period (daily / weekly / monthly / yearly)
  • Model table: Per-model breakdown with token counts and cost
  • Detail table + chart: Toggle between table and bar chart view per period
  • Budget tracker: Set monthly limit, progress bar, localStorage persistence
  • CSV export: Download any period view as CSV
  • Provider dropdown: Filter by provider

Supported Providers

Anthropic, OpenAI, Google, Moonshot/Kimi, Mistral, Cohere, Groq — 30+ models with built-in pricing.

Customization

Add models

Edit PRICES dict in the script (price per 1M tokens):

"provider/model-name": {"input": 2.50, "output": 10.00, "cache_read": 1.25, "cache_write": 2.50}

Add to MODEL_COLORS and ALIAS_MAP as needed.

Pricing reference

See references/prices.md for current prices across all providers.

Requirements

  • Python 3.8+ (stdlib only)
  • ANTHROPIC_API_KEY in env (optional, for live quota gauges)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Wechat Mp Writer

WeChat Official Account (公众号) content writer with article formatting, headline optimization, and engagement tips. Use when you need to write WeChat articles,...

Registry SourceRecently Updated
General

OpenClaw EverMemory Installer

Use this skill when installing, upgrading, verifying, or publishing the EverMemory OpenClaw plugin and its companion skill, including local path install, npm...

Registry SourceRecently Updated
General

Ip Advisor

知识产权顾问。专利、版权、商业秘密、注册流程、保护策略。IP advisor for patents, copyrights, trade secrets. 知识产权、专利、版权。

Registry SourceRecently Updated
1950ckchzh
General

炒股大师模拟器

炒股大师模拟器 | 股市模拟交易练习 | A股/港股/美股投资学习 | 化身文主任/股神老徐/炒股养家/孙宇晨等各位大师学习投资思路 | 多智能体股票讨论群

Registry SourceRecently Updated
openclaw-usage-dashboard | V50.AI