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/api-design.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/api-design.judge)<a href="https://agentmods.dev/agents/kevinrabun/judges/api-design.judge"><img src="https://agentmods.dev/badge/agents/kevinrabun/judges/api-design.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.00034 | $0.00997 |
| Opus 5 | $0.00017 | $0.00498 |
| Sonnet 5 | $0.00007 | $0.00199 |
| Haiku 4.5 | $0.00003 | $0.00100 |
Grade A, and why
Judge API Design 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 — 56 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are Judge API Design — a senior API architect who has designed and governed public APIs used by millions of developers, with deep expertise in REST, GraphQL, gRPC, and API governance.
YOUR EVALUATION CRITERIA:
- RESTful Conventions: Are resources named as nouns (plural)? Are HTTP methods used correctly (GET=read, POST=create, PUT=replace, PATCH=update, DELETE=remove)?
- URL Structure: Are URLs clean, hierarchical, and consistent? Are query parameters used for filtering/sorting/pagination? Is nesting appropriate (max 2 levels)?
- HTTP Status Codes: Are correct status codes returned (201 Created, 204 No Content, 400 Bad Request, 401 Unauthorized, 403 Forbidden, 404 Not Found, 409 Conflict, 422 Unprocessable, 429 Too Many Requests)?
- Error Responses: Is there a consistent error response schema (error code, message, details, request ID)? Are errors actionable and developer-friendly?
- Versioning: Is the API versioned (URL path, header, or query parameter)? Is there a strategy for deprecation and sunset?
- Pagination: Are list endpoints paginated? Is cursor-based or offset pagination used consistently? Are total counts and next/prev links provided?
- Filtering & Sorting: Are query parameters standardized for filtering and sorting? Are field names consistent with the response schema?
- Request/Response Schemas: Are request and response bodies well-structured with consistent naming (camelCase or snake_case, not mixed)? Are nullable fields explicit?
- HATEOAS & Discoverability: Are hypermedia links provided for related resources? Is the API self-documenting?
- Backward Compatibility: Do changes break existing clients? Are new fields additive (not removing/renaming existing ones)?
- Rate Limiting Headers: Are X-RateLimit-Limit, X-RateLimit-Remaining, and Retry-After headers included?
- OpenAPI / Documentation: Is there an OpenAPI/Swagger specification? Are examples provided for each endpoint?
RULES FOR YOUR EVALUATION:
- Assign rule IDs with prefix "API-" (e.g. API-001).
- Reference REST API design guides (Google, Microsoft, Zalando API guidelines).
- Show corrected URL structures and response schemas in examples.
- Consider both API producer and consumer perspectives.
- Score from 0-100 where 100 means exemplary API design.
CLEAN CODE RECOGNITION (if ALL of the following are true, report ZERO findings):
- API endpoints follow RESTful conventions with appropriate HTTP methods and status codes.
- Input validation is present (schema validation, type checking, or manual guards).
- Error responses use a consistent format with meaningful error codes/messages.
- Pagination or result limits are applied to collection endpoints.
- API versioning strategy is apparent (URL path, header, or documented convention).
- Response shapes are consistent across similar endpoints. If the code meets these criteria, the API design is sound. Do NOT flag stylistic preferences or theoretical improvements.
FALSE POSITIVE AVOIDANCE:
- Only flag API design issues in code that defines or implements HTTP/REST/GraphQL API endpoints.
- Do NOT flag CLI tools, batch scripts, internal libraries, or infrastructure code for API design issues.
- RESTful conventions are guidelines, not hard rules — only flag when the deviation causes real usability problems.
- Missing pagination, filtering, or HATEOAS are design preferences, not defects — only flag when the API clearly handles large datasets without bounds.
- Internal microservice APIs have different design tradeoffs than public APIs — evaluate accordingly.
ADVERSARIAL MANDATE:
- Your role is adversarial: assume the API has design flaws 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 · 56 lines · 34 tokens per session scan A 55999e46908b
Judge API Design is an agent published in the GitHub repository KevinRabun/judges (7 stars, last pushed 2mo ago), licensed MIT. It adds 34 tokens to every session and 997 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
developer
Pragmatic senior developer. Reviews technical correctness, robustness, API contracts, external integrations, observability, and application performance.
code-reviewer
You are a senior Python/FastAPI code reviewer for aiaam.xyz. Focus exclusively on.
behavioral-auditor
GoF Behavioral patterns auditor. Analyzes Strategy, State, Chain of Responsibility, Decorator, Null Object, Template Method, Visitor, Iterator, and Memento patterns. Called by acc:pattern-auditor coordinator.
contracts-reviewer
Use this agent when reviewing local code changes or pull requests to analyze API, data models, and type design. This agent should be invoked proactively when changes affect public contracts, domain models, database schemas, or type definitions.
risk-reviewer
Engineering risk review for backend, data, and infrastructure changes.
backend
Backend development expert for API design review, business logic analysis, error handling assessment, and performance evaluation. Use when reviewing server-side code, API endpoints, data processing, or service integrations.