# HTTP semantics

> HTTP semantics is an open-source agent skill for developer tools. Guides an agent to design and review HTTP APIs with correct methods, status codes. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ScaleDockHQ/better-supabase/tree/main/.agents/skills/http-semantics
- **Repository:** https://github.com/scaledockhq/better-supabase
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** http-semantics
- **Collection:** https://github.com/ScaleDockHQ/better-supabase
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill gives the agent a reference-backed workflow for designing and reviewing HTTP APIs and servers against the current HTTP Semantics and HTTP Caching specifications. It covers choosing safe and idempotent methods, mapping outcomes to status codes with their required headers, adding validators and conditional requests, setting Vary and Cache-Control policies for browser and shared caches, and defining new header fields as Structured Fields.

The skill also points the agent to companion material for range requests, content negotiation, lifecycle fields such as Deprecation, Sunset, Link and Prefer, and the upgrade path from older RFC 7230-7235 and RFC 8941 documents. It includes a checklist to run before declaring work done, and cross-references separate skills for error bodies, rate limit headers and OpenAPI descriptions.

The skill is plain instructions with no scripts. It expects the user to describe the API's resources, operations, caches in the request path and authentication model, and it works with any language or framework since it concerns the wire protocol.

## When your agent uses it

> HTTP Semantics RFC 9110, Caching RFC 9111 and RFC 9112 HTTP/1.1: methods, status codes, conditional requests, caching and extension fields. Covers RFC 9110 and RFC 9111, RFC 10008 QUERY, RFC 9651 Structured Fields, RFC 8288 Web Linking, RFC 9745 Deprecation, RFC 8594 Sunset, RFC 9727 api-catalog, RFC 7240 Prefer, RFC 7838 Alt-Svc, RFC 8297 Early Hints, RFC 8942 Client Hints, RFC 9211 Cache-Status, RFC 9209 Proxy-Status, RFC 9213 Targeted Cache-Control, RFC 9218 Priority, RFC 5789 PATCH, RFC 7578 multipart/form-data, RFC 9652 Link-Template and RFC 9842 Compression Dictionary Transport. Tracks Idempotency-Key draft-07 and Resumable Uploads draft-12. Use when designing or reviewing an HTTP API. Upgrades from RFC 7230-7235.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ScaleDockHQ/better-supabase/tree/HEAD/.agents/skills/http-semantics)
- [License: MIT](https://github.com/ScaleDockHQ/better-supabase/tree/HEAD/.agents/skills/http-semantics)

## Features

- **Method selection rules:** Maps operations to GET, QUERY, PUT, POST and DELETE according to safety and idempotency.
- **Status code requirements:** Lists the headers that specific responses must carry, such as Allow on 405 and WWW-Authenticate on 401.
- **Conditional request handling:** Covers strong and weak ETags, If-Match, If-None-Match and the precondition evaluation order.
- **Cache-Control policy guidance:** Explains when to use private, no-store, s-maxage and Vary for browser and shared caches.
- **Structured Field definitions:** Describes how to define new header fields as lists, dictionaries or items under RFC 9651.
- **Lifecycle and discovery headers:** Covers Link, Deprecation, Sunset, api-catalog and Prefer usage.
- **Pre-completion checklist:** Provides a verification list that checks methods, status codes, validators and caching before work is finished.

## Good for

- Review an API's use of GET and POST for unsafe actions
- Add ETags and If-Match to update endpoints to prevent lost updates
- Pick the correct status codes for create, update and error responses
- Set Cache-Control headers for a CDN in front of an API
- Define a new custom header using Structured Field types
- Mark an endpoint as deprecated with a Sunset date

## Install

### Claude Code

This skill ships in the `better-supabase` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ScaleDockHQ/better-supabase
/plugin install better-supabase@better-supabase
```

Or copy only this skill to `~/.claude/skills/http-semantics`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/http-semantics &&
cp -R "$tmp/.agents/skills/http-semantics" ~/.claude/skills/http-semantics &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/http-semantics` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/http-semantics` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/http-semantics &&
cp -R "$tmp/.agents/skills/http-semantics" ~/.agents/skills/http-semantics &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/http-semantics` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/http-semantics` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/http-semantics &&
cp -R "$tmp/.agents/skills/http-semantics" ~/.cursor/skills/http-semantics &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/http-semantics` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ScaleDockHQ/better-supabase.git --path .agents/skills/http-semantics
```

Or copy the folder to `~/.gemini/skills/http-semantics` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/http-semantics`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/http-semantics &&
cp -R "$tmp/.agents/skills/http-semantics" ~/.copilot/skills/http-semantics &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/http-semantics` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git
```

Then copy `better-supabase/.agents/skills/http-semantics` into your agent's skills folder as `http-semantics`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Which HTTP specifications does HTTP semantics follow?

It follows RFC 9110 and RFC 9111 as the current core, RFC 9112 for message syntax, and current extension RFCs such as RFC 10008 QUERY and RFC 9651 Structured Fields, while treating RFC 7230-7235 as legacy.

### Does the skill run any scripts or change my code?

No scripts are included. It is a set of instructions and reference files that guide the agent when designing or reviewing an HTTP API.

### Should new APIs use the Idempotency-Key header?

The skill says not to add it to new APIs, because it tracks an expired draft, unless the user specifically requires it.

### Which tools or clients does HTTP semantics need?

It needs no specific tools. It is a plain SKILL.md folder that follows the shared agent skills format.

### How do I install HTTP semantics in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/http-semantics to use it in all your projects, or to .claude/skills/http-semantics in one project. Or install the better-supabase plugin, which includes it: /plugin marketplace add ScaleDockHQ/better-supabase, then /plugin install better-supabase@better-supabase.

### Does HTTP semantics run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use HTTP semantics?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to HTTP semantics?

The closest alternatives to HTTP semantics are API design, API design, Go API design, API versioning helper and API design edho ferdian.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [API design](https://ai-powered.com/skills/api-design-nabwinsaud): API design is an open-source agent skill for developer tools.
- [API design](https://ai-powered.com/skills/api-design): API design is an open-source agent skill for developer tools.
- [Go API design](https://ai-powered.com/skills/go-api-design): Go API design is an open-source agent skill for developer tools.
- [API versioning helper](https://ai-powered.com/skills/api-versioning-helper): API versioning helper is an open-source agent skill for developer tools.
- [API design edho ferdian](https://ai-powered.com/skills/api-design-edho-ferdian): API design edho ferdian is an open-source agent skill for developer tools.
- [Backend patterns](https://ai-powered.com/skills/backend-patterns): Backend patterns is an open-source agent skill for developer tools.
- [HTTP cookies](https://ai-powered.com/skills/http-cookies): HTTP cookies is an open-source agent skill for security.
- [API](https://ai-powered.com/skills/api): API is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/http-semantics
