Agent skill

Configuring Load Balancers

by jeremylongshore in jeremylongshore/tons-of-skills-marketplace

Configure use when configuring load balancers including ALB, NLB, Nginx, and HAProxy.

MITAuto-check passedDevOps & Cloud

Install Configuring Load Balancers

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill configuring-load-balancers -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace configuring-load-balancers --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/configuring-load-balancers .claude/skills/configuring-load-balancers && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
configuring-load-balancers
GitHub stars
2.8k
Token cost
~1.2k tokens
SKILL.md length
505 words
Files
9 (incl. scripts, references, assets)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Configure use when configuring load balancers including ALB, NLB, Nginx, and HAProxy.

  • Works in 9 steps: Select load balancer type based on… → Define the backend pool: list all… → Configure health checks with appropriate… → …
  • Configuring load balancers including ALB
  • SKILL.md covers Overview, Prerequisites, Instructions and Output, plus 3 more sections
  • Runs Python scripts from its folder; calls openssl

What it does

Configuring Load Balancers is an agent skill from jeremylongshore/tons-of-skills-marketplace. Configure use when configuring load balancers including ALB, NLB, Nginx, and HAProxy. Trigger with phrases like "configure load balancer", "create ALB", "setup nginx load balancing", or "haproxy configuration". Generates production-ready configurations with health checks, SSL termination, sticky sessions, and traffic distribution rules.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including scripts, reference files and assets (for example `assets/README.md`, `references/README.md` and `references/errors.md`). Compatibility notes: Designed for Claude Code

It sits in DevOps & Cloud, covering Cloud networking. It works with NGINX. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Configuring load balancers including ALB
  • With phrases like configure load balancer
  • Setup nginx load balancing
  • Haproxy configuration

Example prompts

  • “configure load balancer”
  • “create ALB”
  • “setup nginx load balancing”
  • “/configuring-load-balancers”

Requirements

  • Python 3
  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Grep, Glob, Bash(aws:*), Bash(gcloud:*), Bash(nginx:*)

Workflow steps

9 steps, taken from the first numbered list in SKILL.md.

  1. Select load balancer type based on requirements: ALB for HTTP/HTTPS with path routing, NLB for TCP/UDP with static IPs, Nginx for on-prem…
  2. Define the backend pool: list all backend server addresses, ports, and weights for weighted distribution
  3. Configure health checks with appropriate interval (10-30s), timeout (5s), healthy threshold (3), and unhealthy threshold (2)
  4. Set up SSL/TLS termination: configure certificates, redirect HTTP to HTTPS, set minimum TLS version to 1.2
  5. Define routing rules: path-based routing (/api -> API pool, /static -> CDN), host-based routing (api.example.com -> API)
  6. Enable session persistence (sticky sessions) using cookies or source IP affinity where needed for stateful applications
  7. Add connection draining to gracefully handle backend removal during deployments
  8. Configure logging and monitoring: access logs to S3/CloudWatch, request metrics, error rate dashboards
  9. Test the configuration: validate syntax (nginx -t, HAProxy config check), verify traffic distribution, and confirm failover behavior

What it can do on your machine

