api-design-patterns

api-design-patterns is a skill for Claude Code, Codex from huidge/hermes-skills. It costs 35 tokens per session (2,523 once invoked), scanned A, original, no licence file.

A guide to designing web APIs, including REST, GraphQL, and gRPC services. It covers choosing an approach, handling errors, securing access, managing versions, and limiting or paging requests.

In plain words
What is it for?
Use it when planning or reviewing an API, such as choosing an API style, designing authentication, defining errors, or adding versioning and request limits.
Why use it?
It helps avoid inconsistent APIs that are difficult to use, change, or secure. It also explains common decisions before they become costly problems.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it when planning or reviewing an API, such as choosing an API style, designing authentication, defining errors, or adding versioning and request limits.

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

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-design-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/huidge/hermes-skills/api-design-patterns/github.svg)](https://agentmods.dev/skills/huidge/hermes-skills/api-design-patterns)
Your own site
<a href="https://agentmods.dev/skills/huidge/hermes-skills/api-design-patterns"><img src="https://agentmods.dev/badge/skills/huidge/hermes-skills/api-design-patterns/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-patterns

Your own site · 80×15
<a href="https://agentmods.dev/skills/huidge/hermes-skills/api-design-patterns"><img src="https://agentmods.dev/badge/skills/huidge/hermes-skills/api-design-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,523 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.00035 $0.02523
Opus 5 $0.00017 $0.01262
Sonnet 5 $0.00007 $0.00505
Haiku 4.5 $0.00003 $0.00252

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

Security

Grade A, and why

api-design-patterns 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 8d 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.

software-development/api-design-patterns/SKILL.md · 328 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 8d ago First seen · 328 lines · 35 tokens per session scan A e2ad96d833c4

Subscribe to this mod's changes

api-design-patterns is a skill published in the GitHub repository huidge/hermes-skills (2 stars, last pushed 4mo ago), with no licence file. It adds 35 tokens to every session and 2,523 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-09-03.

Related

Other skills, from other repositories

api-design-assistant

Design and review APIs with suggestions for endpoints, parameters, return types, and best practices. Use when designing new APIs from requirements, reviewing existing API designs, generating API documentation, or getting implementation guidance. Supports REST APIs with focus on endpoint structure, request/response…

ArabelaTso/Skills-4-SE · 89 tokens

deprecated-api-updater

Identify and replace deprecated API usage in source code with modern alternatives. Use when: (1) Modernizing legacy codebases, (2) Upgrading framework versions (React, Django, Spring, etc.), (3) Fixing deprecation warnings in build output, (4) Preparing for major version upgrades, (5) Ensuring code uses current best…

ArabelaTso/Skills-4-SE · 110 tokens

framework-migration-assistant

Automatically migrate Python web applications between frameworks (Flask → FastAPI, Django → FastAPI). Use when you need to migrate an existing web application to a modern framework while preserving functionality. The skill analyzes the codebase, updates routes, handlers, configuration, dependency injection patterns…

ArabelaTso/Skills-4-SE · 92 tokens

spring-mvc-to-boot-migrator

Automatically migrate Spring MVC applications to Spring Boot. Use when you need to modernize a Spring MVC project to Spring Boot while preserving functionality. The skill analyzes the codebase, updates build configuration (Maven/Gradle), migrates annotations, converts XML configuration to Java/properties, updates…

ArabelaTso/Skills-4-SE · 101 tokens

module-component-generator

Generates complete modules and components from interface contracts and specifications. Use when Claude needs to build larger software components, implement interfaces, create service layers, or generate complete modules with multiple related classes. Supports Python (with type hints and protocols) and Java (with…

ArabelaTso/Skills-4-SE · 96 tokens

api-documentation-generator

Generate comprehensive API documentation from repository sources including OpenAPI specs, code comments, docstrings, and existing documentation. Use when documenting APIs, creating API reference guides, or summarizing API functionality from codebases. Extracts endpoint details, request/response schemas, authentication…

ArabelaTso/Skills-4-SE · 89 tokens