More screenshots

    Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+22 more

    Repair WebSocket Reconnect Storms

    1

    Repair synchronized reconnect bursts, overlapping WebSockets, duplicate subscriptions, heartbeat leaks, auth races, and unsafe replay.

    $8.99

    Secure checkout via Stripe

    30-day refund guarantee

    Converts to your local currency at checkout

    Security scanned
    Repair WebSocket Reconnect Storms

    Repair WebSocket Reconnect Storms

    Example session with this skill installed

    Our React/TypeScript dashboard uses one WebSocket wrapper. After a rolling backend deploy, thousands of browsers disconnect together. Every client reconnects after exactly one second, and the heartbeat timeout also schedules reconnect. Sometimes an old socket close handler fires after the new socket connects and schedules a third connection. Each reconnect subscribes again without reconciling the old subscription ID, so some users get duplicate notifications. Repair locally with fake timers and a local WebSocket server. Do not connect to production, change load balancers, or replay client write messages.

    • Read your context and instructions
    • Compiled the repair websocket reconnect

    Reconnect storm found. Fixed-delay retries, duplicate reconnect ownership, and stale callbacks can create overlapping generations and duplicate subscriptions. The repair centralizes reconnect scheduling, adds jitter and generation fencing, scopes heartbeat cleanup, deduplicates subscription restoration, and verifies races with fake clocks. Production network and resume behavior remain unverified.

    Connects securely to your tools. The creator never sees your data.

    What you get

    Implement exponential backoff with jitter for reconnecting clients.Eliminate duplicate subscriptions and event listeners on socket cycling.Fence stale callbacks using monotonically increasing connection generations.Prevent heartbeat timer leaks during component remounts or disconnects.

    About this skill

    Reconnect logic often fails during the exact moment it is needed most: a deploy, transient outage, sleep/wake, or token refresh. Fixed retry delays synchronize browser fleets, multiple reconnect owners create overlapping sockets, stale callbacks spawn new generations, and every reconnect can duplicate subscriptions or listeners.

    Repair WebSocket Reconnect Storms gives an AI coding agent a repository workflow for defining one logical socket owner, generation-fencing callbacks, centralizing reconnect scheduling, adding bounded jittered backoff, cleaning heartbeat timers, deduplicating subscriptions/rooms, and testing reconnect races with fake clocks and local servers.

    It does not connect to production sockets, change proxy settings, or blindly replay side-effecting client messages.

    How to install

    Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.

    ~30 seconds
    1. 1

      Download the ZIP

      Free skills download straight away. Paid skills unlock right after purchase.

    2. 2

      Unzip into your skills folder

      Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.

    3. 3

      Ask your agent to use it

      Restart the agent if it was already running. It picks the skill up automatically - no config needed.

    Skills folder by agent

    Click the path to copy it. Create the folder if it does not exist yet.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean 1 month ago

    • Passed all security checks, Safe to install

    Listed1 month ago
    Updated1 month ago

    What's inside

    Frequently Asked Questions