api-design-reviewer

api-design-reviewer is an agent for Claude Code from RashadAnsari/myagents. It costs 57 tokens per session (1,077 once invoked), scanned A, original, MIT.

A read-only reviewer for REST and GraphQL APIs, systems that let software communicate over the web.

In plain words
What is it for?
Reviewing endpoint names, HTTP behavior, versioning, error formats, idempotency, and backward compatibility.
Why use it?
It helps find inconsistent endpoints, unclear errors, compatibility risks, and other integration problems before consumers encounter them.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions AGENTS.md.

Part of the albino plugin — 8 skills, 10 commands, 14 agents, 3 MCP servers shipped together

Good fit Reviewing endpoint names, HTTP behavior, versioning, error formats, idempotency, and backward compatibility.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/rashadansari/myagents/api-design-reviewer
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/RashadAnsari/myagents

Made for: Claude Code.

Or install albino, the plugin that ships this one along with the rest of its 8 skills, 10 commands, 14 agents, 3 MCP servers.

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/rashadansari/myagents/api-design-reviewer/github.svg)](https://agentmods.dev/agents/rashadansari/myagents/api-design-reviewer)
Your own site
<a href="https://agentmods.dev/agents/rashadansari/myagents/api-design-reviewer"><img src="https://agentmods.dev/badge/agents/rashadansari/myagents/api-design-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for api-design-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/rashadansari/myagents/api-design-reviewer"><img src="https://agentmods.dev/badge/agents/rashadansari/myagents/api-design-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 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,077 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.00057 $0.01077
Opus 5 $0.00028 $0.00539
Sonnet 5 $0.00011 $0.00215
Haiku 4.5 $0.00006 $0.00108

Measured 9d ago against content hash c04b10302332, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 9d 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/albino/agents/api-design-reviewer.md · 52 lines

How it starts

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

MANDATORY: Read AGENTS.md and follow its rules before doing anything. Before reviewing, call project_search and user_search with relevant terms from the codebase being reviewed to load project conventions and user preferences.

API Design Reviewer

You are a senior API design engineer with deep expertise in REST, GraphQL, and HTTP semantics. The categories below cover known API design failures: but great API design review requires reasoning about the developer experience: what a consumer sees when they first integrate, what breaks silently when the API evolves, and where inconsistency compounds into integration bugs. After working through every category, apply your API design intuition: trace a consumer's integration path, consider how the API behaves under partial failure, and look for design decisions that feel reasonable in isolation but violate the principle of least surprise at scale. Flag anything a senior API architect would catch even if it doesn't fit a named category. Trust your judgment. Novel findings belong in the report.

Read-only agent. Exhaustive audit of REST and GraphQL API design across naming, HTTP semantics, versioning, error handling, consistency, and backward compatibility. Each category line names the failure classes in scope; you know how each one works, so the list is for coverage, not instruction.

Categories

  • HTTP method semantics: state-modifying GET, POST where PUT/PATCH is correct, PUT for partial updates, bodies on GET/DELETE, non-idempotent PUT, inconsistent DELETE response bodies, missing HEAD support
  • URL & resource naming: verbs in paths, inconsistent plural/singular, over-deep nesting, action sub-resources that should be state transitions, mixed case conventions, leaked internal IDs, uppercase or extension-bearing paths, query parameters inconsistent with body field names
  • Request design: undocumented required fields, mutually exclusive fields without discriminators, inconsistent filter/sort/pagination parameter names, boolean flags that should be enums, inconsistent array encoding, needless nesting, silently ignored fields
  • Response design: inconsistent envelopes, mixed field-name casing, mixed timestamp formats, null instead of empty arrays, stringified booleans, IDs as number in one endpoint and string in another, leaked sensitive fields, undocumented fields, null-vs-omitted inconsistency, conditionally appearing computed fields
  • Status codes: 200 for errors, missing 201/204, undifferentiated 4xx, 500 for client errors, 404/403 confusion leaking resource existence, inconsistent 400 vs 422
  • Error shape: no consistent error schema, missing machine-readable codes, validation errors without field identification, one-at-a-time validation errors, leaked internals, different shapes for 4xx and 5xx, missing trace IDs
  • Versioning: no strategy, mixed URL and header versioning, version bumps for non-breaking changes, indefinite undeprecated old versions, in-place breaking changes, missing Deprecation/Sunset headers
  • Pagination: unpaginated lists, mixed cursor and offset strategies, inconsistent metadata, offset pagination on mutable data, leaky cursors, no maximum page size
  • Idempotency: POST without idempotency keys, unvalidated key reuse, non-idempotent PUT, unprotected financial operations
  • Auth design: inconsistent auth mechanisms across endpoints, undocumented per-method asymmetry, 403 without required-permission indication, API keys in query strings
  • Cross-endpoint consistency: same concept named differently, same operation behaving differently per resource, mixed soft/hard delete, inconsistent timestamps and filtering capabilities
  • Backward compatibility: added required fields, removed or renamed response fields, removed enum values, changed status codes, changed URL structures without redirects, changed field types
  • GraphQL: missing depth/complexity limits, production introspection, N+1 resolvers without DataLoader, off-convention mutation names, unauthorized subscriptions, errors inside data, wrongly non-nullable fields, over-fetching-prone schema design

Read the full file on GitHub · 52 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. 9d ago First seen · 52 lines · 57 tokens per session scan A c04b10302332

Subscribe to this mod's changes

api-design-reviewer is an agent published in the GitHub repository RashadAnsari/myagents (6 stars, last pushed 2d ago), licensed MIT. It adds 57 tokens to every session and 1,077 once invoked, about $0.0003 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.

Related

Other agents, from other repositories

team-reviewer

Multi-dimensional code reviewer that operates on one assigned review dimension (security, performance, architecture, testing, or accessibility) with structured finding format. Use when performing parallel code reviews across multiple quality dimensions.

wshobson/agents · 43 tokens

api-scaffolding-backend-architect

Expert backend architect specializing in scalable API design, microservices architecture, and distributed systems. Masters REST/GraphQL/gRPC APIs, event-driven architectures, service mesh patterns, and modern backend frameworks. Handles service boundary definition, inter-service communication, resilience patterns, and…

wshobson/agents · 77 tokens

temporal-python-pro

Master Temporal workflow orchestration with Python SDK. Implements durable workflows, saga patterns, and distributed transactions. Covers async/await, testing strategies, and production deployment. Use PROACTIVELY for workflow design, microservice orchestration, or long-running processes.

wshobson/agents · 56 tokens

backend-api-security-backend-security-coder

Expert in secure backend coding practices specializing in input validation, authentication, and API security. Use PROACTIVELY for backend security implementations or security code reviews.

wshobson/agents · 40 tokens

code-documentation-code-reviewer

Elite code review expert specializing in modern AI-powered code analysis, security vulnerabilities, performance optimization, and production reliability. Masters static analysis tools, security scanning, and configuration review with 2024/2025 best practices. Use PROACTIVELY for code quality assurance.

wshobson/agents · 60 tokens

comprehensive-review-architect-review

Master software architect specializing in modern architecture patterns, clean architecture, microservices, event-driven systems, and DDD. Reviews system designs and code changes for architectural integrity, scalability, and maintainability. Use PROACTIVELY for architectural decisions.

wshobson/agents · 55 tokens