# Scorecard

> Scorecard is an open-source agent skill for developer tools. Summarizes recent Claude Code session logs into quality-gate and hook metrics. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/tansuasici/claude-code-kit/tree/main/.claude/skills/scorecard
- **Repository:** https://github.com/tansuasici/claude-code-kit
- **GitHub stars:** 6
- **License:** MIT
- **Skill name:** scorecard
- **Collection:** https://github.com/tansuasici/claude-code-kit
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/tansuasici/claude-code-kit/tree/HEAD/.claude/skills/scorecard)
- [License: MIT](https://github.com/tansuasici/claude-code-kit/tree/HEAD/.claude/skills/scorecard)

## Features

- **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

## Install

### Claude Code

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):

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

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

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

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Quality gate](https://ai-powered.com/skills/quality-gate): Quality gate is an open-source agent skill for developer tools.
- [Sessions](https://ai-powered.com/skills/sessions): Sessions is an open-source agent skill for developer tools.
- [Scan sessions and learn](https://ai-powered.com/skills/scan-sessions-and-learn): Scan sessions and learn is an open-source agent skill for developer tools.
- [Eval harness](https://ai-powered.com/skills/eval-harness): Eval harness is an open-source agent skill for developer tools.
- [Check](https://ai-powered.com/skills/check-juliusz-cwiakalski): Check is an open-source agent skill for developer tools.
- [Status](https://ai-powered.com/skills/status-localixai): Status is an open-source agent skill for developer tools.
- [Session waste report](https://ai-powered.com/skills/session-waste-report): Session waste report is an open-source agent skill for developer tools.
- [Skill extractor](https://ai-powered.com/skills/skill-extractor): Skill extractor is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/scorecard-tansuasici
