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.
npx skills add KhaledSaeed18/dotclaude --skill api-design-reviewgit clone --depth 1 https://github.com/KhaledSaeed18/dotclaudeWrote 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/skills/khaledsaeed18/dotclaude/api-design-review)<a href="https://agentmods.dev/skills/khaledsaeed18/dotclaude/api-design-review"><img src="https://agentmods.dev/badge/skills/khaledsaeed18/dotclaude/api-design-review/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/skills/khaledsaeed18/dotclaude/api-design-review"><img src="https://agentmods.dev/badge/skills/khaledsaeed18/dotclaude/api-design-review.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.00080 | $0.00946 |
| Opus 5.5 | $0.00032 | $0.00378 |
| Sonnet 5.5 | $0.00016 | $0.00189 |
| Haiku 4.5 | $0.00008 | $0.00095 |
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 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.
How it starts
The opening of the file, as written. The whole thing — 54 lines — stays where its author put it; the contents beside it link to each section on GitHub.
An API contract is the hardest thing in a codebase to change once someone depends on it. Review it as a future consumer under pressure: every inconsistency you let through becomes a permanent workaround in every client. Ground each finding in the project's existing conventions first; consistency with the API a team already ships beats textbook purity.
Step 1: Establish the existing contract
Before judging anything, learn what this API already does:
- Find the existing routes/resolvers and read three or four representative ones end to end (path, verbs, request/response shapes, error handling).
- Find the conventions: error envelope shape, pagination style, naming case (camelCase vs snake_case), plural vs singular resources, auth mechanism, versioning scheme (path, header, or none).
- Find any OpenAPI/GraphQL schema, API docs, or client SDKs; those are the contract's consumers-eye view.
New surface must match these unless there is a stated reason to diverge, and divergence should be raised as its own finding.
Step 2: Review the surface
Work through the checklist against each new or changed endpoint. Flag only what is wrong or risky, with the concrete revision.
Resources and naming
- Nouns for resources, verbs only via HTTP methods (
POST /orders, notPOST /createOrder). Sub-resources for ownership (/users/{id}/orders), not query-parameter relationships. - Consistent casing and pluralization with the rest of the API.
HTTP semantics
- GET is safe and cacheable, never mutates. PUT is full replace and idempotent; PATCH is partial. DELETE is idempotent (second call returns the same outcome, 404 or 204, deliberately chosen).
- Status codes carry meaning: 201 + Location for creation, 400 for malformed input vs 422 for valid-but-unprocessable (pick the project's existing convention), 401 unauthenticated vs 403 unauthorized, 409 for conflicts, 429 with Retry-After for rate limits. Never 200 with an error in the body.
Errors
- One error envelope everywhere, machine-distinguishable (a stable
codefield, not just prose), with enough detail to act on but no internals (no stack traces, no SQL, no infrastructure hostnames). - Validation errors name the field that failed.
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.
- 4d ago Changed · +1 lines 4ea667836abf
- 2mo ago Changed · +1 lines 279b2312a609
- 3mo ago First seen · 52 lines · 80 tokens per session scan A 249a67f912de
api-design-review is a skill published in the GitHub repository KhaledSaeed18/dotclaude (8 stars, last pushed today), licensed MIT. It adds 80 tokens to every session and 946 once invoked, about $0.0003 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.
api-design-review compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| api-design-reviewKhaledSaeed18/dotclaude | Skill | 8 | today | MIT | A | 80 | Claude Code |
| remove-ai-slopscode-yeongyu/oh-my-openagent | Skill | 71k | today | none | A | 77 | Claude Code |
| review-workcode-yeongyu/oh-my-openagent | Skill | 71k | today | none | A | 63 | Claude Code, Codex |
| githubcode-yeongyu/oh-my-openagent | Skill | 71k | today | none | A | 226 | Claude Code, Codex |
| tech-debt-auditcode-yeongyu/oh-my-openagent | Skill | 71k | today | none | A | 127 | Claude Code, Codex |
| mcp-server-builderOneWave-AI/claude-skills | Skill | 458 | yesterday | MIT | A | 79 | Claude Code, Codex |
| api-endpoint-scaffolderOneWave-AI/claude-skills | Skill | 458 | yesterday | MIT | A | 36 | Claude Code, Codex |