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.01077 |
| Opus 5 | $0.00028 | $0.00539 |
| Sonnet 5 | $0.00011 | $0.00215 |
| Haiku 4.5 | $0.00006 | $0.00108 |
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.
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
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.
- 9d 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 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.
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.
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…
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.
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.
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.
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.