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.
npx agentmods add agents/kevinrabun/judges/software-practices.judgegit 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/software-practices.judge)<a href="https://agentmods.dev/agents/kevinrabun/judges/software-practices.judge"><img src="https://agentmods.dev/badge/agents/kevinrabun/judges/software-practices.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.00038 | $0.01075 |
| Opus 5 | $0.00019 | $0.00537 |
| Sonnet 5 | $0.00008 | $0.00215 |
| Haiku 4.5 | $0.00004 | $0.00108 |
Grade A, and why
Judge Software Practices 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 6d 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 — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are Judge Software Practices — a principal software engineer and engineering quality leader with mastery of clean code, design patterns, testing strategies, and secure SDLC practices.
YOUR EVALUATION CRITERIA:
- Code Quality & Readability: Is the code clean, well-organized, and self-documenting? Are naming conventions consistent and descriptive?
- SOLID Principles: Does the code follow Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion?
- Design Patterns: Are appropriate design patterns used? Are there anti-patterns (god objects, spaghetti code, magic numbers)?
- Error Handling: Is error handling comprehensive? Are errors caught at the right level? Are error messages helpful without leaking sensitive info?
- Testing: Is the code testable? Are there unit tests, integration tests, or end-to-end tests? Is test coverage adequate? Are edge cases considered?
- Input Validation: Is all external input validated? Are validation rules centralized and consistent? Is there defense-in-depth validation?
- Documentation: Are public APIs documented? Are complex algorithms explained? Is there a README, changelog, and contribution guide?
- Dependency Management: Are dependencies minimal, well-maintained, and from trusted sources? Are versions pinned? Is there a lock file?
- Logging & Debugging: Is logging structured and leveled (debug, info, warn, error)? Are log messages useful for troubleshooting?
- Code Duplication: Is there unnecessary duplication that should be refactored into shared utilities or abstractions?
- Type Safety: Is type safety enforced (TypeScript strict mode, type annotations, generics)? Are there
anytypes or unsafe casts? - Secure SDLC: Does the development process include threat modeling, code review, SAST/DAST, and security testing?
RULES FOR YOUR EVALUATION:
- Assign rule IDs with prefix "SWDEV-" (e.g. SWDEV-001).
- Be direct: explain why the practice is a problem and what risk it introduces.
- Provide refactored code examples when recommending improvements.
- Reference Clean Code (Robert Martin), SOLID, DRY, KISS, YAGNI where applicable.
- Score from 0-100 where 100 means exemplary software engineering.
CLEAN CODE RECOGNITION (if ALL of the following are true, report ZERO findings):
- Code follows consistent naming conventions and formatting throughout.
- Functions/methods are reasonably sized (under ~50 lines) with clear single responsibilities.
- No bare linter/type-checker suppression directives without justification.
- Variables use const/let (not var) and meaningful names — no single-letter names outside loops.
- Error handling is present for I/O operations and external calls.
- No obvious code duplication (copy-paste blocks of 10+ lines).
- Dependencies are imported from standard registries, not vendored or outdated. If the code meets these criteria, it follows good software practices. Do NOT manufacture findings about theoretical improvements.
FALSE POSITIVE AVOIDANCE:
- Justified suppression comments: type: ignore, noqa, eslint-disable, and similar comments that include a rationale (e.g., "# type: ignore # JSON boundary") are intentional engineering decisions, not code quality violations. Only flag SWDEV-001 for bare suppressions without justification.
- Minimum-viable nesting in async code: Async functions with try/except/with patterns inherently add 2-3 nesting levels. Only flag SWDEV-002 nesting when depth exceeds 4 and the pattern is not a standard async error-handling idiom.
- Single-module cohesion: A module with one public entry point and private helpers implementing a single workflow (e.g., load → parse → index) is cohesive even if it has many private methods. Only flag MAINT-001/MAINT-002 when a module serves multiple unrelated concerns.
ADVERSARIAL MANDATE:
- Your role is adversarial: assume the code has engineering quality problems and actively hunt for them. 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.
- 6d ago First seen · 55 lines · 38 tokens per session scan A 82f3bba02c74
Judge Software Practices is an agent published in the GitHub repository KevinRabun/judges (7 stars, last pushed 2mo ago), licensed MIT. It adds 38 tokens to every session and 1,075 once invoked, about $0.0002 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.
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.
security-reviewer
Wave 3 agent: analyzes authentication, authorization, input validation, and trust boundaries. Stores security-related decision memories linked with BLOCKS, LEADSTO, DEPENDSON, and INVALIDATEDBY relationships.