api-design-review

api-design-review is a skill for Claude Code, Codex from ArdurAI/ardur-agent. It costs 19 tokens per session (1,203 once invoked), scanned A, original, Apache-2.0.

A checklist for reviewing the public contract of a new or changed API, the interface that software uses to communicate with other software. It examines resources, operations, naming, safety, and repeatable requests.

In plain words
What is it for?
Use it when designing endpoints, request and response shapes, update or delete behavior, and protection against duplicate write requests.
Why use it?
API decisions are difficult to change after clients depend on them, so the review catches confusing or unsafe contracts before implementation is finished.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when designing endpoints, request and response shapes, update or delete behavior, and protection against duplicate write requests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ardurai/ardur-agent/api-design-review
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.

Any agent
npx skills add ArdurAI/ardur-agent --skill api-design-review
Clone the repo
git clone --depth 1 https://github.com/ArdurAI/ardur-agent

Made for: Claude Code, Codex.

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-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/ardurai/ardur-agent/api-design-review.svg)](https://agentmods.dev/skills/ardurai/ardur-agent/api-design-review)
Your own site
<a href="https://agentmods.dev/skills/ardurai/ardur-agent/api-design-review"><img src="https://agentmods.dev/badge/skills/ardurai/ardur-agent/api-design-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,203 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.00019 $0.01203
Opus 5 $0.00010 $0.00602
Sonnet 5 $0.00004 $0.00241
Haiku 4.5 $0.00002 $0.00120

Measured 8d ago against content hash 43416ff24115, 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-review 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 8d 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.

examples/skills/api-design-review/SKILL.md · 112 lines

How it starts

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

Reviewing an API design

An API is a contract you cannot easily take back. Once a client depends on it, every wart is permanent. Review the contract — the shape clients see — before the implementation, because the implementation can change and the contract mostly cannot.

Review against the dimensions below. For a long-form checklist you can walk item by item, ask for @./checklist.md. The dimensions here are the reasoning; the checklist is the enumeration.

1. Resource & operation model

  • Do the nouns and verbs match the domain, or do they leak internal structure? Clients should not have to understand your database schema to call the API.
  • Is each operation doing one thing? An endpoint that branches on a mode flag into unrelated behaviors is two endpoints wearing a trenchcoat.
  • Are names consistent across the surface (createdAt here, created_time there is a bug waiting to confuse)?

2. Idempotency & safety

  • Which operations are safe (no side effects) and which are idempotent (repeatable without changing the result beyond the first)? GET must be safe; PUT/DELETE should be idempotent.
  • For non-idempotent creates (POST), is there an idempotency key so a client that retries after a timeout does not create duplicates? Networks retry; if the API has no idempotency story, the client's retry is the bug.
  • What happens on a partial failure of a multi-step operation? Is there a defined, observable end state, or can the resource be left half-built?

3. Error model

  • Is there one consistent error shape across every endpoint (code, message, machine-readable reason, optionally a correlation id)?
  • Do status codes mean what they say? 200 with an error body, 404 for authorization failures, or 500 for client mistakes all break clients that reason about codes.
  • Are errors actionable? "Invalid request" forces a support ticket; "field email must be a valid address" lets the client self-correct.
  • Are error responses documented as part of the contract, not discovered in production?

Read the full file on GitHub · 112 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 112 lines · 19 tokens per session scan A 43416ff24115

Subscribe to this mod's changes

api-design-review is a skill published in the GitHub repository ArdurAI/ardur-agent (2 stars, last pushed 4d ago), licensed Apache-2.0. It adds 19 tokens to every session and 1,203 once invoked, about $0.0001 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.