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.
npx skills add afel6/section-team --skill node-httpgit clone --depth 1 https://github.com/afel6/section-teamWrote 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.
[](https://agentmods.dev/skills/afel6/section-team/node-http)<a href="https://agentmods.dev/skills/afel6/section-team/node-http"><img src="https://agentmods.dev/badge/skills/afel6/section-team/node-http/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.
<a href="https://agentmods.dev/skills/afel6/section-team/node-http"><img src="https://agentmods.dev/badge/skills/afel6/section-team/node-http.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00998 |
| Opus 5.5 | $0.00000 | $0.00399 |
| Sonnet 5.5 | $0.00000 | $0.00200 |
| Haiku 4.5 | $0.00000 | $0.00100 |
Grade A, and why
node-http 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 7d 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.
How it starts
The opening of the file, as written. The whole thing — 16 lines — stays where its author put it; the contents beside it link to each section on GitHub.
node:http servers
node:http answers some requests itself (an unknown Expect: a bare 417; CONNECT: the socket closes with no reply; a method it does not know or a broken request line: a bare 400): where the spec says how every request is answered, send those through your handler too (on 'clientError' a handler given (err, socket) answers the last: err.code, such as HPE_INVALID_METHOD, says why and err.rawPacket holds the bytes the parser was given, which can begin with earlier requests sent in the same write (pipelining); it writes the reply to the socket by hand and ends it, after the replies to the requests that had fully arrived before the refused one, and at once for an error in a request still arriving (a broken body, or one that timed out); the same order holds on 'connect' (res.assignSocket throws while an earlier reply holds the socket): test a valid request and an unknown method, and a valid request and a CONNECT, each pair sent in one write; with a listener set, Node answers no client error itself, so answer each code: the spec's reply where the spec covers it, else the one Node would have sent (400; 431 for HPE_HEADER_OVERFLOW; 408 for ERR_HTTP_REQUEST_TIMEOUT), and when socket.writable is false or the code is ECONNRESET write nothing and call socket.destroy(); server.on('checkExpectation', handler); on 'connect' when the spec answers CONNECT as an ordinary request rather than opening a tunnel, run the handler on a new http.ServerResponse(req) given the socket by res.assignSocket(socket), with res.shouldKeepAlive = false, socket.on('error', () => socket.destroy()) and socket.end() on the reply's 'finish', else a client reset crashes the process and the socket never closes).
A client that ends its sending side once its request is out (a half-close) gets its reply too: set server.httpAllowHalfOpen = true, or Node closes the connection with no reply whenever the handler waits.
A reply you write on these paths keeps every rule the spec gives replies: where the spec has the whole request body read before any reply, first count the bytes the request declares and drop them, keeping none the reply does not need (its Content-Length, or each chunk by its size up to the zero chunk; on 'clientError' err.rawPacket holds what has come, and the rest comes as 'data' once you replace the socket's own 'data' and 'end' listeners (Node's 'end' listener ends the socket, or marks an earlier reply as the last, at a half-close); on 'connect' the body starts in head and goes on at the socket), reply at once when it declares none, and send no reply before every declared byte has come unless the body breaks: a body that cannot come (a chunk size that is not hex, or the client ends its side first) is a broken body, answered at once as above, and a body still on its way waits for the limit Node keeps for every request, server.requestTimeout (300 s by default, 0 for none), never a shorter one of your own, which would answer a body still on its way; at that limit answer as Node does on its own sockets (408, written by hand, socket ended).
On 'connect' Node no longer times the socket, and on 'clientError' it raises one more client error for that socket (ERR_HTTP_REQUEST_TIMEOUT once server.headersTimeout has passed, 60 s by default): ignore later errors on a socket you took over (a WeakSet of them), drop its 'timeout' listeners (socket.removeAllListeners('timeout')), or Node's keep-alive timer closes it with no reply keepAliveTimeout + 1 s after an earlier reply on that connection, and keep your own timer there at server.requestTimeout, cleared when the socket closes.
Test it in-process on a server the test creates with http.createServer({ headersTimeout: 300, requestTimeout: 1000, connectionsCheckingInterval: 50 }): an unknown method whose body comes 0.5 s after its headers gets its reply after the body, and one whose body never comes gets the 408 only after 1 s (1 s is the limit the test sets: assert it as a time the spec names, with a margin that is a fraction of it); write those two framings in a few lines, not a general parser.
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.
- 7d ago First seen · 16 lines · 0 tokens per session scan A ab59ec1b6d63
node-http is a skill published in the GitHub repository afel6/section-team (14 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 998 tokens. 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-11-22.
node-http compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| node-httpafel6/section-team | Skill | 14 | yesterday | MIT | A | 0 | Claude Code |
| api-design-reviewershahtuyakov/claude-setup | Skill | 13 | 11mo ago | MIT | A | 82 | Claude Code |
| spine-reviewtonone-ai/tonone | Skill | 84 | 2d ago | MIT | A | 52 | Claude Code |
| engineerNexaDuo/mARC | Skill | 7 | 2d ago | MIT | A | 30 | Claude Code |
| architectNexaDuo/mARC | Skill | 7 | 2d ago | MIT | A | 41 | Claude Code, Codex |
| node-backendshahtuyakov/claude-setup | Skill | 13 | 11mo ago | MIT | A | 55 | Claude Code, Codex |
| system-designshahtuyakov/claude-setup | Skill | 13 | 11mo ago | MIT | A | 54 | Claude Code, Codex |