rest-api-principles

rest-api-principles is a skill for Claude Code, Codex from bentsolheim/public-skills. It costs 61 tokens per session (1,349 once invoked), scanned A, original, no licence file.

A set of principles for designing REST APIs, which are web interfaces that let software work with data and actions. It covers resources, URLs, versions, collections, methods, and response status codes.

In plain words
What is it for?
Use it when designing, adding, or reviewing REST API endpoints and deciding how concepts should map to resources and URLs.
Why use it?
It helps keep API endpoints consistent and makes domain concepts easier for clients and developers to understand.

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 designing, adding, or reviewing REST API endpoints and deciding how concepts should map to resources and URLs.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bentsolheim/public-skills/rest-api-principles"><img src="https://agentmods.dev/badge/skills/bentsolheim/public-skills/rest-api-principles.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,349 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.00061 $0.01349
Opus 5 $0.00030 $0.00674
Sonnet 5 $0.00012 $0.00270
Haiku 4.5 $0.00006 $0.00135

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

Security

Grade A, and why

rest-api-principles 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 10d 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/rest-api-principles/SKILL.md · 81 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. 10d ago First seen · 81 lines · 61 tokens per session scan A 4666accedf0b

Subscribe to this mod's changes

rest-api-principles is a skill published in the GitHub repository bentsolheim/public-skills (10 stars, last pushed 13d ago), with no licence file. It adds 61 tokens to every session and 1,349 once invoked, about $0.0003 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

wikipedia

Search and read Wikipedia via x wkp — MediaWiki API, no API key, zero install; query, extract, suggest, and DDG route in one module. Load for wiki, wikipedia, encyclopedia lookup, article summary.

x-cmd/x-cmd · 49 tokens

cve

Look up CVE records via x cve — cached, zero-API-key, daily xz TSV. Load for cve, vulnerability id, kev, epss, nvd, cvelist, or security advisory.

x-cmd/x-cmd · 49 tokens

claude-api

Build, debug, and optimize Claude API / Anthropic SDK apps. Apps built with this skill should include prompt caching. Also handles migrating existing Claude API code between Claude model versions (4.5 → 4.6, 4.6 → 4.7, retired-model replacements). TRIGGER when: code imports anthropic/@anthropic-ai/sdk; user asks for…

warpdotdev/warp · 193 tokens

api-less-website

api-less-website skill — placeholder, documentation to be added. Do not load as a real skill yet.

x-cmd/x-cmd · 27 tokens

angular-http-client

Integrate HttpClient, Interceptors, and API interactions in Angular. Use when integrating HttpClient, writing interceptors, or handling API calls in Angular.

HoangNguyen0403/agent-skills-standard · 35 tokens

system-design-integration-patterns

Choose distributed integration and evolution patterns by the constraint each removes: outbox, CQRS, event sourcing, saga orchestration or choreography, leader election, sidecar, anti-corruption layer, and strangler-fig migration. Use when services must stay consistent across a boundary.

HoangNguyen0403/agent-skills-standard · 62 tokens