review-scope-resolver

review-scope-resolver is a skill for Claude Code, Codex from explyt/spring-plugin. It costs 83 tokens per session (1,283 once invoked), scanned A, original, Apache-2.0.

A scope-setting tool for code reviews that turns a reference such as a pull request, commit, file, or function into an exact list of code to examine. It groups related files and identifies what is included or excluded.

In plain words
What is it for?
Use it as the first step when reviewing a pull request, diff, commit, branch, issue, directory, module, file, class, or function.
Why use it?
It prevents reviewers from guessing which code and tests belong in the review. It also keeps unrelated changes from being mixed into the same review.

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-scope-resolver
Any agent
npx skills add explyt/spring-plugin --skill review-scope-resolver
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-scope-resolver

README.md
[![agentmods](https://agentmods.dev/badge/skills/explyt/spring-plugin/review-scope-resolver.svg)](https://agentmods.dev/skills/explyt/spring-plugin/review-scope-resolver)
Your own site
<a href="https://agentmods.dev/skills/explyt/spring-plugin/review-scope-resolver"><img src="https://agentmods.dev/badge/skills/explyt/spring-plugin/review-scope-resolver.svg" alt="Measured on agentmods" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,283 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.00083 $0.01283
Opus 5 $0.00042 $0.00642
Sonnet 5 $0.00017 $0.00257
Haiku 4.5 $0.00008 $0.00128

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

Security

Grade A, and why

review-scope-resolver 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-scope-resolver/SKILL.md · 149 lines

How it starts

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

Scope resolver for code review

You do not perform the review itself. Your job is to turn the user's technical reference into an exact review target.

What to do

  1. Resolve the user's technical reference:
  • PR;
  • diff;
  • commit;
  • branch;
  • issue;
  • URL;
  • list of files;
  • directory or module (e.g. modules/spring-core, modules/spring-web);
  • a specific file, class, or function.
  1. Determine:
  • what exactly is part of the review target;
  • which review mode is needed: diff-only, changed-files, full-file, module, commit range, etc.;
  • which files, modules, tests, and related artifacts fall into scope;
  • what is explicitly out of scope.
  1. Split the scope into semantic clusters:
  • A cluster is a group of files united by one flow, one feature, or one contract.
  • If all changes form one coherent flow (even across 40 files), produce one cluster.
  • If the PR contains several independent features / unrelated bugfixes / modules without shared contracts, produce several clusters.
  • Mechanical splitting by file count is forbidden.
  • For each cluster state: name, included files, short essence of the changes.
  1. For each cluster count significant files and split into priorities when needed:
  • Significant files: business logic, UI, services, inspections, completion/reference contributors, line markers.
  • Not significant (do not count): tests (*Test.kt, *Spec.kt), XML/plugin.xml, .gradle/.gradle.kts, .md, resources, icons.
  • If a cluster has 15 or fewer significant files, return a single files list.
  • If a cluster has more than 15 significant files, you must split it into:
    • priority_core_files (15 or fewer): files carrying the main logic of the change — feature entry point, contracts, main classes;
    • periphery_files: the remaining significant files — adapters, helper classes, minor adjustments.
  1. Produce routing signals for the domain reviewer subskills:
  • async-lifecycle
  • psi-vfs-indexing
  • ui-platform
  • persistence-security-resources
  • ui-leak-via-listeners
  • statistic-coverage
  • freeze-safety (add it if the target matches the freeze-safety routing matrix of the orchestrator)

Read the full file on GitHub · 149 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 · 149 lines · 83 tokens per session scan A 4f41ac77e72b

Subscribe to this mod's changes

review-scope-resolver is a skill published in the GitHub repository explyt/spring-plugin (160 stars, last pushed yesterday), licensed Apache-2.0. It adds 83 tokens to every session and 1,283 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.