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 agents-inc/skills --skill web-realtime-socket-iogit clone --depth 1 https://github.com/agents-inc/skillsWrote 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/agents-inc/skills/web-realtime-socket-io)<a href="https://agentmods.dev/skills/agents-inc/skills/web-realtime-socket-io"><img src="https://agentmods.dev/badge/skills/agents-inc/skills/web-realtime-socket-io/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/agents-inc/skills/web-realtime-socket-io"><img src="https://agentmods.dev/badge/skills/agents-inc/skills/web-realtime-socket-io.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00037 | $0.02770 |
| Opus 5.5 | $0.00015 | $0.01108 |
| Sonnet 5.5 | $0.00007 | $0.00554 |
| Haiku 4.5 | $0.00004 | $0.00277 |
Grade A, and why
web-realtime-socket-io 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 1mo 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 — 277 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Socket.IO Real-Time Communication Patterns
Quick Guide: Socket.IO is a protocol layered over WebSocket, not an implementation of it — its client and a plain WebSocket server cannot talk to each other in either direction. What the layer buys is transport fallback, automatic reconnection, rooms, namespaces and acknowledgments, for about 14.5KB gzipped. The facts that change the answer:
authaccepts a function that re-runs on every reconnection,timeoutandackTimeoutare different clocks, andsocket.recovered(v4.6.0+) tells you whether missed events were replayed or a full state refresh is owed.
Detailed Resources:
- examples/core.md — typed socket factory, connection and event hooks, emit-with-ack, offline queue, volatile events, Manager multiplexing
- examples/authentication.md — token auth, refresh on reconnect, per-namespace auth, cookie auth, auth state machine
- examples/rooms.md — room manager and hooks, multi-room chat, namespace sockets, conditional namespace access
- reference.md — client options, socket and manager events, disconnect reasons, comparison table, checklists
Which path applies
- One connection to the default namespace —
io(url, options)creates the socket and its Manager together. This is the shape in examples/core.md and covers most apps. - Several namespaces over one connection — construct
new Manager(url)yourself and callmanager.socket("/chat")per namespace. The namespaces share a single transport and can each carry their ownauth, which is what makes per-namespace authorization possible. See examples/rooms.md.
Calling io() more than once against the same URL opens a second transport rather than multiplexing — the Manager is what shares one.
<critical_requirements>
Before writing Socket.IO code
Declare ServerToClientEvents and ClientToServerEvents and type the socket with them. Event names are strings at runtime, so this is what turns "mesage" from a listener that never fires into a compile error.
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago Changed · -47 lines 18cc7a00ff90
- 1mo ago First seen · 324 lines · 37 tokens per session scan A c5a0e4a95cf1
web-realtime-socket-io is a skill published in the GitHub repository agents-inc/skills (24 stars, last pushed yesterday), licensed MIT. It adds 37 tokens to every session and 2,770 once invoked, about $0.0001 per session on Opus 5.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-09-05.
Other skills, from other repositories
moai-platform-auth
Authentication and authorization specialist covering Auth0, Clerk, and Firebase Auth. Use when implementing authentication, MFA, SSO, passkeys, WebAuthn, social login, or security features.
api-design
Use this skill when designing, implementing, or reviewing an HTTP API — endpoints, request and response shapes, errors, pagination, versioning, and authorization. Triggers: user says "API", "endpoint", "REST", "route", "status code", "pagination", "request body", "response shape", "OpenAPI", "versioning"…
nextjs-modern
Build, migrate, and debug Next.js 16 App Router applications with React 19, Server Components, Server Actions, explicit caching, and production deployment. Use when implementing Next.js routes, upgrading to the latest stable Next.js, or fixing rendering and cache behavior.
authentication-sessions
Implement application sign-in, sessions and identity integration with explicit account/tenant authorization. Use when building OAuth/OIDC, passkeys, password login or session renewal; use security-scanner for a requested defensive review.
mcp-development
Build and maintain MCP servers and clients with versioned protocol contracts, typed schemas and reliable lifecycle handling. Use when exposing tools/resources/prompts over MCP, selecting a transport or fixing reconnect/cancellation behavior; do not assume all protocol versions share the same session model.
php-laravel
Build and upgrade PHP/Laravel applications with validated requests, policy authorization and reliable jobs/data access. Use when implementing Laravel routes, Eloquent models or queues; preserve existing project conventions and runtime compatibility.