Skip to content
Skill

HTTP semantics

Guides an agent to design and review HTTP APIs with correct methods, status codes

HTTP semantics is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
5
Last commit
License
MIT
Listing updated

Similar skills

About HTTP semantics

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.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 8 files (106 KB) on GitHub on 2 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

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

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

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

Cursor docs on skills

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

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.

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

HTTP semantics 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.

More from ScaleDockHQ/better-supabase

  1. Apply the CommonMark 0.31.2 spec when parsing or rendering Markdown

    • Open source
    • 5 GitHub stars
    • Files and documents
  2. Publish Agent Cards and run agent-to-agent calls over the A2A 1.0 protocol

    • Open source
    • 5 GitHub stars
    • Developer tools
  3. Lets an agent stream runs, tool calls and shared state to user-facing apps over AG-UI 1.0

    • Open source
    • 5 GitHub stars
    • Developer tools
  4. Lets an AI agent drive Chrome or Chromium through a fast browser automation CLI

    • Open source
    • 5 GitHub stars
    • Browser automation
  5. Guides an agent to write, review and validate SKILL.md skills against the Agent Skills

    • Open source
    • 5 GitHub stars
    • Developer tools
  6. Write, place, migrate and review AGENTS.md instruction files for coding agents

    • Open source
    • 5 GitHub stars
    • Developer tools