🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Websocket Engineer

by @veeramanikandanr48

Use when building real-time communication systems with WebSockets or Socket.IO. Invoke for bidirectional messaging, horizontal scaling with Redis, presence tracking, room management.

Versionv0.1.0
Installs17
πŸ”’ Constraints

MUST DO

  • Implement automatic reconnection with exponential backoff
  • Use sticky sessions for load balancing
  • Handle connection state properly (connecting, connected, disconnecting)
  • Implement heartbeat/ping-pong to detect dead connections
  • Authenticate connections before allowing events
  • Use rooms/namespaces for message scoping
  • Queue messages during disconnection
  • Log connection metrics (count, latency, errors)
  • MUST NOT DO

  • Skip connection authentication
  • Broadcast sensitive data to all clients
  • Store large state in memory without clustering strategy
  • Ignore connection limit planning
  • Mix WebSocket and HTTP on same port without proper config
  • Forget to handle connection cleanup
  • Use polling when WebSockets are appropriate
  • Skip load testing before production
  • View on ClawHub
    TERMINAL
    clawhub install websocket-engineer

    πŸ§ͺ Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    πŸ” Can't find the right skill?

    Search 60,000+ AI agent skills β€” free, no login needed.

    Search Skills β†’