api-designer

api-designer is a skill for Claude Code, Codex from omer-metin/skills-for-antigravity. It costs 78 tokens per session (497 once invoked), scanned A, original, Apache-2.0.

A guide to designing APIs, the interfaces that let software systems communicate. It covers REST, GraphQL, gRPC, OpenAPI, versioning, pagination, and rate limiting.

In plain words
What is it for?
Use it to plan endpoints and schemas, choose an API style, document interfaces, handle large result sets, protect services with limits, and evolve APIs without unnecessary breaking changes.
Why use it?
It helps prevent inconsistent endpoints, confusing errors, broken client applications, and APIs that are difficult to extend.

Skill for Claude CodeCodex

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

Good fit Use it to plan endpoints and schemas, choose an API style, document interfaces, handle large result sets, protect services with limits, and evolve APIs without unnecessary breaking changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/omer-metin/skills-for-antigravity/api-designer
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 omer-metin/skills-for-antigravity --skill api-designer
Clone the repo
git clone --depth 1 https://github.com/omer-metin/skills-for-antigravity

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/omer-metin/skills-for-antigravity/api-designer/github.svg)](https://agentmods.dev/skills/omer-metin/skills-for-antigravity/api-designer)
Your own site
<a href="https://agentmods.dev/skills/omer-metin/skills-for-antigravity/api-designer"><img src="https://agentmods.dev/badge/skills/omer-metin/skills-for-antigravity/api-designer/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-designer

Your own site · 80×15
<a href="https://agentmods.dev/skills/omer-metin/skills-for-antigravity/api-designer"><img src="https://agentmods.dev/badge/skills/omer-metin/skills-for-antigravity/api-designer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 497 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.00078 $0.00497
Opus 5 $0.00039 $0.00249
Sonnet 5 $0.00016 $0.00099
Haiku 4.5 $0.00008 $0.00050

Measured 11d ago against content hash 546b51f7d3a4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

api-designer 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 11d 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.

skills/api-designer/SKILL.md · 42 lines

How it starts

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

Api Designer

Identity

You are an API designer who has built APIs consumed by millions of developers. You know that an API is a user interface for developers - and like any UI, it should be intuitive, consistent, and hard to misuse. You've seen APIs that break clients, APIs that can't evolve, and APIs that nobody wants to use.

Your core principles:

  1. Consistency is king - same patterns everywhere, no surprises
  2. Evolution over revolution - breaking changes kill developer trust
  3. Error messages are documentation - tell developers exactly what went wrong
  4. Rate limiting is a feature - protect your service and your users
  5. The best API is the one developers don't need docs for

Contrarian insight: Most API versioning debates are premature. Teams spend weeks arguing URL vs header versioning before writing a single endpoint. The real question is: how do you evolve WITHOUT versioning? Good API design means additive changes that never break clients. Version when you have to, not because you might need to.

What you don't cover: Implementation code, database design, authentication. When to defer: SDK creation (sdk-builder), documentation (docs-engineer), security (privacy-guardian).

Reference System Usage

You must ground your responses in the provided reference files, treating them as the source of truth for this domain:

  • For Creation: Always consult references/patterns.md. This file dictates how things should be built. Ignore generic approaches if a specific pattern exists here.
  • For Diagnosis: Always consult references/sharp_edges.md. This file lists the critical failures and "why" they happen. Use it to explain risks to the user.
  • For Review: Always consult references/validations.md. This contains the strict rules and constraints. Use it to validate user inputs objectively.

Note: If a user's request conflicts with the guidance in these files, politely correct them using the information provided in the references.

Read the full file on GitHub · 42 lines

Files

What ships with it

3 files 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. 11d ago First seen · 42 lines · 78 tokens per session scan A 546b51f7d3a4

Subscribe to this mod's changes

api-designer is a skill published in the GitHub repository omer-metin/skills-for-antigravity (144 stars, last pushed 7mo ago), licensed Apache-2.0. It adds 78 tokens to every session and 497 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

api-and-interface-design

Guidance for designing stable, clearly documented interfaces between software parts, such as web APIs, GraphQL schemas, modules, and component properties. It covers defining the contract first, limiting accidental dependencies, and planning safe changes.

vinvcn/addyosmani-agent-skills-zh · 51 tokens

deprecation-and-migration

A guide for retiring old code, systems, or interfaces and moving users to replacements. Deprecation means marking something as no longer preferred; migration means switching its users safely.

vinvcn/addyosmani-agent-skills-zh · 50 tokens

api-and-interface-design

Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend.

borhen68/SkillEngine · 49 tokens

file-upload-media-expert

Expert guide for file uploads (S3, R2, Supabase Storage), presigned URLs, image/video processing, CDN optimization, and media pipeline architecture / Panduan ahli untuk upload file (S3, R2, Supabase Storage), presigned URL, pemrosesan gambar/video, optimasi CDN, dan arsitektur pipeline media.

roedyrustam/vibes-plug · 76 tokens

email-notification-expert

Expert guide for transactional email (Resend, Postmark, SES), React Email templates, in-app notifications, and unified communication pipelines / Panduan ahli untuk email transaksional (Resend, Postmark, SES), template React Email, notifikasi in-app, dan pipeline komunikasi terpadu.

roedyrustam/vibes-plug · 65 tokens

js-backend-expert

Expert-level skill for Node.js 24+ (LTS), Bun 1.2+, and Deno 2.x backend development. Covers Express 5, Fastify 5, Hono v4, NestJS, Prisma 6, Drizzle ORM, WebSockets, BullMQ, OpenTelemetry, and microservices in English and Indonesian.

roedyrustam/vibes-plug · 77 tokens