Skip to content
Skill

Scorecard

Summarizes recent Claude Code session logs into quality-gate and hook metrics

Scorecard is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
6
Last commit
License
MIT
Listing updated

Similar skills

About Scorecard

Scorecard reads the session audit log written by a SessionEnd hook and turns the per-session records into aggregate numbers over a chosen time window, defaulting to the last seven days. It reports quality-gate runs and pass rate, how often each blocking hook fired, edits, lessons and decisions added, estimated bash output, compactions and median session length. When an agent telemetry file is present it also tallies sub-agent invocations, completed and still-open runs, and median durations per agent.

The skill is written to report only what the hook already recorded and to flag missing fields rather than estimate them. It parses both the original and the newer record format, skips unreadable lines while counting them, and leaves files untouched. Output is a single markdown report, with an optional JSON form, and a short follow-up note appears only when a threshold such as a low pass rate or a recurring blocker is crossed.

It expects a Claude Code setup in which the kit's SessionEnd hook is wired into the settings, since without it the log stays empty. The skill is a narrative-free counterpart to the retro and timeline skills in the same kit.

When your agent uses it

Aggregate recent session scorecards from reports/session-audit.log into per-session and windowed summaries — pure numbers, fed by the SessionEnd hook. Use to see quantitative session trends. For narrative reflection use /retro instead.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (10 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the claude-code-kit plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add tansuasici/claude-code-kit
/plugin install claude-code-kit@claude-code-kit

Or copy only this skill to ~/.claude/skills/scorecard:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/scorecard &&
cp -R "$tmp/.claude/skills/scorecard" ~/.claude/skills/scorecard &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/scorecard inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/scorecard to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/scorecard &&
cp -R "$tmp/.claude/skills/scorecard" ~/.agents/skills/scorecard &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/scorecard inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/scorecard to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/scorecard &&
cp -R "$tmp/.claude/skills/scorecard" ~/.cursor/skills/scorecard &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/scorecard inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/tansuasici/claude-code-kit.git --path .claude/skills/scorecard

Or copy the folder to ~/.gemini/skills/scorecard yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/scorecard:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/scorecard &&
cp -R "$tmp/.claude/skills/scorecard" ~/.copilot/skills/scorecard &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/scorecard inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git

Then copy claude-code-kit/.claude/skills/scorecard into your agent's skills folder as scorecard. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Windowed session summary
Aggregates session records over a chosen span such as 7 days, 30 days or all time.
Quality-gate pass rate
Calculates gate runs, failures and pass rate, plus how often the skip gate was used.
Hook block counts
Ranks how many times each blocking hook fired across the window.
Session activity totals
Totals edits, lessons, decisions, compactions and estimated bash output.
Sub-agent performance
Counts sub-agent invocations, completions and open runs with median durations when telemetry exists.
Machine-readable output
Can emit the same aggregates as a single JSON object for further processing.

Good for

  • Show me how my quality-gate pass rate has changed this month
  • Which hooks are blocking my work most often?
  • Summarize the last 14 days of Claude Code sessions in numbers
  • Check whether any sub-agents stalled or never returned

Scorecard FAQ

What does Scorecard need to produce a report?

It needs the session audit log at reports/session-audit.log, which is written by the SessionEnd hook. If that hook is not wired in, the log will be empty and the skill reports that.

Does Scorecard change any files?

No. It reads the log and the optional agent telemetry file and outputs a single markdown report.

How do I change the time window?

Pass a window flag such as 7d, 30d, 14d, a week or month value, or all. The default is seven days.

Does Scorecard show the failure messages from the quality gate?

No. It leaves out stderr and failure bodies; the skill points to reading the state file or using the debug skill for those details.

How do I install Scorecard in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/scorecard to use it in all your projects, or to .claude/skills/scorecard in one project. Or install the claude-code-kit plugin, which includes it: /plugin marketplace add tansuasici/claude-code-kit, then /plugin install claude-code-kit@claude-code-kit.

Does Scorecard run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Scorecard?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Scorecard?

The closest alternatives to Scorecard are Quality gate, Sessions, Scan sessions and learn, Eval harness and Check.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from tansuasici/claude-code-kit

  1. Audits UI code against WCAG 2.1 AA for semantics, keyboard use, contrast and ARIA

    • Open source
    • 6 GitHub stars
    • Developer tools
  2. Audits a codebase's structure for SOLID violations, coupling and module boundary issues

    • Open source
    • 6 GitHub stars
    • Developer tools
  3. Lists the skills, agents, hooks and modules installed in a kit-enabled project

    • Open source
    • 6 GitHub stars
    • Developer tools
  4. Audits code for smells, error-handling gaps and maintainability issues with fixes

    • Open source
    • 6 GitHub stars
    • Developer tools
  5. Guides the agent to write and extend a project's golden-principles.yaml rule file

    • Open source
    • 6 GitHub stars
    • Developer tools
  6. Finds unused functions, dead imports, orphan files and unreachable branches in a codebase

    • Open source
    • 6 GitHub stars
    • Developer tools