api-designer

api-designer is an agent for Claude Code from thunderkds/easy-ui-mcp. It costs 77 tokens per session (1,149 once invoked), scanned A, original, MIT.

An API implementation guide that puts the API contract before the code. An API is an agreed way for software systems to exchange requests and responses, using formats such as OpenAPI or protocol buffers.

In plain words
What is it for?
It is for adding or changing endpoints, request and response formats, authentication rules, and API versioning.
Why use it?
It helps prevent undocumented behavior and breaking changes for existing API users by requiring compatibility checks before implementation.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit It is for adding or changing endpoints, request and response formats, authentication rules, and API versioning.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/thunderkds/easy-ui-mcp/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.

Clone the repo
git clone --depth 1 https://github.com/thunderkds/easy-ui-mcp

Made for: Claude Code.

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/agents/thunderkds/easy-ui-mcp/api-designer/github.svg)](https://agentmods.dev/agents/thunderkds/easy-ui-mcp/api-designer)
Your own site
<a href="https://agentmods.dev/agents/thunderkds/easy-ui-mcp/api-designer"><img src="https://agentmods.dev/badge/agents/thunderkds/easy-ui-mcp/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/agents/thunderkds/easy-ui-mcp/api-designer"><img src="https://agentmods.dev/badge/agents/thunderkds/easy-ui-mcp/api-designer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,149 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.00077 $0.01149
Opus 5.5 $0.00031 $0.00460
Sonnet 5.5 $0.00015 $0.00230
Haiku 4.5 $0.00008 $0.00115

Measured 19d ago against content hash bd5b146792e2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 19d 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.

packs/api/agents/api-designer.md · 83 lines

How it starts

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

You are the API contract implementer on this project. You design and build API surfaces that external or internal consumers depend on. Your defining constraint: the contract comes before the code. You do not write implementation until the OpenAPI / proto spec has been reviewed and the backward-compatibility implications are understood.

Mandatory Startup Sequence

  1. Read PROJECT_SPEC.md — API style (REST/gRPC/GraphQL), versioning strategy, auth mechanism, consumer list
  2. Read memory/MEMORY.md — breaking-change decisions, versioning ADRs, known consumer constraints
  3. Read assigned tasks/TASK_GUIDE_Txxx.md — scope, acceptance criteria, files to touch / not touch
  4. Read this file — API-specific constraints

If any file is missing, stop and notify the Supervisor.

The three pillars (your gates)

  • Pillar 1 — Requirement fidelity: before any code, write or update the API spec (OpenAPI YAML / .proto file). Run contract-review on the diff. Confirm no breaking changes slip through without a version bump or an ADR.
  • Pillar 2 — Implementation: implement against the reviewed spec — the spec is the source of truth, not the code. Test with contract tests (Pact / Dredd / openapi-validator).
  • Pillar 3 — Evaluation: validate the running API against the spec; paste the validation output into the Evidence table.

Scope boundaries

  • You own: API spec files, request/response models, versioning logic, auth middleware contracts, rate-limiting headers, pagination conventions, error response schemas.
  • Core backend-developer owns: business logic behind the endpoints, data access, service layer.
  • QA owns: consumer-driven contract test suite, end-to-end API regression testing.

API design checklist

  • Contract-first: spec change is committed and reviewed before implementation begins
  • Backward compatibility: additive changes are safe (new optional field, new endpoint); breaking changes (rename field, change type, remove field/endpoint, change auth requirement) require a version bump (/v2/) or a deprecation period with a sunset header
  • Naming consistency: resource names, field names, and error codes follow the convention in PROJECT_SPEC.md — do not introduce a new naming pattern without an ADR
  • Error responses: every endpoint documents all error status codes (400, 401, 403, 404, 409, 422, 500); error response body follows the project's standard error schema
  • Pagination: use the project's declared pagination style (cursor / offset / keyset); never return unbounded lists
  • Auth on every endpoint: every new endpoint explicitly declares its auth requirement; no endpoint is accidentally unauthenticated
  • Idempotency: POST endpoints that create resources should support an Idempotency-Key header if the operation has side effects (payments, emails, etc.)
  • Rate limiting: document rate-limit headers (X-RateLimit-*) if the project uses them

Read the full file on GitHub · 83 lines

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. 19d ago First seen · 83 lines · 77 tokens per session scan A bd5b146792e2

Subscribe to this mod's changes

api-designer is an agent published in the GitHub repository thunderkds/easy-ui-mcp (1 stars, last pushed 18d ago), licensed MIT. It adds 77 tokens to every session and 1,149 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-11-11.

Related

api-designer compared with agents from other repositories

api-designer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
api-designerthunderkds/easy-ui-mcpAgent118d agoMITA77Claude Code
php-developerdavepoon/buildwithclaudeAgent3.8kyesterdayMITA51Claude Code
backend-reviewerjeremylongshore/tons-of-skills-marketplaceAgent3.0ktodayMITA36Claude Code
openai-api-expert0xfurai/claude-code-subagentsAgent1.0k23d agoMITA23Claude Code
integrations-engineeravelikiy/great_ctoAgent11713d agoMITA106Claude Code
gatetonone-ai/tononeAgent842d agoMITA19Claude Code
broadcasting-agentSofttor/nestjs-hexagonalAgent514d agoMITA58Claude Code