api-design

api-design is a skill for Claude Code from pan94u/forge. It costs 31 tokens per session (1,438 once invoked), scanned A, original, no licence file.

A skill covering REST API design, including URL names, HTTP status codes, pagination, error responses, versioning, and OpenAPI.

In plain words
What is it for?
Use it when designing or reviewing a REST API and its OpenAPI description.
Why use it?
It gives guidance for common API design decisions and documentation practices.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the forge-foundation plugin — 16 skills, 6 commands, 4 agents, 2 MCP servers shipped together

Good fit Use it when designing or reviewing a REST API and its OpenAPI description.

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

Made for: Claude Code.

Or install forge-foundation, the plugin that ships this one along with the rest of its 16 skills, 6 commands, 4 agents, 2 MCP servers.

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/pan94u/forge/api-design/github.svg)](https://agentmods.dev/skills/pan94u/forge/api-design)
Your own site
<a href="https://agentmods.dev/skills/pan94u/forge/api-design"><img src="https://agentmods.dev/badge/skills/pan94u/forge/api-design/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-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/pan94u/forge/api-design"><img src="https://agentmods.dev/badge/skills/pan94u/forge/api-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,438 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 unknown 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.00031 $0.01438
Opus 5.5 $0.00012 $0.00575
Sonnet 5.5 $0.00006 $0.00288
Haiku 4.5 $0.00003 $0.00144

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

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/endpoint_check.py, scripts/openapi_gen.py, scripts/response_check.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/forge-foundation/skills/api-design/SKILL.md · 148 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 1mo ago First seen · 148 lines · 31 tokens per session scan A ded2ea736f18

Subscribe to this mod's changes

api-design is a skill published in the GitHub repository pan94u/forge (40 stars, last pushed 16d ago), with no licence file. It adds 31 tokens to every session and 1,438 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

api-design

Use when settling the contract of an API you expose, before implementation: resources/URLs, REST vs GraphQL, versioning, one RFC 9457 error envelope, pagination, idempotency — emitted as OpenAPI 3.1. NOT implementing the endpoints (that is fastapi/nestjs/go/nodejs), NOT auth hardening (that is secure-coding), NOT…

ericrisco/rsc-harness · 105 tokens

api-design

Design REST APIs with consistent naming, error handling, versioning, and pagination. Use when designing a new API, reviewing an existing one, or writing an OpenAPI spec.

chandrudp29/skillhub · 38 tokens

api-design-principles

Master REST API design principles to build intuitive, scalable, and maintainable APIs. Use when designing new APIs, reviewing API specifications, or establishing API design standards.

thapaliyabikendra/ai-artifacts · 38 tokens

api-design

Design and implement RESTful APIs with proper routing, validation, error handling, and documentation. Use when building new API endpoints, designing API architecture, or improving existing APIs.

asgarovf/locusai · 37 tokens

api-connector-builder

Use when writing a client for someone else's REST or GraphQL API: auth flow choice and token refresh, pagination to exhaustion, retry-with-jitter on transient failures only, rate-limit-aware throttling. NOT inbound callbacks (that is webhooks), NOT chaining services (that is automation-flows), NOT designing your own…

ericrisco/rsc-harness · 80 tokens

geoserver-rest-api

Use when automating GeoServer management — programmatic workspace, datastore, and layer creation, style upload, service configuration via REST API. GeoServer REST API: manage GeoServer without GUI using curl, Python, or any HTTP client.

znlgis/opengis-skills · 53 tokens