Skip to content
llms-dashboard logo

LLMs Dashboard Generator

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.

SKILL.md

Full skill instructions

LLMs 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 open command works on macOS. For Linux, use xdg-open instead.

Requirements

DashboardRequired Data Source
Claude~/​.claude.json (created after first Claude Code session)
Gemini~/​.gemini/​tmp/ with chat history files
VS Code~/​Library/​Application Support/​Code/ (macOS) or ~/​.config/​Code/ (Linux)
Kiro~/​Library/​Application Support/​Kiro/​User/​globalStorage/​kiro.kiroagent/​**/​*.chat (macOS)
Cline~/​Library/​Application Support/​Code/​User/​globalStorage/​asbx.amzn-cline/​state/​taskHistory.json (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
  • Gemini Dashboard:

    • Usage statistics from ~/​.gemini/​tmp/​**/​chats/​*.json
    • Token usage (including thought tokens)
    • Model breakdown and session activity
  • 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
  • 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

Files

FilePurpose
SKILL.mdThis documentation
scripts/​update_claude_dashboard.pyGenerates claude_dashboard.html
scripts/​aggregate_claude_history.pyScans Claude logs, creates data/​claude_history.json
templates/​claude_template.htmlTemplate for Claude dashboard
claude_dashboard.htmlGenerated Claude output
scripts/​update_gemini_dashboard.pyGenerates gemini_dashboard.html
scripts/​aggregate_gemini_history.pyScans Gemini logs, creates data/​gemini_history.json
templates/​gemini_template.htmlTemplate for Gemini dashboard
gemini_dashboard.htmlGenerated Gemini output
scripts/​update_vscode_dashboard.pyGenerates vscode_dashboard.html
scripts/​aggregate_vscode_data.pyScans VS Code data, creates data/​vscode_data.json
templates/​vscode_template.htmlTemplate for VS Code dashboard
vscode_dashboard.htmlGenerated VS Code output
scripts/​update_kiro_dashboard.pyGenerates kiro_dashboard.html
scripts/​aggregate_kiro_history.pyScans Kiro data, creates data/​kiro_history.json
templates/​kiro_template.htmlTemplate for Kiro dashboard
kiro_dashboard.htmlGenerated Kiro output
scripts/​update_cline_dashboard.pyGenerates cline_dashboard.html
scripts/​aggregate_cline_history.pyScans Cline data, creates data/​cline_history.json
templates/​cline_template.htmlTemplate for Cline dashboard
cline_dashboard.htmlGenerated 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

ProblemCauseSolution
FileNotFoundError: ~/​.claude.jsonClaude Code not installed or never runInstall Claude Code and run at least once
FileNotFoundError: ~/​.gemini/​tmpGemini CLI not used yetRun Gemini CLI at least once to create history
Empty charts in dashboardAggregate script not runRun the aggregate script first, then update
Permission deniedProtected directoriesCheck file permissions on data directories
VS Code data missing on LinuxDifferent path on LinuxData is at ~/​.config/​Code/ instead of ~/​Library/​...
Charts not renderingBrowser blocking CDNUse 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

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View