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/RashadAnsari/myagentsWrote 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/rashadansari/myagents/api-design-reviewer)<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.
<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>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.00057 | $0.01087 |
| Opus 5.5 | $0.00023 | $0.00435 |
| Sonnet 5.5 | $0.00011 | $0.00217 |
| Haiku 4.5 | $0.00006 | $0.00109 |
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 2d 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 — 51 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. Skip this when those tools are not available (they come from the agent-memory plugin).
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
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.
- 2d ago Changed bb5b042fb827
- 1mo ago Changed · -1 lines df80f24506a3
- 1mo ago First seen · 52 lines · 57 tokens per session scan A c04b10302332
api-design-reviewer is an agent published in the GitHub repository RashadAnsari/myagents (6 stars, last pushed 3d ago), licensed MIT. It adds 57 tokens to every session and 1,087 once invoked, about $0.0002 per session on Opus 5.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.
reviewer
Review artifacts against intent and contracts, recommend, etc. Full subagent.
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.
principal-engineer
Principal Engineer. Architecture guardian. Enforces SOLID + Clean Architecture. Reviews all PRs.
backend-engineer
Backend Engineer. Implements APIs, services, data layer. Follows Clean Architecture.
developer
Pragmatic senior developer. Reviews technical correctness, robustness, API contracts, external integrations, observability, and application performance.