Read from SKILL.md and the folder at commit cfae287. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Grep
    • Glob
    • Bash(aws:*)
    • Bash(gcloud:*)
    • Bash(nginx:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • openssl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • nginx.org
    • haproxy.org
    • docs.aws.amazon.com
    • cloud.google.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

Configuring Load Balancers loads about 1.2k tokens when it runs, and up to ~1.5k if it reads all its reference files. Until then it costs about 91 tokens; SKILL.md has 505 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~91
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 505 words, ~1,175 tokens.

Download SKILL.mdSave it as .claude/skills/configuring-load-balancers/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.
name
configuring-load-balancers
description
Configure use when configuring load balancers including ALB, NLB, Nginx, and HAProxy. Trigger with phrases like "configure load balancer", "create ALB", "setup nginx load balancing", or "haproxy configuration". Generates production-ready configurations with health checks, SSL termination, sticky sessions, and traffic distribution rules.
allowed-tools
Read, Write, Edit, Grep, Glob, Bash(aws:*), Bash(gcloud:*), Bash(nginx:*)
compatibility
Designed for Claude Code
version
1.28.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT
tags
devops, load-balancers

Configuring Load Balancers

Overview

Configure load balancers across AWS (ALB, NLB), GCP (HTTP(S) LB, TCP/UDP LB), Nginx, and HAProxy. Generate production-ready configurations with health checks, SSL/TLS termination, path-based and host-based routing, sticky sessions, rate limiting, and traffic distribution rules for high-availability deployments.

Prerequisites

  • Backend servers identified with IPs, DNS names, and ports
  • Load balancer type determined: L4 (NLB, HAProxy TCP) or L7 (ALB, Nginx, HAProxy HTTP)
  • SSL/TLS certificates available (ACM, Let's Encrypt, or self-signed) if using HTTPS
  • Health check endpoints defined on backend services (e.g., /health returning 200)
  • Cloud provider CLI installed for managed load balancers (aws, gcloud)

Instructions

  1. Select load balancer type based on requirements: ALB for HTTP/HTTPS with path routing, NLB for TCP/UDP with static IPs, Nginx for on-prem reverse proxy, HAProxy for high-performance TCP/HTTP
  2. Define the backend pool: list all backend server addresses, ports, and weights for weighted distribution
  3. Configure health checks with appropriate interval (10-30s), timeout (5s), healthy threshold (3), and unhealthy threshold (2)
  4. Set up SSL/TLS termination: configure certificates, redirect HTTP to HTTPS, set minimum TLS version to 1.2
  5. Define routing rules: path-based routing (/api -> API pool, /static -> CDN), host-based routing (api.example.com -> API)
  6. Enable session persistence (sticky sessions) using cookies or source IP affinity where needed for stateful applications
  7. Add connection draining to gracefully handle backend removal during deployments
  8. Configure logging and monitoring: access logs to S3/CloudWatch, request metrics, error rate dashboards
  9. Test the configuration: validate syntax (nginx -t, HAProxy config check), verify traffic distribution, and confirm failover behavior

Output

  • Nginx configuration files (nginx.conf, site configs) with upstream blocks and server directives
  • HAProxy configuration (haproxy.cfg) with frontend/backend sections
  • Terraform HCL for AWS ALB/NLB with target groups, listeners, and rules
  • GCP load balancer Terraform with backend services, URL maps, and health checks
  • SSL certificate configuration and renewal automation
Show full SKILL.md (204 more words)Show less

Error Handling

ErrorCauseSolution
502 Bad GatewayBackend server unreachable or not respondingVerify backend IPs, ports, and firewall rules; check backend service health
SSL certificate verify failedCertificate expired, wrong chain, or key mismatchVerify certificate validity and chain with openssl s_client; regenerate if needed
Target is unhealthyHealth check endpoint returning non-200 or timing outVerify health check path returns 200; increase timeout if backend is slow to respond
nginx: configuration file test failedSyntax error in Nginx configurationRun nginx -t to identify the specific error line; fix syntax and test again
Session persistence not workingCookie-based stickiness misconfigured or client not sending cookiesVerify cookie name matches; use IP-based affinity as fallback for non-browser clients

Examples

  • "Configure an AWS ALB with HTTPS listener, path-based routing to two target groups (/api and /web), and health checks on /health."
  • "Generate an Nginx reverse proxy config with upstream servers, sticky sessions via cookie, and rate limiting at 100 req/s per IP."
  • "Create a HAProxy configuration for TCP load balancing across 4 database read replicas with health checks and connection draining."

Resources

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 8 other files (scripts, references, assets) in skills/.curated/configuring-load-balancers of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • assets/README.md
  • assets/haproxy_template.conf
  • assets/nginx_template.conf
  • references/README.md
  • references/errors.md
  • references/examples.md
  • scripts/README.md
  • scripts/generate_config.py

Open the folder on GitHubat commit cfae287

Compare with similar skills

Configuring Load Balancers next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Configuring Load Balancers compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Configuring Load Balancers this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.2kAutomated safety check: PassMIT
Nginx To Higress Migrationhigress-group/higress9.5k—~3.9kAutomated safety check: PassApache-2.0
NGINX Ingress Controller Feature Checklistsnginx/kubernetes-ingress5.1k—~1.4kAutomated safety check: PassApache-2.0
NGINX Ingress Policy CRD Guidenginx/kubernetes-ingress5.1k—~2kAutomated safety check: PassApache-2.0
KubeSphere Gateway Managementkubesphere/kubesphere17k—~2.9kAutomated safety check: PassCustom licence
Wp Static Clonejdevalk/skills105—~2.6kAutomated safety check: PassMIT

Similar skills

  • Nginx To Higress Migration

    higress-group/higress

    Migrate from ingress-nginx to Higress in Kubernetes environments.

    9.5k GitHub stars~3.9k tokensUpdated 3 days ago
    DevOps & CloudAuto-check passed
  • Gives step-by-step checklists for adding Ingress annotations, VirtualServer fields and Helm values to the NGINX Kubernetes Ingress Controller, with common gotchas.

    5.1k GitHub stars~1.4k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • NGINX Ingress Policy CRD Guide

    nginx/kubernetes-ingress

    Step-by-step checklist for adding a new Policy CRD type to the NGINX Ingress Controller, from the Go types and validation to config generation and templates.

    5.1k GitHub stars~2k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • KubeSphere Gateway Management

    kubesphere/kubesphere

    Installs, uninstalls, checks and troubleshoots the KubeSphere Gateway extension built on ingress-nginx, including gateways stuck in bad states and Helm or pod failures.

    17k GitHub stars~2.9k tokensUpdated 2 mo ago
    DevOps & CloudAuto-check passed
  • Wp Static Clone

    jdevalk/skills

    Clones a live WordPress (or other CMS-driven) site into a static HTML site deployable on any static host (Cloudflare Pages, Netlify, Vercel, S3+CloudFront, plain Apache/nginx).

    105 GitHub stars~2.6k tokensUpdated 3 mo ago
    DevOps & CloudAuto-check passed
  • Log Error Digest

    zebbern/claude-code-guide

    Analyze log files to troubleshoot errors, identify peak error periods, and produce error clustering, frequency statistics, and time distribution reports.

    4.7k GitHub stars~923 tokensUpdated yesterday
    DevOps & CloudAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Configuring Load Balancers

What does Configuring Load Balancers do?

Configure use when configuring load balancers including ALB, NLB, Nginx, and HAProxy. Configuring Load Balancers is an agent skill from jeremylongshore/tons-of-skills-marketplace. Configure use when configuring load balancers including ALB, NLB, Nginx, and HAProxy.

When should I use Configuring Load Balancers?

Configuring Load Balancers fits situations like: configuring load balancers including ALB; with phrases like configure load balancer; setup nginx load balancing; haproxy configuration.

How do I install Configuring Load Balancers in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill configuring-load-balancers -a claude-code`. Or copy the skill folder (skills/.curated/configuring-load-balancers in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/configuring-load-balancers in your project. Claude Code loads it when a task matches its description.

How do I install Configuring Load Balancers in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill configuring-load-balancers -a codex`. Or copy the skill folder (skills/.curated/configuring-load-balancers in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/configuring-load-balancers in your project. Codex loads it when a task matches its description.

Can I use Configuring Load Balancers in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill configuring-load-balancers -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/configuring-load-balancers, .gemini/skills/configuring-load-balancers, .github/skills/configuring-load-balancers and .opencode/skills/configuring-load-balancers in your project.

What does Configuring Load Balancers need to run?

Going by SKILL.md and its folder, Configuring Load Balancers needs Python for the scripts in its folder and the command-line tools its instructions call (openssl). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Write, Edit, Grep, Glob, Bash(aws:*), Bash(gcloud:*), Bash(nginx:*). Compatibility (from SKILL.md): Designed for Claude Code.

Does Configuring Load Balancers access the network?

SKILL.md names 4 domains. As links in the text: nginx.org, haproxy.org, docs.aws.amazon.com and cloud.google.com. This is read from the text; nothing was executed.

Is Configuring Load Balancers safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Configuring Load Balancers use?

Configuring Load Balancers is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Configuring Load Balancers use?

About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 328 tokens, read only when the agent opens those files.

What are the alternatives to Configuring Load Balancers?

Skills that share tags, products or a category with Configuring Load Balancers: Nginx To Higress Migration (higress-group/higress, 9.5k stars), NGINX Ingress Controller Feature Checklists (nginx/kubernetes-ingress, 5.1k stars), NGINX Ingress Policy CRD Guide (nginx/kubernetes-ingress, 5.1k stars) and KubeSphere Gateway Management (kubesphere/kubesphere, 17k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Configuring Load Balancers?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.