Skip to content
Skill

Node HTTP

Rules for node:http servers that answer requests Node would otherwise handle itself

Node HTTP 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
14
Last commit
License
MIT
Listing updated

Similar skills

About Node HTTP

This skill covers building an HTTP server directly on Node's node:http module, without Express, Fastify or Koa. It focuses on requests that node:http answers on its own, such as unknown Expect headers, CONNECT requests, malformed request lines and unknown methods, and explains how to route those through your own handler so each gets the reply the spec calls for.

The guidance explains how to handle 'clientError' and 'connect' events, including writing replies by hand, ending sockets safely after a client reset, and keeping replies in order when pipelined requests arrive in one write. It also covers half-closed connections, reading a declared request body before replying, and timeouts for slow or missing bodies.

The skill includes guidance for in-process tests that create a server with short timeouts and check the 400, 408 and delayed-body behaviour. It expects a Node.js backend using node:http and is written for the backend section of a section-team repository.

When your agent uses it

Rules for a Node.js HTTP server built on node:http itself (http.createServer, no Express, Fastify or Koa): requests Node answers on its own, client errors, CONNECT, Expect, pipelining, half-close, reading a declared body before replying, and in-process tests for them. For the backend section.

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 1 file (4 KB) on GitHub on 1 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 section-team plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add afel6/section-team
/plugin install section-team@section-team

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/afel6/section-team.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/node-http &&
cp -R "$tmp/skills/node-http" ~/.claude/skills/node-http &&
rm -rf "$tmp"

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

Claude Code docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/afel6/section-team.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/node-http &&
cp -R "$tmp/skills/node-http" ~/.agents/skills/node-http &&
rm -rf "$tmp"

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

Codex docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/afel6/section-team.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/node-http &&
cp -R "$tmp/skills/node-http" ~/.cursor/skills/node-http &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/node-http 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/afel6/section-team.git --path skills/node-http

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

Gemini CLI docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/afel6/section-team.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/node-http &&
cp -R "$tmp/skills/node-http" ~/.copilot/skills/node-http &&
rm -rf "$tmp"

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

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/afel6/section-team.git

Then copy section-team/skills/node-http into your agent's skills folder as node-http. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Client error handling
Explains how to answer 'clientError' events with the reply the spec requires, using the error code to choose the status.
CONNECT and Expect handling
Covers replying to CONNECT requests as ordinary requests and handling unknown Expect headers through checkExpectation.
Pipelining and half-close
Describes keeping replies in order for pipelined requests and letting clients that half-close still receive a response.
Body and timeout rules
Sets out when to read a declared body before replying and how to respect server.requestTimeout for slow bodies.
In-process test patterns
Shows how to test timeout and unknown-method behaviour on a short-timeout server created within the test.

Good for

  • Make a node:http server answer unknown HTTP methods with the correct reply
  • Handle CONNECT requests on a plain Node server without opening a tunnel
  • Respond correctly to pipelined requests that arrive in a single write
  • Write tests for 408 timeouts on slow request bodies

Node HTTP FAQ

Which frameworks does Node HTTP apply to?

It is written for servers built on node:http itself, with http.createServer, and explicitly excludes Express, Fastify and Koa.

Does Node HTTP need any scripts or tools?

The skill is a single SKILL.md file with no scripts, and it does not set allowed tools.

How do I install Node HTTP in Claude Code?

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

Does Node HTTP 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 Node HTTP?

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 Node HTTP?

The closest alternatives to Node HTTP are Backend patterns, Error handling, API design, Nuxt and Backend nestjs.

Where this comes from

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

More from afel6/section-team

  1. Reviews and installs a Claude skill from a GitHub link into a team setup

    • Open source
    • 14 GitHub stars
    • Developer tools
  2. Lays out a frozen foundation note and vertical build slices for multi-area work

    • Open source
    • 14 GitHub stars
    • Developer tools