Skip to content
cccskills
FreePublished on GitHub

session

Claude Code session analytics - post stats to PRs/issues, extract to CSV

The English summary is being prepared. Showing the original description.

rossoctl/rossoctl303 stars(GitHub 303 + cccskills 0)

Run score Not tested

See how to install

Files included (1)

  • SKILL.md2.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

flowchart TD
    INVOKE(["/session"]) --> DECIDE{"What does the user want?"}
    DECIDE -->|Post current session stats| POST["session:post"]:::phase
    DECIDE -->|Update pinned summary| SUMMARY["session:summary"]:::phase
    DECIDE -->|Extract analytics to CSV/MD/HTML| EXTRACT["session:extract"]:::phase
    DECIDE -->|Generate dashboard| DASHBOARD["session:dashboard"]:::phase

    POST --> DONE([Done])
    SUMMARY --> DONE
    EXTRACT --> DONE
    DASHBOARD --> DONE

    classDef phase fill:#2196F3,stroke:#333,color:white

Follow this diagram as the workflow.

Session Analytics

Track and report Claude Code session metadata on GitHub PRs and issues.

Auto-Select Sub-Skill

When this skill is invoked, determine the right sub-skill based on context:

What does the user want?
    |
    +- Post current session stats to a PR/issue
    |   -> Use `session:post`
    |
    +- Update the pinned summary comment on a PR/issue
    |   -> Use `session:summary`
    |
    +- Extract analytics to CSV/MD/HTML files
    |   -> Use `session:extract`
    |
    +- Generate an HTML dashboard
        -> Use `session:dashboard`

Available Skills

SkillPurposeWhen
session:postPost session stats to PR/issue commentAfter a session, want to record stats
session:summaryUpdate pinned summary commentRefresh aggregated stats on PR/issue
session:extractExtract analytics to CSV/MD/HTMLNeed offline analysis or reporting
session:dashboardGenerate HTML dashboardVisual overview of session metrics

Quick Post

# Post current session stats to the PR for the current branch
python3 .claude/scripts/session-analytics.py --session-id <ID> --target pr --number <N> --repo <OWNER/NAME>

Related Skills

  • session:post - Post session stats to PR/issue comment
  • session:summary - Update pinned summary comment
  • session:extract - Extract analytics to CSV/MD/HTML
  • session:dashboard - Generate HTML dashboard

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

auth

Free

Authentication and authorization patterns for Rossoctl services

The English summary is being prepared. Showing the original description.

rossoctl/rossoctl303Updated Oct 25, 2026

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

The English summary is being prepared. Showing the original description.

rossoctl/rossoctl303Updated Oct 25, 2026

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

The English summary is being prepared. Showing the original description.

rossoctl/rossoctl303Updated Oct 25, 2026

Configure OpenTelemetry Collector with OAuth2 authentication for trace export

The English summary is being prepared. Showing the original description.

rossoctl/rossoctl303Updated Oct 25, 2026

ci

Free

CI pipeline monitoring, status checks, and PR validation workflows

The English summary is being prepared. Showing the original description.

rossoctl/rossoctl303Updated Oct 25, 2026

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

The English summary is being prepared. Showing the original description.

rossoctl/rossoctl303Updated Oct 25, 2026

See all skills by rossoctl

Report a problem with this skill