review-statistic-coverage

review-statistic-coverage is a skill for Claude Code, Codex from explyt/spring-plugin. It costs 85 tokens per session (2,541 once invoked), scanned A, original, Apache-2.0.

A review check for usage statistics in the explyt/spring-plugin IntelliJ plugin, an extension for the IntelliJ code editor. It checks whether new user-facing features record how often they are used.

In plain words
What is it for?
Use it when a review adds or changes quick fixes, intentions, gutter actions, completions, actions, tool-window controls, or wizard steps.
Why use it?
Without these records, the project cannot tell which actions people use. Missing tracking is reported as an important warning in this project.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/explyt/spring-plugin/review-statistic-coverage
Any agent
npx skills add explyt/spring-plugin --skill review-statistic-coverage
Clone the repo
git clone --depth 1 https://github.com/explyt/spring-plugin

Made for: Claude Code, Codex.

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 review-statistic-coverage

README.md
[![agentmods](https://agentmods.dev/badge/skills/explyt/spring-plugin/review-statistic-coverage.svg)](https://agentmods.dev/skills/explyt/spring-plugin/review-statistic-coverage)
Your own site
<a href="https://agentmods.dev/skills/explyt/spring-plugin/review-statistic-coverage"><img src="https://agentmods.dev/badge/skills/explyt/spring-plugin/review-statistic-coverage.svg" alt="Measured on agentmods" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,541 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00085 $0.02541
Opus 5 $0.00043 $0.01270
Sonnet 5 $0.00017 $0.00508
Haiku 4.5 $0.00009 $0.00254

Measured 5d ago against content hash 285c6add67ee, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

review-statistic-coverage 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 5d 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.

.explyt/skills/review-statistic-coverage/SKILL.md · 165 lines

How it starts

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

Usage Statistics Coverage Check (for explyt/spring-plugin reviews)

Why this skill exists. Without usage counters we cannot measure how the plugin is actually used, which means we cannot tell whether a new feature ships dead, which quick fixes users actually apply, or how often a tool-window control is touched. Missing statistics on a new user-visible action is treated as a Warning-severity (High) finding for this project: existing coverage is broad but not enforced as a hard error, so flag gaps prominently without blocking on them.

Scope. This skill applies only to reviews in the explyt/spring-plugin repository. Apply this check on every diff that touches user-facing features before producing the final review.


1. Where usage statistics live in this project

All infrastructure is in modules/spring-core/src/main/kotlin/com/explyt/spring/core/statistic/:

Component Role
StatisticActionId Enum of all tracked actions; each entry has a human-readable description string. The single source of truth for what is tracked.
StatisticService APP-level @Service. addActionUsage(actionId) increments a persisted counter; gated by SpringToolRunConfigurationsSettingsState.isCollectStatistic and skipped in unit-test/headless/non-production modes.
StatisticUtil.registerActionUsage(fixKey, previewKey) Editor? extension for quick fixes: logs fixKey in the main editor and previewKey (if non-null) in the intention-preview editor.
StatisticInsertHandler(actionId) InsertHandler for completion lookup elements: logs on actual insertion, not on mere suggestion.
StatisticState SimplePersistentStateComponent cache holding the counter map.
StatisticStartupActivity Flushes counters to file on startup.

Canonical call patterns to model after:

  • Action / gutter handler / tool-window button: StatisticService.getInstance().addActionUsage(StatisticActionId.GENERATE_WEB_METHOD) — see SpringWebKotlinMethodGenerateAction, EndpointIconGutterHandler, RunInSwaggerAction.
  • Quick fix with preview: editor.registerActionUsage(QUICK_FIX_..., PREVIEW_...) at the start of invoke() — see AddPathVariableQuickFix.
  • Completion insertion: .withInsertHandler(StatisticInsertHandler(COMPLETION_...)) — see OpenApiYamlRefCompletionContributor, ProfilesCompletionContributor.
  • Completion provider that always contributes: addActionUsage inside addCompletions — see SpringDataMethodCompletionProvider (use this only when showing the lookup itself is the signal; prefer StatisticInsertHandler when acceptance is the signal).
  • Wizard/settings interaction: addActionUsage in the event handler — see SpringInitializrWizardStep, SETTINGS_OPEN/SETTINGS_CHANGED.

Read the full file on GitHub · 165 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. 5d ago First seen · 165 lines · 85 tokens per session scan A 285c6add67ee

Subscribe to this mod's changes

review-statistic-coverage is a skill published in the GitHub repository explyt/spring-plugin (160 stars, last pushed yesterday), licensed Apache-2.0. It adds 85 tokens to every session and 2,541 once invoked, about $0.0004 per session on Opus 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-30.