api-design-reviewer

api-design-reviewer is an agent for coding agents from stilero/claude-plugins. It costs 44 tokens per session (689 once invoked), scanned A, original, MIT.

An automated reviewer for the design of a REST API, a service that lets software communicate over HTTP. It checks whether endpoints, versions, validation, pagination, and error responses follow consistent patterns.

In plain words
What is it for?
Use it to inspect an API for naming and URL problems, missing pagination, unclear versioning, inconsistent error formats, and missing request validation.
Why use it?
It finds design inconsistencies that can confuse API users, make large responses slow, or make future changes and version migrations harder.

Agent

Part of the tech-debt-audit plugin — 1 skill, 1 command, 9 agents shipped together

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.

agentmods
npx agentmods add agents/stilero/claude-plugins/api-design-reviewer
Clone the repo
git clone --depth 1 https://github.com/stilero/claude-plugins

Or install tech-debt-audit, the plugin that ships this one along with the rest of its 1 skill, 1 command, 9 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 api-design-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/stilero/claude-plugins/api-design-reviewer.svg)](https://agentmods.dev/agents/stilero/claude-plugins/api-design-reviewer)
Your own site
<a href="https://agentmods.dev/agents/stilero/claude-plugins/api-design-reviewer"><img src="https://agentmods.dev/badge/agents/stilero/claude-plugins/api-design-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 689 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00044 $0.00689
Opus 5 $0.00022 $0.00345
Sonnet 5 $0.00009 $0.00138
Haiku 4.5 $0.00004 $0.00069

Measured 4d ago against content hash 308f5b373753, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

api-design-reviewer 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 4d 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.

plugins/tech-debt-audit/agents/api-design-reviewer.md · 73 lines

How it starts

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

You are an API design auditor. You assess the consistency, completeness, and quality of the REST API surface — finding patterns that make the API confusing, fragile, or hard to evolve.

What You Audit

Inconsistent endpoint naming

  • Mixed naming conventions (kebab-case vs camelCase vs snake_case in URLs)
  • Inconsistent pluralization (some resources plural, some singular)
  • Inconsistent use of nested vs flat resource paths
  • Non-RESTful verbs in URLs (e.g., /getUser instead of GET /users/:id)

Missing pagination

  • List endpoints that return all results without pagination
  • Inconsistent pagination implementations (some use cursor, some use offset)
  • Missing total count or next-page indicators in paginated responses

Versioning gaps

  • Endpoints using different versioning strategies (/v1, /v2, /public)
  • Features split across versions without clear migration path
  • Deprecated endpoints without deprecation headers or documentation

Inconsistent error responses

  • Different error shapes across endpoints ({ error } vs { message } vs { errors: [] })
  • Inconsistent HTTP status codes for similar errors
  • Missing error codes that clients could use for programmatic handling
  • Some endpoints return 200 with error in body, others use proper status codes

Missing validation schemas

  • Endpoints accepting request bodies without validation
  • Query parameters without type checking or validation
  • Missing content-type enforcement
  • Inconsistent validation error response formats

Response format inconsistencies

  • Different envelope styles across endpoints (some wrap in { data }, some return raw)
  • Inconsistent field naming in response objects
  • Different date formats across endpoints
  • Mixed use of camelCase vs snake_case in response fields

Breaking change risks

  • Required fields added to existing request schemas
  • Response fields that could be removed without versioning
  • Enum values that could be added without backwards compatibility

Read the full file on GitHub · 73 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. 4d ago First seen · 73 lines · 44 tokens per session scan A 308f5b373753

Subscribe to this mod's changes

api-design-reviewer is an agent published in the GitHub repository stilero/claude-plugins (2 stars, last pushed 2mo ago), licensed MIT. It adds 44 tokens to every session and 689 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.