api-design

api-design is a skill for Claude Code from RealDougEubanks/ClaudeMarketplace. It costs 37 tokens per session (1,952 once invoked), scanned A, original, MIT.

A tool for designing or reviewing REST, GraphQL, and gRPC APIs, which are different ways for software to expose and exchange data.

In plain words
What is it for?
Use it to design a new API from requirements or audit an existing one for consistency, best practices, and breaking changes.
Why use it?
It helps clarify resources, request and response formats, authentication, errors, pagination, consistency, and the risk of breaking existing clients.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the api-design plugin — 1 skill shipped together

Good fit Use it to design a new API from requirements or audit an existing one for consistency, best practices, and breaking changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/realdougeubanks/claudemarketplace/api-design
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 RealDougEubanks/ClaudeMarketplace --skill api-design
Clone the repo
git clone --depth 1 https://github.com/RealDougEubanks/ClaudeMarketplace

Made for: Claude Code.

Or install api-design, the plugin that ships this one along with the rest of its 1 skill.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/realdougeubanks/claudemarketplace/api-design.svg)](https://agentmods.dev/skills/realdougeubanks/claudemarketplace/api-design)
Your own site
<a href="https://agentmods.dev/skills/realdougeubanks/claudemarketplace/api-design"><img src="https://agentmods.dev/badge/skills/realdougeubanks/claudemarketplace/api-design.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,952 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.00037 $0.01952
Opus 5 $0.00018 $0.00976
Sonnet 5 $0.00007 $0.00390
Haiku 4.5 $0.00004 $0.00195

Measured 7d ago against content hash da63377e5a3d, 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 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 7d 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-design/SKILL.md · 208 lines

How it starts

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

api-design

Purpose

Two modes:

  • Design mode (/api-design): Design a new API surface from requirements — resource modeling, endpoint naming, request/response schemas, versioning, auth, error contracts, pagination.
  • Review mode (/api-design --review): Audit an existing API for consistency, best practices violations, and breaking change risks.

DESIGN MODE Instructions

Step 1 — Gather inputs

Ask the user:

  • What does this API do? (domain / resource description)
  • Who are the consumers? (web frontend, mobile app, third-party, internal service)
  • What protocol? REST, GraphQL, gRPC, or WebSocket (or combination)
  • What auth mechanism? (JWT Bearer, API Key, OAuth2, mTLS)
  • Any existing APIs this must be consistent with?

Read any existing API files: openapi.yml, schema.graphql, *.proto, Swagger docs.


Step 2 — Resource Modeling (REST)

Identify the core resources from the domain description. For each resource:

  • Name it as a plural noun: /users, /orders, /products
  • Define its fields (name, type, required/optional, description)
  • Define its relationships (belongs_to, has_many)
  • Map CRUD to HTTP methods:
Operation Method Path Notes
List GET /resources Supports filtering, sorting, pagination
Get one GET /resources/:id 404 if not found
Create POST /resources 201 + Location header on success
Update (full) PUT /resources/:id Idempotent
Update (partial) PATCH /resources/:id Only send changed fields
Delete DELETE /resources/:id 204 No Content on success

Sub-resources: use /resources/:id/sub-resources only one level deep. Deeper nesting — use query params instead.


Step 3 — Request / Response Design

For each endpoint define:

  • Request: path params, query params (with types and validation), request body schema
  • Response: success schema, all possible error codes and their meaning
  • Side effects: what else changes when this endpoint is called

Read the full file on GitHub · 208 lines

Files

What ships with it

4 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. 7d ago First seen · 208 lines · 37 tokens per session scan A da63377e5a3d

Subscribe to this mod's changes

api-design is a skill published in the GitHub repository RealDougEubanks/ClaudeMarketplace (1 stars, last pushed 2mo ago), licensed MIT. It adds 37 tokens to every session and 1,952 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

tools-unity-unitask

UniTask async/await patterns for Unity including cancellation, lifecycle binding, and coroutine interop.

IdoCohen560/claude-unity-game-studio · 25 tokens

tools-unity-vcontainer

VContainer dependency injection patterns for Unity including lifecycle management, scoped registrations, and common pitfalls.

IdoCohen560/claude-unity-game-studio · 24 tokens

unity-packages-services

Unity 6 packages and services guide. Use when working with Package Manager, installing/updating packages, scoped registries, or Unity Gaming Services (Authentication, Cloud Save, Analytics, Leaderboards, Matchmaker). Covers essential packages list and version compatibility. Based on Unity 6.3 LTS documentation.

IdoCohen560/claude-unity-game-studio · 66 tokens

uw-dependency-injection

Opt-in DI architecture using Reflex for Unity 6+. Covers container setup, scoping, injection, command pattern, update management, and class taxonomy. Use when ProjectConfig.yaml -> architecturepattern is "di-first", or when the user asks about dependency injection, inversion of control, service architecture, or…

IdoCohen560/claude-unity-game-studio · 159 tokens

uw-network-setup

Generates networking boilerplate adapted to the project's chosen networking package (NGO, Mirror, Photon). Use when setting up multiplayer systems, syncing state, writing RPCs, building lobbies, or designing an authority matrix. Triggers on requests like "add multiplayer", "sync player health", "create an RPC", "set…

IdoCohen560/claude-unity-game-studio · 149 tokens

swarm

Run a multi-agent audit of a codebase by spawning specialized parallel subagents (security, performance, tests, architecture, dead-code), then synthesize their findings into a single prioritized action plan. Use this whenever the user runs /swarm, asks to "audit the repo," "review this codebase," "find issues across…

Zintellix/Claude-Skills · 138 tokens