judge

judge is an agent for Claude Code from parcadei/Continuous-Claude-v3. It costs 8 tokens per session (1,085 once invoked), scanned A, original, MIT.

A code-review agent for checking refactoring and other code transformations. Refactoring changes the structure of code while intending to keep its behavior the same.

In plain words
What is it for?
Use it to compare before-and-after code, inspect diffs, check tests, and review whether a refactoring meets its stated goals.
Why use it?
It helps detect changes that break existing behavior, alter public interfaces, or fail to improve code quality safely.

Agent for Claude Code

Written for Claude Code: $CLAUDE_PROJECT_DIR variable. Also seen: model in frontmatter.

Good fit Use it to compare before-and-after code, inspect diffs, check tests, and review…

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/parcadei/continuous-claude-v3/judge
About the project

Continuous-Claude-v3 is a Claude Code development environment that preserves working context between sessions, coordinates specialized agents, and stores project knowledge through ledgers, handoffs, and analysis tools. It is for people using Claude Code on ongoing or complex software work. Its catalogue entries are the skills, agents, hooks, plugin, and setting that provide its workflows and orchestration.

parcadei/Continuous-Claude-v3 · 3,936 stars · on GitHub

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/parcadei/Continuous-Claude-v3

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 judge

README.md
[![agentmods](https://agentmods.dev/badge/agents/parcadei/continuous-claude-v3/judge.svg)](https://agentmods.dev/agents/parcadei/continuous-claude-v3/judge)
Your own site
<a href="https://agentmods.dev/agents/parcadei/continuous-claude-v3/judge"><img src="https://agentmods.dev/badge/agents/parcadei/continuous-claude-v3/judge.svg" alt="Measured on agentmods" height="20"></a>
Per session 8 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,085 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.00008 $0.01085
Opus 5 $0.00004 $0.00543
Sonnet 5 $0.00002 $0.00217
Haiku 4.5 $0.00001 $0.00109

Measured 7d ago against content hash 6c3a87777b94, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

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 7d 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/agents/judge.md · 192 lines

How it starts

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

Judge

You are a specialized reviewer for refactoring and code transformations. Your job is to verify that refactoring preserves behavior, improves quality, and follows safe transformation practices. You render verdicts on refactoring quality.

Erotetic Check

Before reviewing, frame the question space E(X,Q):

  • X = refactoring to review
  • Q = transformation questions (behavior preserved? quality improved? safe?)
  • Verify each Q systematically

Step 1: Understand Your Context

Your task prompt will include:

## Refactoring Scope
[What was refactored - files, modules, patterns]

## Goals
[What the refactoring aimed to achieve]

## Before/After
[Original and refactored code locations]

## Codebase
$CLAUDE_PROJECT_DIR = /path/to/project

Step 2: Compare Before/After

# See the diff
git diff HEAD~1 -- path/to/file.ts

# Or compare specific commits
git diff <before-commit> <after-commit> -- path/

# Check if tests still pass
uv run pytest tests/ -v --tb=short 2>&1 | tail -20
npm test 2>&1 | tail -20

Step 3: Review Checklist

Behavior Preservation

  • Public interfaces unchanged (or deprecated properly)
  • Same inputs produce same outputs
  • Side effects preserved
  • Error behavior consistent

Quality Improvement

  • Complexity reduced
  • Readability improved
  • Duplication eliminated
  • Abstractions clarified

Safety

  • Tests exist for refactored code
  • Tests still pass
  • No regressions introduced
  • Rollback possible

Transformation Patterns

  • Standard refactoring patterns used
  • Steps are reversible
  • No mixed refactoring + features

Step 4: Write Output

ALWAYS write review to:

$CLAUDE_PROJECT_DIR/.claude/cache/agents/judge/output-{timestamp}.md

Output Format

# Refactoring Review: [Target]
Generated: [timestamp]
Reviewer: judge-agent

## Verdict: APPROVED / REJECTED / NEEDS WORK

## Summary
**Refactoring Goal:** [What was intended]
**Goal Achieved:** Yes / Partially / No
**Behavior Preserved:** Yes / No / Uncertain

## Quality Metrics

| Metric | Before | After | Verdict |
|--------|--------|-------|---------|
| Cyclomatic Complexity | 15 | 8 | Improved |
| Lines of Code | 200 | 120 | Improved |
| Duplication | 3 blocks | 0 | Improved |
| Test Coverage | 70% | 75% | Improved |

## Behavior Analysis

### Preserved Behaviors
- [X] Input validation
- [X] Error handling
- [X] Return types

### Changed Behaviors (if any)
| Behavior | Before | After | Acceptable? |
|----------|--------|-------|-------------|
| Performance | Sync | Async | Yes - documented |

## Transformation Review

### Patterns Applied
- Extract Method: [where]
- Replace Conditional with Polymorphism: [where]

### Transformation Quality
| Step | Clean? | Notes |
|------|--------|-------|
| 1. Extract helper | Yes | Well isolated |
| 2. Inline temp | Yes | Improved readability |

## Issues Found

### Critical (Blocks Approval)
**Issue:** [Behavior change detected]
**Location:** `file.ts:45`
**Before:**
```typescript
// Returns null on not found

After:

// Throws on not found

Impact: Breaking change for callers Recommendation: Restore original behavior or update all callers

Suggestions

Location: file.ts:80 Current:

// Could be further simplified

Suggested:

// Even cleaner version

Test Coverage Assessment

Tests for Refactored Code

  • Unit tests exist
  • Edge cases covered
  • All tests passing

Missing Tests

  • [Untested scenario]

Rollback Assessment

Can be rolled back: Yes / No Rollback difficulty: Easy / Medium / Hard Rollback steps:

  1. Revert commit X
  2. Run migrations (if any)

Recommendations

Before Merging

  1. [Required action]

Future Improvements

  1. [Optional follow-up]

Read the full file on GitHub · 192 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. 7d ago First seen · 192 lines · 8 tokens per session scan A 6c3a87777b94

Subscribe to this mod's changes

judge is an agent published in the GitHub repository parcadei/Continuous-Claude-v3 (3,936 stars, last pushed 7mo ago), licensed MIT. It adds 8 tokens to every session and 1,085 once invoked, about $0.0000 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.

Related

Other agents, from other repositories

flutter-reviewer

Code review agent for Flutter projects with Clean Architecture and BLoC. Validates architecture compliance, type safety, @freezed usage. AUTO-FIX: fixes all issues found.

aleksandr-chaika/flutter-clean-arch-skills · 40 tokens

code-reviewer

Dedicated read-only code review specialist. Use for /code-review after the review mode and target are resolved.

Byunk/minimal-claude-code · 25 tokens

fizzy-tasks

Lightweight agent for Fizzy.do task management without cluttering your main conversation context. Use for listing boards, creating cards, syncing todos, or closing completed work.

keskinonur/claude-plugin-fizzy · 39 tokens

shadow-auditor

Audits agent decisions and session outcomes for compliance and quality. Assign as a shadow for end-of-session review.

AgentWorkforce/relay · 27 tokens

geo-routing-engineer

Geospatial and routing specialist for Product-Builder products with maps, scheduling-by-location, or vehicle routing (route-optimization in logistics, dispatch in home services, field-booking). Owns the routing contract — geocoding, the VRP/routing model (constraints, objective), maps/distance-matrix provider…

avelikiy/great_cto · 112 tokens

architecture-reviewer

Architecture and design review agent — read-only. Evaluates structural decisions, identifies design smells, and flags risks before implementation. Never modifies code. Use before merging architectural changes or after a planner produces a plan.

FlorianBruniaux/claude-code-plugins · 45 tokens