TLS, Socket & Pool Lifecycle Repair
Repair client connection ownership from address-family racing through socket half-close, TLS handoff, keep-alive reuse, pool checkout, token refresh, and signed-resource expiry. This bundle targets lifecycle gaps that leak or reuse the wrong connection after cancellation and endpoint changes. Use it when transport security is correct in isolation but connection timing and pooled ownership make client behavior unreliable.
Works with every agent that reads SKILL.md — Claude Code, Cursor, Codex CLI, Gemini CLI, GitHub Copilot, Windsurf, OpenClaw, and more.
One payment, lifetime access. 8 skills unlock instantly in your library.
What's included
8 skillsRepair Happy Eyeballs races that publish stale winners, leak losing sockets, or misreport dual-stack connection failures.
Repair TCP half-close bugs that truncate responses, destroy both directions on EOF, omit FIN propagation, or leave writers hanging.
Repair HTTP keep-alive lifecycle bugs that leak sockets, exhaust pools, or cause intermittent resets after idle periods and deploys.
Repair file descriptor and handle leaks from files, streams, watchers, pipes, subprocesses, early returns, retries, errors, and cancellations.
Repair leaked or long-held connections, per-request client pools, fan-out saturation, retry amplification, and cleanup gaps without guessing pool sizes.
Repair concurrent OAuth refresh races that invalidate credentials, overwrite newer tokens, or force users to reconnect.
Repair presigned upload and download URLs that expire too early, fail behind proxies, reject valid headers, or remain usable longer than intended.
Prevent customer SSO outages during SAML certificate rotation.
See it in action
Repair Happy Eyeballs Race Bugs
Example session with this skill installed
Our Go HTTP client uses a custom Happy Eyeballs dialer. IPv6 starts first and IPv4 starts after the configured delay. When both connects complete at the same barrier, both goroutines can send a socket to the result channel; the second socket leaks, and during cancellation the cleanup path occasionally closes the actual winner. Repair with a fake resolver, fake conns, barriers, and a fake clock. Preserve address order, delay, timeout, TLS, pool, and retry settings; do not dial the network.
- Read your context and instructions
- Compiled the repair happy eyeballs
Dual-stack race found. IPv6 and IPv4 can both complete before the shared promise is marked, and the late callback can replace the selected socket while leaving the other open. The repair makes winner election generation-aware and atomic, closes every loser exactly once, preserves attempt errors, and validates simultaneous success, cancellation, timeout, and all-failure paths with fake sockets.
How to use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs these skills for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every skill in this bundle passes our trust checks.
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