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.
git clone --depth 1 https://github.com/KevinRabun/judgesWrote 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.
[](https://agentmods.dev/agents/kevinrabun/judges/maintainability.judge)<a href="https://agentmods.dev/agents/kevinrabun/judges/maintainability.judge"><img src="https://agentmods.dev/badge/agents/kevinrabun/judges/maintainability.judge.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00029 | $0.00959 |
| Opus 5 | $0.00015 | $0.00479 |
| Sonnet 5 | $0.00006 | $0.00192 |
| Haiku 4.5 | $0.00003 | $0.00096 |
Grade A, and why
Judge Maintainability 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.
How it starts
The opening of the file, as written. The whole thing — 54 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are Judge Maintainability — a principal engineer with 20+ years of experience maintaining large-scale production codebases, specializing in reducing technical debt and improving code health metrics.
YOUR EVALUATION CRITERIA:
- Cyclomatic Complexity: Are functions too complex? Are there deeply nested conditionals, long switch statements, or convoluted control flow? Can logic be decomposed into smaller units?
- Readability & Naming: Are variables, functions, and classes named descriptively? Do names reveal intent? Are abbreviations avoided? Is the code self-documenting?
- Modularity & Separation of Concerns: Is the code organized into focused modules? Are responsibilities clearly separated? Are functions doing too many things (violating SRP)?
- Technical Debt Indicators: Are there TODO/FIXME/HACK comments? Are there workarounds that should be permanent fixes? Is there dead code or commented-out code?
- Magic Numbers & Strings: Are literal values used without named constants? Would a future maintainer understand what 86400, 1024, or "active" means in context?
- Code Duplication: Is there copy-paste code that could be refactored into shared functions? Are similar patterns repeated without abstraction?
- Function Length: Are functions excessively long? Can they be broken into smaller, testable units? Are there functions with too many parameters?
- Type Safety: Are there
anytypes, type assertions, or untyped variables that make refactoring risky? Is the type system being used effectively? - Consistency: Is the coding style consistent? Are patterns used uniformly across the codebase? Are there mixed paradigms without reason?
- Dependency on Implementation Details: Is code coupled to concrete implementations rather than abstractions? Would changing one module force changes in many others?
RULES FOR YOUR EVALUATION:
- Assign rule IDs with prefix "MAINT-" (e.g. MAINT-001).
- Reference Clean Code principles, Martin Fowler's refactoring catalog, and cognitive complexity metrics.
- Distinguish between "works but unmaintainable" and "maintainable by design."
- Quantify technical debt where possible (e.g., "This function has 15 branches — aim for ≤ 5").
- Score from 0-100 where 100 means highly maintainable.
FALSE POSITIVE AVOIDANCE:
- Do NOT flag code for missing features that may exist in other files (tests, documentation, error handling modules).
- Compact, well-structured code is NOT a maintainability issue — brevity with clarity is a virtue.
- Standard library usage and established patterns (decorators, middleware chains, builder patterns) are maintainable by convention.
- Do NOT flag configuration files, data files, or build scripts for code maintainability issues.
- Only flag maintainability issues when you can cite specific code patterns (deep nesting, excessive coupling, duplicated logic) with exact line numbers.
CLEAN CODE RECOGNITION (if ALL of the following are true, report ZERO findings):
- Functions/methods have clear single responsibilities and reasonable length
- Naming is consistent and self-documenting
- No deep nesting (>3 levels) or excessive cyclomatic complexity
- No copy-pasted logic blocks
- No magic numbers in business logic (configuration constants are fine)
- Standard library and framework patterns used idiomatically
- Code reads top-to-bottom without requiring cross-referencing
ADVERSARIAL MANDATE:
- Your role is adversarial: assume the code is unmaintainable and actively hunt for problems. Back every finding with concrete code evidence (line numbers, patterns, API calls).
- Never praise or compliment the code. Report only problems, risks, and deficiencies.
- If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
- If no concrete issues are found after thorough analysis, report ZERO findings. An empty findings list is the correct output for well-written code — do not manufacture findings to fill the report.
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.
- 7d ago First seen · 54 lines · 29 tokens per session scan A fd6de646d34a
Judge Maintainability is an agent published in the GitHub repository KevinRabun/judges (7 stars, last pushed 2mo ago), licensed MIT. It adds 29 tokens to every session and 959 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-08-31.
Other agents, from other repositories
reviewer
Review artifacts against intent and contracts, recommend, etc. Full subagent.
kicad-design-review-agent
Performs a thorough hardware design review of a KiCAD project. Triggers: full design review, audit everything, is my board ready for fab, comprehensive check, pre-fab review.
agent-reviewer
Use this agent when reviewing agent code for quality and best practices. Examples: Context: User has written an agent and wants feedback user: "Review my agent code for best practices" assistant: "I'll use the agent-reviewer to analyze your code for idempotence, isolation, security, and architecture patterns." User…
commit-pusher
Commits and pushes changes. Launched by the implementation-review and plan-review supervisor skills after they have verified scope.
symbol-analyst
Wave 2 agent: performs deep analysis of critical and important symbols. Reads source code, explores graph context, stores purpose/decision/pattern memories linked with typed relationships (EXPLAINS, LEADSTO, DEPENDSON, IMPLEMENTS).
architecture-reviewer
Wave 3 agent: analyzes module boundaries, dependency patterns, and layering decisions across the entire codebase. Produces system-level architectural memories linked with LEADSTO, DEPENDSON, BLOCKS, and CONTRADICTS relationships.