Websocket Hub Patterns

v1.0.0

Horizontally-scalable WebSocket hub pattern with lazy Redis subscriptions, connection registry, and graceful shutdown. Use when building real-time WebSocket servers that scale across multiple instances. Triggers on WebSocket hub, WebSocket scaling, connection registry, Redis WebSocket, real-time gateway, horizontal scaling.

0· 792·0 current·0 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The name/description (WebSocket hub + Redis coordination) match the content: Go code patterns for connection registry, lazy Redis subscriptions, message forwarding, and graceful shutdown. No unexplained credentials, binaries, or unrelated capabilities are requested.
Instruction Scope
SKILL.md contains design explanation and sample Go code only. It does not instruct the agent to read arbitrary files, access unrelated environment variables, exfiltrate data, or contact external endpoints beyond developer install hints. All shown actions are scoped to implementing a WebSocket hub.
Install Mechanism
There is no formal install spec in the registry entry (instruction-only). README shows developer install hints (npx, copying into local skill folders). No downloads or extract-from-URL install steps that would write or execute arbitrary remote code. This is low-risk for the platform.
Credentials
The skill declares no required env vars or credentials. The Go patterns reference a Redis client (expected for Redis-backed coordination) but do not request credentials in the skill metadata—credential needs would arise only when a developer implements the pattern (e.g., providing Redis endpoint/credentials), which is proportionate to the purpose.
Persistence & Privilege
The skill is not always-enabled and is user-invocable. It does not request persistent system-wide configuration changes or access to other skills' configs. Autonomous invocation is allowed (platform default) but reasonable for an instruction-only developer pattern.
Assessment
This skill is a reusable design pattern (sample Go code) for building horizontally-scalable WebSocket hubs with Redis; it is internally consistent. Before using in production: verify the code fits your auth model (you will need to supply Redis credentials and secure client auth), review and test error handling/timeouts/rate-limiting, and confirm the source is trustworthy (homepage is missing and the registry source is 'unknown' — prefer code from a known repo or audit the files you copy). The README references npx/copy-based installation hints rather than a vetted package—treat any downloaded code like third-party code and review it before running in your environment.

Like a lobster shell, security has layers — review code before you run it.

latestvk970ayy4qk5cq21ns0sdeb6ya580xh66

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Comments