REST API Endpoint Designer

REST API Endpoint Designer is a skill for Claude Code, Codex from Notysoty/openagentskills. It costs 20 tokens per session (1,865 once invoked), scanned A, original, MIT.

A tool that designs REST API endpoints for a resource or feature, including URLs, HTTP methods, data formats, response codes, and error formats. REST is a common way for software systems to communicate over the web.

In plain words
What is it for?
Use it when creating or reviewing endpoints, such as create, read, update, and delete operations for a resource, and when producing an OpenAPI 3.1 specification.
Why use it?
It helps resolve naming and response-design questions before implementation and keeps the API description consistent.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; mentions Codex.

Good fit Use it when creating or reviewing endpoints, such as create, read, update, and delete operations for a resource, and when producing an OpenAPI 3.1 specification.

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

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 REST API Endpoint Designer

README.md
[![agentmods](https://agentmods.dev/badge/skills/notysoty/openagentskills/api-endpoint-designer.svg)](https://agentmods.dev/skills/notysoty/openagentskills/api-endpoint-designer)
Your own site
<a href="https://agentmods.dev/skills/notysoty/openagentskills/api-endpoint-designer"><img src="https://agentmods.dev/badge/skills/notysoty/openagentskills/api-endpoint-designer.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,865 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.00020 $0.01865
Opus 5 $0.00010 $0.00932
Sonnet 5 $0.00004 $0.00373
Haiku 4.5 $0.00002 $0.00186

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

Security

Grade A, and why

REST API Endpoint 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 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-endpoint-designer/SKILL.md · 248 lines

How it starts

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

REST API Endpoint Designer

What this skill does

This skill directs the agent to design RESTful API endpoints for a given resource or feature — including URL structure, HTTP methods, request/response schemas, status codes, and error formats. It outputs a complete OpenAPI 3.1 YAML snippet that can be dropped directly into your API spec, along with implementation notes.

Use this when starting a new API resource, reviewing an existing endpoint design, or when you want a second opinion on naming conventions and status code choices.

How to use

Claude Code / Cursor / Codex

Copy this file to .agents/skills/api-endpoint-designer/SKILL.md in your project root (for Claude Code), or add the instructions to your .cursorrules (for Cursor).

Then ask:

  • "Design the REST endpoints for a blog post resource using the REST API Endpoint Designer skill."
  • "I need CRUD endpoints for a team-members resource. Use the REST API Endpoint Designer skill."

Provide the resource name, any existing conventions in your API (e.g., base path, auth method), and any fields the resource should have.

The Prompt / Instructions for the Agent

When asked to design REST API endpoints, follow these rules:

1. URL naming conventions

  • Use plural nouns for resource collections: /users, /orders, /blog-posts
  • Use kebab-case for multi-word resources: /blog-posts, not /blogPosts
  • Use path parameters for specific resources: /users/{userId}
  • Use nested resources only when the relationship is truly hierarchical: /users/{userId}/orders
  • Avoid verbs in URLs — the HTTP method is the verb: POST /sessions not POST /login
  • Use query parameters for filtering, sorting, and pagination: GET /users?role=admin&sort=created_at&order=desc&page=2&limit=20

2. HTTP method selection

Action Method Notes
List resources GET Paginated, filterable
Get one resource GET By ID in path
Create POST Body contains new resource
Full replace PUT Idempotent — replaces entire resource
Partial update PATCH Only fields provided are updated
Delete DELETE Returns 204 No Content on success

Read the full file on GitHub · 248 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. 7d ago First seen · 248 lines · 20 tokens per session scan A b5faff96e70f

Subscribe to this mod's changes

REST API Endpoint Designer is a skill published in the GitHub repository Notysoty/openagentskills (9 stars, last pushed 24d ago), licensed MIT. It adds 20 tokens to every session and 1,865 once invoked, about $0.0001 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

fastapi-expert

Expert-level FastAPI development for high-performance Python APIs with async support. Use when the user mentions Python, API, async, REST, OpenAPI, or Pydantic, or when the task involves FastAPI Features.

personamanagmentlayer/pcl · 49 tokens

openapi-expert

Expert-level OpenAPI/Swagger specification for API design, documentation, and code generation. Use when the user mentions swagger, API specs, REST, API design, or documentation, or when the task involves OpenAPI Specification, Webhooks, or Polymorphism.

personamanagmentlayer/pcl · 57 tokens

api-design-patterns

Design robust APIs with RESTful patterns, GraphQL schemas, versioning strategies, and error handling conventions. Supports OpenAPI/Swagger documentation and SDK generation patterns. Triggers on API design, schema definition, endpoint architecture, or developer experience requests.

organvm-iv-taxis/a-i--skills · 54 tokens

api-design

Design REST API contracts that are consistent, evolvable, and easy to consume.

zhouguoqing/QianYuan.AIAgenticFramework · 20 tokens

construtor-de-api

Construção e documentação de APIs REST e GraphQL: design de endpoints, versionamento, autenticação, tratamento de erros, documentação OpenAPI 3.0 e boas práticas de segurança e performance.

ricneves-ai/flowgrammers-skills · 46 tokens

api-testing

REST/GraphQL API testing with automated validation — test endpoints, validate responses, check status codes, and ensure API contracts.

kevinnft/ai-agent-skills · 27 tokens