load-balancer
Expert skill for load balancer configuration, algorithms, and high availability design
Best use case
load-balancer is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Expert skill for load balancer configuration, algorithms, and high availability design
Teams using load-balancer should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/load-balancer/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How load-balancer Compares
| Feature / Agent | load-balancer | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Expert skill for load balancer configuration, algorithms, and high availability design
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Load Balancer Skill
Expert skill for load balancer configuration, algorithm implementation, and high availability design.
## Capabilities
- **HAProxy Configuration**: Configure HAProxy for L4/L7 load balancing with advanced features
- **NGINX Load Balancing**: Set up NGINX as a reverse proxy and load balancer
- **Algorithm Implementation**: Implement round-robin, weighted, least-connections, IP-hash, and consistent hashing
- **Health Checking**: Design comprehensive health check strategies (TCP, HTTP, custom)
- **Session Persistence**: Configure sticky sessions, cookie-based affinity, and source IP persistence
- **Load Distribution Analysis**: Analyze and optimize traffic distribution across backends
- **High Availability**: Configure HA pairs with failover using keepalived/VRRP
- **SSL/TLS Termination**: Configure TLS termination and re-encryption
## Tools and Dependencies
- `HAProxy` - High-performance TCP/HTTP load balancer
- `NGINX` - Web server and reverse proxy
- `keepalived` - HA and failover
- `LVS/IPVS` - Linux Virtual Server
- `haproxyctl` - HAProxy management
## Target Processes
- layer4-load-balancer.js
- layer7-load-balancer.js
- health-check-system.js
## Usage Examples
### HAProxy Backend Configuration
```haproxy
backend web_servers
balance roundrobin
option httpchk GET /health
http-check expect status 200
server web1 10.0.0.1:80 check weight 100
server web2 10.0.0.2:80 check weight 100 backup
```
### NGINX Upstream Configuration
```nginx
upstream backend {
least_conn;
server 10.0.0.1:8080 weight=5;
server 10.0.0.2:8080;
keepalive 32;
}
```
### Health Check Verification
```bash
echo "show stat" | socat stdio /var/run/haproxy/admin.sock
```
## Quality Gates
- Backend health verification
- Load distribution validation
- Failover testing
- Performance benchmarking
- Session persistence verificationRelated Skills
load-test-generator
Generate load test scripts for k6, Locust, and Gatling from OpenAPI specs
gatling-load-testing
Expert skill for Gatling simulation development, load test execution, and performance analysis. Write Gatling simulations in Scala DSL, configure injection profiles and feeders, define assertions, analyze HTML reports, and integrate with Gatling Enterprise.
line-balancer
Assembly line balancing skill for workstation design and cycle time optimization.
wind-load-calculator
Wind load calculation skill per ASCE 7 for MWFRS and components and cladding
load-combination-generator
Load combination generation skill per ASCE 7 and AASHTO for ASD and LRFD design methods
load-optimization-calculator
AI-powered load building and consolidation skill to maximize trailer utilization and reduce transportation costs
electron-main-preload-generator
Generate secure main process and preload script boilerplate with proper context isolation, IPC patterns, and security best practices for Electron applications
yaml-json-toml-loader
Generate multi-format configuration file loaders for YAML, JSON, and TOML formats.
plugin-loader-generator
Generate dynamic plugin loading system with discovery, validation, and lifecycle management.
process-builder
Scaffold new babysitter process definitions following SDK patterns, proper structure, and best practices. Guides the 3-phase workflow from research to implementation.
babysitter
Orchestrate via @babysitter. Use this skill when asked to babysit a run, orchestrate a process or whenever it is called explicitly. (babysit, babysitter, orchestrate, orchestrate a run, workflow, etc.)
yolo
Run Babysitter autonomously with minimal manual interruption.