← Back to the collection

Publish Insights Plugin

Publish Claude Code /insights reports to GitHub Pages for easy sharing.

Note: This plugin is maintained in the claude-usage-data repository.

Installation

# Add the marketplace
claude plugin marketplace add jtsternberg/claude-usage-data

# Install the plugin
claude plugin install publish-insights@jtsternberg/claude-usage-data

Prerequisites

Description

Automates the entire process of publishing your Claude Code insights report to GitHub Pages, making it easy to share usage statistics and analytics.

Usage

The skill triggers when you:

How It Works

  1. Locates your insights report at ~/.claude/usage-data/report.html
  2. Detects your GitHub username
  3. Confirms repository settings (name, visibility)
  4. Creates GitHub repository
  5. Enables GitHub Pages
  6. Pushes report and README
  7. Monitors deployment
  8. Provides live URL

Example Session

User: "Publish my insights report"

Claude:
  ✓ Found report at ~/.claude/usage-data/report.html
  ✓ Detected GitHub user: jtsternberg
  ✓ Creating public repo: claude-insights
  ✓ Enabled GitHub Pages
  ✓ Deployed to: https://jtsternberg.github.io/claude-insights/

Your insights are now publicly accessible!

Configuration Options

During setup, you’ll be prompted for:

Verification

The skill automatically verifies:

Additional Documentation