websocket-management
This tool manages production WebSocket connections by enforcing limits, mapping users, and removing stale connections via ping/pong checks.
Install
mkdir -p .claude/skills/websocket-management && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/8185" && unzip -o skill.zip -d .claude/skills/websocket-management && rm skill.zipInstalls to .claude/skills/websocket-management
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Production-grade WebSocket connection management with connection limits, user-to-connection mapping, ping/pong health verification, and automatic stale connection cleanup.Key capabilities
- →Enforce connection limits
- →Map users to connections
- →Perform ping/pong health checks
- →Clean up stale connections
How it works
It tracks connections by lobby and user ID, using ping/pong messages to verify health and remove stale sockets.
Inputs & outputs
When to use websocket-management
- →Managing active WebSocket users
- →Cleaning up stale sockets
- →Monitoring connection health
About websocket-management
Provides tools for production WebSocket management, including enforcing connection limits and maintaining user-to-connection mappings. Includes ping/pong health checks for stale connection cleanup.
Production-grade WebSocket connection management with connection limits, user-to-connection mapping, ping/pong health verification, and automatic stale connection cleanup.
When not to use it
- →When connection state is not required
Limitations
- →Requires manual cleanup logic
- →Ping/pong interval must be configured
How it compares
It provides a production-grade management layer for WebSockets instead of basic connection handling.
Compared to similar skills
websocket-management side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| websocket-management (this skill) | 0 | 6mo | No flags | Intermediate |
| distributed-tracing | 5 | 2mo | No flags | Intermediate |
| common-technical-practices | 2 | 3mo | No flags | Intermediate |
| azure-eventhub-dotnet | 1 | 3mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by dadbodgeoff
View all by dadbodgeoff →You might also like
distributed-tracing
wshobson
Implement distributed tracing with Jaeger and Tempo to track requests across microservices and identify performance bottlenecks. Use when debugging microservices, analyzing request flows, or implementing observability for distributed systems.
common-technical-practices
TencentBlueKing
通用技术实践指南,涵盖 AOP 切面、分布式锁、重试机制、参数校验、性能监控、定时任务、审计日志等后端开发中的常见技术实践。当用户需要实现横切关注点、处理并发控制、配置重试策略、添加性能监控或实现审计功能时使用。
azure-eventhub-dotnet
microsoft
Azure Event Hubs SDK for .NET. Use for high-throughput event streaming: sending events (EventHubProducerClient, EventHubBufferedProducerClient), receiving events (EventProcessorClient with checkpointing), partition management, and real-time data ingestion. Triggers: "Event Hubs", "event streaming", "EventHubProducerClient", "EventProcessorClient", "send events", "receive events", "checkpointing", "partition".
azure-monitor-opentelemetry-ts
microsoft
Instrument applications with Azure Monitor and OpenTelemetry for JavaScript (@azure/monitor-opentelemetry). Use when adding distributed tracing, metrics, and logs to Node.js applications with Application Insights.
python-observability
wshobson
Python observability patterns including structured logging, metrics, and distributed tracing. Use when adding logging, implementing metrics collection, setting up tracing, or debugging production systems.
aspire
adamint
Orchestrates Aspire distributed applications using the Aspire CLI for running, debugging, and managing distributed apps. USE FOR: aspire start, aspire stop, start aspire app, aspire describe, list aspire integrations, debug aspire issues, view aspire logs, add aspire resource, aspire dashboard, upda