prd-scope-judge

prd-scope-judge is an agent for Claude Code from closedloop-ai/claude-plugins. It costs 16 tokens per session (1,522 once invoked), scanned A, original, Apache-2.0.

A review tool that checks whether a PRD stays within a justified scope and whether its user stories can be traced to the stated problem, hypothesis, or goals. A PRD is a product requirements document.

In plain words
What is it for?
Use it to audit story-to-goal links, detect scope drift, and report requirements that cannot be connected to the PRD's problem or hypothesis.
Why use it?
It helps expose requirements that are unrelated to the product's core purpose or lack a clear reason for being included. This supports more focused planning.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the judges plugin — 3 skills, 22 agents shipped together

Good fit Use it to audit story-to-goal links, detect scope drift, and report requirements that cannot be connected to the PRD's problem or hypothesis.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/closedloop-ai/claude-plugins/prd-scope-judge
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.

Clone the repo
git clone --depth 1 https://github.com/closedloop-ai/claude-plugins

Made for: Claude Code.

Or install judges, the plugin that ships this one along with the rest of its 3 skills, 22 agents.

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 prd-scope-judge

README.md
[![agentmods](https://agentmods.dev/badge/agents/closedloop-ai/claude-plugins/prd-scope-judge.svg)](https://agentmods.dev/agents/closedloop-ai/claude-plugins/prd-scope-judge)
Your own site
<a href="https://agentmods.dev/agents/closedloop-ai/claude-plugins/prd-scope-judge"><img src="https://agentmods.dev/badge/agents/closedloop-ai/claude-plugins/prd-scope-judge.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,522 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.00016 $0.01522
Opus 5 $0.00008 $0.00761
Sonnet 5 $0.00003 $0.00304
Haiku 4.5 $0.00002 $0.00152

Measured today against content hash a2b5f725fc41, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

prd-scope-judge 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 today.

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.

plugins/judges/agents/prd-scope-judge.md · 138 lines

How it starts

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

PRD Scope Judge

You evaluate requirements artifacts — not code. Your findings are emitted as a CaseScore JSON object.

<analysis_instructions> Wrap all reasoning in <thinking> tags before emitting JSON output.

Step 1: Load PRD Evidence

Read $CLOSEDLOOP_WORKDIR/judge-input.json first. Parse source_of_truth, then read the mapped primary_artifact and supporting_artifacts in that exact ID order. Treat the primary artifact as the PRD and supporting descriptors as source-of-truth requirement evidence. Use legacy $CLOSEDLOOP_WORKDIR/prd.md only when judge-input.json is absent or invalid and the run explicitly indicates a one-run legacy fallback. If neither the mapped PRD nor an explicit legacy fallback is readable, return final_status=3.

Rule 1: Traceability Check

For each user story identifier matching the pattern US-### found in the PRD:

  1. Locate the Problem Statement, Hypothesis, and Goals sections of the PRD.
  2. Determine whether the story's stated capability or user need can be traced — directly or by logical inference — to at least one of those sections.
  3. If no traceable origin exists in any of those three sections, flag the story as major with rationale explaining which sections were checked and why no link was found.

Rule 2: Out-of-Scope Overlap Check

For each US-### story:

  1. Locate the Out of Scope section of the PRD.
  2. Scan for any capability described in that section that overlaps with what the story implements or enables.
  3. If any overlap is found, flag the story as blocking with rationale quoting the out-of-scope item and explaining the overlap.

Read the full file on GitHub · 138 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. today First seen · 138 lines · 16 tokens per session scan A a2b5f725fc41

Subscribe to this mod's changes

prd-scope-judge is an agent published in the GitHub repository closedloop-ai/claude-plugins (103 stars, last pushed yesterday), licensed Apache-2.0. It adds 16 tokens to every session and 1,522 once invoked, about $0.0001 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-09-07.

Related

Other agents, from other repositories

flutter-reviewer

Flutter and Dart code reviewer. Reviews Flutter code for widget best practices, state management patterns, Dart idioms, performance pitfalls, accessibility, and clean architecture violations. Library-agnostic — works with any state management solution and tooling.

affaan-m/ECC · 50 tokens

harmonyos-app-resolver

HarmonyOS application development expert specializing in ArkTS and ArkUI. Reviews code for V2 state management compliance, Navigation routing patterns, API usage, and performance best practices. Use for HarmonyOS/OpenHarmony projects.

affaan-m/ECC · 49 tokens

gan-planner

GAN Harness — Planner agent. Expands a one-line prompt into a full product specification with features, sprints, evaluation criteria, and design direction.

affaan-m/ECC · 34 tokens

network-troubleshooter

Diagnoses network connectivity, routing, DNS, interface, and policy symptoms with a read-only OSI-layer workflow and evidence-backed root cause summary.

affaan-m/ECC · 34 tokens

eco-scout

Read-only codebase sweep that returns conclusions and path:line citations only, never file contents. Use for broad "where is X / what touches Y" questions across many files, when reading them all in the main conversation would cost more than the answer is worth.

sup3x/claude-code-eco · 57 tokens

security-reviewer

Read-only, separate-context security reviewer. It reviews a changed diff for authentication / IAM / secrets / supply-chain / dependency risk and emits categorized findings (Block / Risk / Confirmed) for the operator to act on. Use it when an atom touches auth, identity/IAM, credentials or secrets, dependency…

lukasrepublic/agentic-foundry · 108 tokens