Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

load-balancing

Skill by sickn33

Documents how to configure load balancers and traffic distribution across backend servers using nginx, HAProxy and AWS load balancers. It is written for operators who need health checks and SSL termination.

  • Score 89
  • 51k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install load-balancing

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/load-balancing ~/.claude/skills/load-balancing

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install load-balancing in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The load-balancing skill is a documentation-only guide for distributing HTTP, HTTPS and TCP traffic across multiple backend servers. It covers nginx upstream blocks with round-robin, weighted, backup and IP hash routing, and HAProxy configurations with health checks, cookie-based stickiness and path-based routing. It also shows AWS Application and Network Load Balancer setup with the AWS CLI and Terraform, along with an algorithm comparison and a troubleshooting table.

The skill stresses checking hosts, exposure and rollback before making changes, keeping stats and admin endpoints private, and trusting forwarded headers only from known proxies. It states that the examples are alternatives with placeholders, not a complete production deployment. It is aimed at engineers who need to set up load balancers, health checks and SSL termination for servers.

Written from the project's SKILL.md and checked against it.

What it can do

  • nginx round-robin upstreamShows an nginx upstream block with HTTP to HTTPS redirect and TLS termination.
  • Weighted and backup serversCovers nginx least_conn with server weights, backup and down flags.
  • Sticky sessionsShows nginx ip_hash so the same client IP reaches the same server.
  • HAProxy path routingRoutes /api/ and /ws/ paths to separate backends with health checks.
  • HAProxy server managementLists socat commands to drain, set maintenance and re-enable a server.
  • AWS ALB setupShows AWS CLI commands to create an ALB, target group, targets and listeners.
  • AWS NLB setupShows AWS CLI commands to create a TCP network load balancer.
  • ALB with TerraformProvides Terraform resources for an ALB, target group, HTTPS listener and redirect.
  • Algorithm comparisonCompares round robin, least connections, IP hash, URI hash and random with two choices.
  • Troubleshooting tableLists common symptoms such as 502, 503 and WebSocket disconnects with fixes.

What you need

  • Two or more backend servers running the same application
  • TLS certificate for HTTPS termination
  • AWS VPC with public and private subnets for AWS examples
  • Linux server with root access for nginx or HAProxy

Try asking

  • Write an nginx upstream block that load balances three app servers with weights.
  • Create a Terraform ALB config with an HTTPS listener and /health check.
  • Show me how to drain one HAProxy backend server before maintenance.

Good to know

  • Docs-only. Helper scripts and templates are not bundled.
  • Examples are alternatives with placeholders, not a complete production deployment.
  • The nginx health_check example is commented out and requires nginx Plus or a third-party module.
  • A local static 200 on /health only proves proxy liveness, not backend readiness.

Security check

C
  • Asks for administrator rights (sudo)In skills/load-balancing/SKILL.md: sudo

Checked automatically: skills/load-balancing/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md12 KB

Alternatives to load-balancing

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

load-balancing: common questions

Does the load-balancing skill include runnable scripts?

No. The source says it is docs-only and helper scripts and templates are not bundled.

Does it cover health checks?

Yes. HAProxy and AWS examples check a /health path, while the nginx health check example requires nginx Plus or a third-party module.

Can it handle SSL termination?

Yes. The examples set up TLS at nginx, HAProxy and an AWS HTTPS listener using an ACM certificate.

How do I install load-balancing?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is load-balancing free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is load-balancing safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.

What are alternatives to load-balancing?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

load-balancing Install

Add to stack

Loading.