tcp-keepalive

Community

Keep TCP connections alive.

Authorrenne
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the issue of long-lived TCP connections dropping unexpectedly due to intermediate network devices (like routers or firewalls) timing out idle connections, or to detect dead connections more rapidly.

Core Features & Use Cases

  • Tune TCP Keepalive Parameters: Adjust tcp_keepalive_time, tcp_keepalive_intvl, and tcp_keepalive_probes system-wide.
  • Maintain NAT State: Ensures that intermediate devices keep NAT entries active for idle connections.
  • Detect Dead Connections: Speeds up the detection of unresponsive remote hosts.
  • Use Case: Resolve dropped VPN tunnels, gRPC streams, WebSocket connections, or SSH sessions that disconnect after periods of inactivity.

Quick Start

Apply the recommended TCP keepalive settings for systems behind a home router.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: tcp-keepalive
Download link: https://github.com/renne/skills/archive/main.zip#tcp-keepalive

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.