Skip to content
Back to skills

Openclaw Usage Dashboard

ASecurity

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\", \"...

  • 33 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 5, 2026
ai-agentspythongobashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add dvcrn/openclaw-skills-marketplace --skill openclaw-usage-dashboard --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Openclaw Usage Dashboard?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Openclaw Usage Dashboard
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dvcrn-openclaw-usage-dashboard/badge)](https://www.skillsdirectory.com/skills/dvcrn-openclaw-usage-dashboard)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: openclaw-usage-dashboard
description: "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\"."
---

# OpenClaw Usage Dashboard

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

## Usage

```bash
# 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):

```python
"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)

Files in this skill

  • SKILL.md2.5 KB
  • references/prices.md3.1 KB
  • scripts/usage-dashboard-generic.py68.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…