websocket-realtime

websocket-realtime is a skill for Claude Code, Codex from FutureJJ/claude-skills. It costs 41 tokens per session (188 once invoked), scanned A, a copy of shell-scripting, MIT.

Guidance for building applications that communicate instantly over WebSockets, a network connection that stays open for two-way updates. It also covers Socket.IO, which is a library for real-time browser and server communication.

In plain words
What is it for?
Use it when adding live updates, chat, presence indicators, rooms, reconnection behavior, or other real-time features.
Why use it?
It helps you handle common real-time concerns such as reconnecting after a dropped connection, tracking who is online, organizing users into rooms, and scaling the service.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when adding live updates, chat, presence indicators, rooms, reconnection behavior, or other real-time features.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/futurejj/claude-skills/websocket-realtime
Install

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.

Any agent
npx skills add FutureJJ/claude-skills --skill websocket-realtime
Clone the repo
git clone --depth 1 https://github.com/FutureJJ/claude-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for websocket-realtime

README.md
[![agentmods](https://agentmods.dev/badge/skills/futurejj/claude-skills/websocket-realtime/github.svg)](https://agentmods.dev/skills/futurejj/claude-skills/websocket-realtime)
Your own site
<a href="https://agentmods.dev/skills/futurejj/claude-skills/websocket-realtime"><img src="https://agentmods.dev/badge/skills/futurejj/claude-skills/websocket-realtime/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.

agentmods 80×15 button for websocket-realtime

Your own site · 80×15
<a href="https://agentmods.dev/skills/futurejj/claude-skills/websocket-realtime"><img src="https://agentmods.dev/badge/skills/futurejj/claude-skills/websocket-realtime.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 188 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 86% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.00188
Opus 5 $0.00020 $0.00094
Sonnet 5 $0.00008 $0.00038
Haiku 4.5 $0.00004 $0.00019

Measured 9d ago against content hash fb2160613235, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

websocket-realtime 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 9d 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.

Origin

This is a copy

86% identical to shell-scripting — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/websocket-realtime/SKILL.md · 29 lines

What it actually says

Websocket Realtime

You are an expert in websocket realtime focused on production-grade solutions.

Core Principles

  • Follow industry best practices and proven patterns
  • Optimize for maintainability and reliability
  • Document decisions and trade-offs
  • Measure before optimizing

Anti-Patterns

  • Over-engineering simple solutions
  • Ignoring error handling and edge cases
  • Copying patterns without understanding context
  • Premature optimization without profiling

Reference Guide

Topic Reference Load When
Core patterns references/patterns.md Common patterns and best practices
Advanced topics references/advanced.md Complex scenarios and optimization
Files

What ships with it

2 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.

Changes

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.

  1. 9d ago First seen · 29 lines · 41 tokens per session scan A fb2160613235

Subscribe to this mod's changes

websocket-realtime is a skill published in the GitHub repository FutureJJ/claude-skills (3 stars, last pushed 6mo ago), licensed MIT. It adds 41 tokens to every session and 188 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to shell-scripting, differing in 8 lines, and is treated as a copy.

Related

Other skills, from other repositories

api-sculptor

Designs and implements APIs: REST, GraphQL, gRPC, and WebSocket. Produces OpenAPI 3.1 specs, GraphQL SDL schemas, Protocol Buffer definitions, and working server implementations. Use this skill when the user asks about API design, endpoint structure, schema definition, versioning strategy, pagination, authentication…

mturac/hermes-supercode-skills · 143 tokens

auth-architect

Designs and implements authentication and identity systems. Covers OAuth2 and OIDC flows including authorization code, PKCE, and client credentials; JWT design including RS256 vs HS256, key rotation, token blacklisting, and refresh token strategy; RBAC and ABAC modeling; SSO with Google, GitHub, and SAML 2.0; session…

mturac/hermes-supercode-skills · 166 tokens

swift-networking

Builds a protocol-based async/await networking layer with URLSession, testable abstractions, error handling, and mock support for Swift projects. Use when user says "add networking", "create an API layer", "fetch data from API", "build a network service", "add URLSession", "implement HTTP requests", "create a REST…

jeremieb/swift-unit-test-instructions · 82 tokens

offensive-api-abuse

Advanced API exploitation methodology focused on business logic abuse and sophisticated attack patterns that bypass traditional security controls. Covers business logic bypass through API call chaining and workflow manipulation. Addresses GraphQL-specific attacks including batching for credential brute-force, query…

SnailSploit/Claude-Red · 184 tokens

offensive-graphql

Offensive methodology for attacking GraphQL APIs during penetration tests and bug bounty engagements. Covers the full attack lifecycle: endpoint discovery, introspection abuse and blind schema reconstruction when introspection is disabled, authentication and authorization bypass through Relay node IDs and nested…

SnailSploit/Claude-Red · 219 tokens

telegram

Send Telegram messages, files, and alerts via bot API; read replies; ask questions with inline buttons and wait for the answer (approve-from-phone). Supports multiple bots and named chat targets. Use when the user wants to send a Telegram message or alert, get notified on Telegram when a task finishes or needs input…

sanjay3290/ai-skills · 114 tokens