sova: Command for Claude Code

.claude/commands/benchmark-report.md

benchmark-report is a command for Claude Code from xsovad06/sova. It costs 12 tokens per session (2,974 once invoked), scanned A, original, Apache-2.0.

A command that combines benchmark records from interactive coding sessions and automated runs into a comparison report. Benchmark records are measurements used to compare how quickly or effectively tasks were completed.

In plain words
What is it for?
Use it to filter benchmark data by date or issue, view a velocity comparison, or save the report to docs/benchmark-results.md.
Why use it?
It avoids manually collecting logs from different sources and calculating per-issue results.

Command for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: positional $N argument.

This is xsovad06/sova's own configuration. It tells Claude Code how to work on sova itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything sova configures →

Reuse

Borrowing it

Nothing to install: this file belongs to xsovad06/sova. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/xsovad06/sova/main/.claude/commands/benchmark-report.md
Clone the repo
git clone --depth 1 https://github.com/xsovad06/sova

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for benchmark-report

README.md
[![agentmods](https://agentmods.dev/badge/commands/xsovad06/sova/benchmark-report/github.svg)](https://agentmods.dev/commands/xsovad06/sova/benchmark-report)
Your own site
<a href="https://agentmods.dev/commands/xsovad06/sova/benchmark-report"><img src="https://agentmods.dev/badge/commands/xsovad06/sova/benchmark-report/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for benchmark-report

Your own site · 80×15
<a href="https://agentmods.dev/commands/xsovad06/sova/benchmark-report"><img src="https://agentmods.dev/badge/commands/xsovad06/sova/benchmark-report.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,974 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00012 $0.02974
Opus 5.5 $0.00005 $0.01190
Sonnet 5.5 $0.00002 $0.00595
Haiku 4.5 $0.00001 $0.00297

Measured 1mo ago against content hash 5a53aed122fe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

benchmark-report scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/benchmark-report.md · 310 lines

How it starts

The opening of the file, as written. The whole thing — 310 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Benchmark Report

Aggregate benchmark data from interactive sessions (JSONL logs) and SOVA autonomous runs (DB), then generate a velocity comparison report.

Arguments: $ARGUMENTS

Instructions

Step 1: Parse Arguments

Extract optional flags from $ARGUMENTS:

  • --since YYYY-MM-DD: only include data from sessions after this date
  • --issues N,N,N: only include these specific issue numbers (comma-separated)
  • --update-docs: write the report to docs/benchmark-results.md (default: terminal output only)

If $ARGUMENTS is empty or contains none of these flags, use all available data and output to terminal only.

Step 2: Collect Interactive Data (JSONL)

Find all benchmark log files:

ls .claude/benchmark/issue-*.jsonl 2>/dev/null

If no files exist, note "No interactive benchmark data found" and skip to Step 3.

For each file:

  1. Extract the issue number from the filename. Files named issue-null.jsonl or with non-numeric IDs: count them in the file summary but exclude from per-issue metrics.
  2. If --issues was specified, skip files whose issue number is not in the list.
  3. If --since was specified, check the first session_start event's ts field; skip the file if it predates the cutoff.

For each included issue file, extract metrics using jq:

Wall clock (total across all sessions):

jq -s '
  [.[] | select(.event == "session_start") | .ts] | first as $start |
  [.[] | select(.event == "session_end" or .event == "session_summary") | .ts] | last as $end |
  {start: $start, end: $end}
' .claude/benchmark/issue-{N}.jsonl

For multi-session issues (multiple session_start/session_end pairs), sum the durations of each session separately.

Human idle time:

jq -s '
  [.[] | select(.event == "human_idle_start" or .event == "human_idle_end")]
  | [range(0; length; 2) as $i | (.[($i+1)].ts | split("T") | .[1] | split("Z") | .[0]) as $end_t |
     (.[$i].ts | split("T") | .[1] | split("Z") | .[0]) as $start_t |
     {start: .[$i].ts, end: .[($i+1)].ts}]
' .claude/benchmark/issue-{N}.jsonl

Compute human idle as the sum of all human_idle_start to human_idle_end intervals (in minutes). If an odd number of idle events exists (unclosed idle period), ignore the unpaired event.

Read the full file on GitHub · 310 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +2 lines 5a53aed122fe
  2. 2mo ago First seen · 308 lines · 12 tokens per session scan A 0ebef99d38f9

Subscribe to this mod's changes

benchmark-report is a command published in the GitHub repository xsovad06/sova (2 stars, last pushed yesterday), licensed Apache-2.0. It adds 12 tokens to every session and 2,974 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.