本文へ移動
cccskills
無料GitHub で公開

session:dashboard

Generate an interactive HTML dashboard of Claude Code session analytics

日本語の概要は準備中です。原文の説明を表示しています。

rossoctl/rossoctlスター 303(GitHub 303 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.9 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

flowchart TD
    START(["/session:dashboard"]) --> DETECT["Detect repo"]
    DETECT --> EXTRACT["--phase extract (generates dashboard)"]:::phase
    EXTRACT --> CHECK["Check for dashboard.html"]:::phase
    CHECK --> OPEN{"Can open browser?"}
    OPEN -->|Yes| BROWSER["Open in browser"]:::done
    OPEN -->|No| PATH["Report file path"]:::done
    classDef phase fill:#2196F3,stroke:#333,color:white
    classDef done fill:#4CAF50,stroke:#333,color:white

Follow this diagram as the workflow.

Generate HTML Dashboard

Generate an interactive HTML dashboard visualizing Claude Code session analytics across PRs and issues.

Workflow

Step 1: Detect Repository

git remote get-url origin | sed 's/.*github.com[:/]\(.*\)\.git/\1/' | sed 's/.*github.com[:/]\(.*\)/\1/'

Step 2: Run the Extract Phase

The dashboard is generated as part of the extract phase:

python3 .claude/scripts/session-analytics.py \
  --phase extract \
  --repo <OWNER/NAME> \
  --output-dir /tmp/rossoctl/session/

This generates all output files including the dashboard.html.

Step 3: Verify the Dashboard

ls -la /tmp/rossoctl/session/dashboard.html

Step 4: Open in Browser

Attempt to open the dashboard in the default browser:

# macOS
open /tmp/rossoctl/session/dashboard.html

# Linux
xdg-open /tmp/rossoctl/session/dashboard.html 2>/dev/null || echo "Open manually: /tmp/rossoctl/session/dashboard.html"

If the browser cannot be opened (e.g., headless environment), report the file path so the user can open it manually.

Dashboard Contents

The HTML dashboard typically includes:

  • Total sessions, tokens, and cost overview
  • Token usage over time (line chart)
  • Tool usage distribution (pie chart)
  • Per-PR/issue breakdown table
  • Session duration trends

Parameters

ParameterSourceRequiredDefault
--phaseAlways extractYes-
--repoAuto-detected from git remoteYes-
--output-dirFixedNo/tmp/rossoctl/session/
--from-dateOptional date range startNo30 days ago
--to-dateOptional date range endNoToday

Examples

# Generate dashboard for last 30 days
python3 .claude/scripts/session-analytics.py \
  --phase extract --repo rossoctl/rossoctl \
  --output-dir /tmp/rossoctl/session/

# Generate and open
python3 .claude/scripts/session-analytics.py \
  --phase extract --repo rossoctl/rossoctl \
  --output-dir /tmp/rossoctl/session/ && open /tmp/rossoctl/session/dashboard.html

Related Skills

  • session - Router skill for all session analytics
  • session:post - Post session stats to PR/issue comment
  • session:summary - Update pinned summary comment
  • session:extract - Extract analytics to CSV/MD/HTML

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

auth

無料

Authentication and authorization patterns for Rossoctl services

日本語の概要は準備中です。原文の説明を表示しています。

rossoctl/rossoctl3032026年10月25日 更新

Create confidential OAuth2 clients in Keycloak for server-to-service authentication

日本語の概要は準備中です。原文の説明を表示しています。

rossoctl/rossoctl3032026年10月25日 更新

Configure MLflow with mlflow-oidc-auth plugin for Keycloak OIDC authentication

日本語の概要は準備中です。原文の説明を表示しています。

rossoctl/rossoctl3032026年10月25日 更新

Configure OpenTelemetry Collector with OAuth2 authentication for trace export

日本語の概要は準備中です。原文の説明を表示しています。

rossoctl/rossoctl3032026年10月25日 更新

ci

無料

CI pipeline monitoring, status checks, and PR validation workflows

日本語の概要は準備中です。原文の説明を表示しています。

rossoctl/rossoctl3032026年10月25日 更新

Monitor running CI jobs, wait for completion, create tasks for results

日本語の概要は準備中です。原文の説明を表示しています。

rossoctl/rossoctl3032026年10月25日 更新

rossoctl のスキルをすべて見る

このスキルの問題を報告する