Claude-skill-registry llms-dashboard
Generate and update HTML dashboards for LLM usage (Claude, Gemini, Kiro, VS code, Cline, etc). Use when the user wants to visualize their AI coding assistant usage statistics, view metrics in a web interface, or analyze historical trends.
git clone https://github.com/majiayu000/claude-skill-registry
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/llms-dashboard" ~/.claude/skills/majiayu000-claude-skill-registry-llms-dashboard && rm -rf "$T"
skills/data/llms-dashboard/SKILL.mdLLMs Dashboard Generator
Why? AI coding assistants like Claude and Gemini store usage data in local JSON/Protobuf files. This skill transforms that raw data into beautiful, interactive HTML dashboards with charts and insights.
Generate visual HTML dashboards from Claude Code and Gemini usage data.
Quick Start
Claude Dashboard
# Step 1: Aggregate all session history (~/.claude/projects/) python3 ~/.claude/skills/llms-dashboard/scripts/aggregate_claude_history.py # Step 2: Generate dashboard python3 ~/.claude/skills/llms-dashboard/scripts/update_claude_dashboard.py # Step 3: Open in browser open ~/.claude/skills/llms-dashboard/claude_dashboard.html
Gemini Dashboard
# Step 1: Aggregate all session history (~/.gemini/tmp/) python3 ~/.claude/skills/llms-dashboard/scripts/aggregate_gemini_history.py # Step 2: Generate dashboard python3 ~/.claude/skills/llms-dashboard/scripts/update_gemini_dashboard.py # Step 3: Open in browser open ~/.claude/skills/llms-dashboard/gemini_dashboard.html
VS Code Dashboard
# Step 1: Aggregate all session history (Logs, History, Storage) python3 ~/.claude/skills/llms-dashboard/scripts/aggregate_vscode_data.py # Step 2: Generate dashboard python3 ~/.claude/skills/llms-dashboard/scripts/update_vscode_dashboard.py # Step 3: Open in browser open ~/.claude/skills/llms-dashboard/vscode_dashboard.html
Kiro Dashboard
# Step 1: Aggregate all session history (.chat files, logs, settings) python3 ~/.claude/skills/llms-dashboard/scripts/aggregate_kiro_history.py # Step 2: Generate dashboard python3 ~/.claude/skills/llms-dashboard/scripts/update_kiro_dashboard.py # Step 3: Open in browser open ~/.claude/skills/llms-dashboard/kiro_dashboard.html
Cline Dashboard
# Step 1: Aggregate task history from VS Code extension python3 ~/.claude/skills/llms-dashboard/scripts/aggregate_cline_history.py # Step 2: Generate dashboard python3 ~/.claude/skills/llms-dashboard/scripts/update_cline_dashboard.py # Step 3: Open in browser open ~/.claude/skills/llms-dashboard/cline_dashboard.html
[!NOTE] The
command works on macOS. For Linux, useopeninstead.xdg-open
Requirements
| Dashboard | Required Data Source |
|---|---|
| Claude | (created after first Claude Code session) |
| Gemini | with chat history files |
| VS Code | (macOS) or (Linux) |
| Kiro | (macOS) |
| Cline | (macOS) |
[!WARNING] Always run the aggregate script before the update script, otherwise charts will be empty.
What It Does
This skill reads usage statistics from local configuration files (read-only) and generates interactive HTML dashboards with:
-
Claude Dashboard:
- Usage statistics from
~/.claude.json - Historical trends from
~/.claude/projects/*.jsonl - Token usage, costs, and cache efficiency
- Usage statistics from
-
Gemini Dashboard:
- Usage statistics from
~/.gemini/tmp/**/chats/*.json - Token usage (including thought tokens)
- Model breakdown and session activity
- Usage statistics from
-
VS Code Dashboard:
- Usage statistics from
~/Library/Application Support/Code/logs - Historical reconstruction from
~/Library/Application Support/Code/User/History - Project identification from
~/Library/Application Support/Code/User/globalStorage/storage.json
- Usage statistics from
-
Kiro Dashboard:
- Session data from
~/Library/Application Support/Kiro/User/globalStorage/kiro.kiroagent/**/*.chat - Log sessions from
~/Library/Application Support/Kiro/logs/ - Settings from
~/.kiro/settings/cli.json - Powers registry from
~/.kiro/powers/registry.json - CLI history from
~/.kiro/.cli_bash_history
- Session data from
Files
| File | Purpose |
|---|---|
| This documentation |
| Generates |
| Scans Claude logs, creates |
| Template for Claude dashboard |
| Generated Claude output |
| Generates |
| Scans Gemini logs, creates |
| Template for Gemini dashboard |
| Generated Gemini output |
| Generates |
| Scans VS Code data, creates |
| Template for VS Code dashboard |
| Generated VS Code output |
| Generates |
| Scans Kiro data, creates |
| Template for Kiro dashboard |
| Generated Kiro output |
| Generates |
| Scans Cline data, creates |
| Template for Cline dashboard |
| Generated Cline output |
Expected Output
Each dashboard generates a standalone HTML file with:
- Summary Cards: Total usage metrics (cost, tokens, sessions)
- Interactive Charts: Daily activity trends, model breakdown, token usage over time
- Project Statistics: Per-project breakdown with sortable tables
- Cache Metrics: Cache hit ratio and efficiency (Claude only)
- Session Analysis: Session length distribution and patterns
[!TIP] Dashboards use Chart.js and TailwindCSS via CDN. Open directly in any browser—no server required.
Troubleshooting
| Problem | Cause | Solution |
|---|---|---|
| Claude Code not installed or never run | Install Claude Code and run at least once |
| Gemini CLI not used yet | Run Gemini CLI at least once to create history |
| Empty charts in dashboard | Aggregate script not run | Run the aggregate script first, then update |
| Protected directories | Check file permissions on data directories |
| VS Code data missing on Linux | Different path on Linux | Data is at instead of |
| Charts not rendering | Browser blocking CDN | Use a browser with internet access for Chart.js CDN |
Testing
To verify the skill works correctly:
# 1. Check data sources exist ls ~/.claude.json # Should exist for Claude dashboard ls ~/.gemini/tmp/ # Should exist for Gemini dashboard # 2. Run aggregate + update python3 ~/.claude/skills/llms-dashboard/scripts/aggregate_claude_history.py python3 ~/.claude/skills/llms-dashboard/scripts/update_claude_dashboard.py # 3. Verify output ls -la ~/.claude/skills/llms-dashboard/claude_dashboard.html # Should be recent open ~/.claude/skills/llms-dashboard/claude_dashboard.html # Should show charts
Success indicators:
- Dashboard HTML file is generated with recent timestamp
- Summary cards show non-zero values
- Charts render with data points
- No Python errors during script execution