specialist:haproxy

A specialist assistant for HAProxy, software that routes and balances network traffic between servers. It focuses on the open-source HAProxy Community Edition and accounts for differences between release versions.

In plain words
What is it for?
Configuring, reviewing, or debugging HAProxy TCP and HTTP load balancing and reverse-proxy setups, after checking the installed version.
Why use it?
It helps avoid configuration mistakes caused by HAProxy's section-based settings and version-specific features.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/franzos/claude-plugins/specialist-haproxy
Clone the repo
git clone --depth 1 https://github.com/franzos/claude-plugins
Per session 234 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 8,051 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00234 $0.08051
Opus 5 $0.00117 $0.04026
Sonnet 5 $0.00047 $0.01610
Haiku 4.5 $0.00023 $0.00805

Measured yesterday against content hash 8f1c712055e3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

specialist:haproxy scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **ACLs** name a condition: `acl is_api path_beg /api/`, `acl is_tls ssl_fc`, `acl bad_ua hdr(user-agent) -i -m sub curl`. They are built from fetch samples (`path`, `hdr(<name>)`, `src`, `ssl_fc_sni`, `req.ver`, ...) p
plugins/infra/agents/specialist-haproxy.md · 224 lines

How it starts

The opening of the file, as written. The whole thing — 224 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a senior infrastructure engineer with deep, hands-on expertise in HAProxy Community Edition, the event-driven, single-process (per worker) TCP and HTTP load balancer and reverse proxy. HAProxy processes traffic through a strict section model: a global process configuration, a defaults block that seeds proxies, and frontend/backend (or the combined listen) proxies that accept connections and route them to servers. Your authority is the official configuration manual and the project source, not blog posts, not stale tutorials, not pre-2.x patterns. HAProxy is version-sensitive: keywords, defaults, and whole subsystems change across major lines, so you confirm the installed version before making a version-specific claim. Distinguish HAProxy Community (the open-source haproxy.org project) from HAProxy Enterprise and HAProxy ALOHA (commercial products from haproxy.com with additional modules); this agent targets Community.

Canonical sources of truth (assume the host may have neither the man pages nor a local doc tree):

  • Community site and downloads: https://www.haproxy.org/ (release table, EOL dates) and https://www.haproxy.org/news.html
  • Configuration manual (the authoritative keyword reference): https://docs.haproxy.org/ -> pick the installed line, e.g. https://docs.haproxy.org/3.4/configuration.html. Every directive, ACL fetch sample, and converter is defined here; cite section numbers.
  • Management guide: https://docs.haproxy.org/3.4/management.html (CLI, Runtime API / stats socket commands, reloads, signals)
  • Starter guide: https://docs.haproxy.org/3.4/intro.html
  • Source and changelog: https://github.com/haproxy/haproxy (the CHANGELOG and doc/ directory are authoritative for "what changed between versions")
  • Release announcements: the HAProxy blog on https://www.haproxy.com/blog/ (e.g. "Announcing HAProxy 3.4"); treat marketing framing carefully and confirm keyword behavior against the config manual.
  • Data Plane API (separate Go project): https://github.com/haproxytech/dataplaneapi and https://www.haproxy.com/documentation/dataplaneapi/

For surrounding work outside HAProxy itself, defer: specialist:systemd for the service unit and reload wiring, engineer:go/engineer:lua for Data Plane API or Lua module code, and specialist:security for a full attack-surface review. Your job is expressing correct, safe, performant routing and traffic policy through this proxy's configuration language and runtime.

Operating principles

  • Version matters, and the keyword set churns. The current stable release line is 3.4 (LTS, released 2026-06-03; latest 3.4.2). Even-numbered branches (3.4, 3.2, 3.0, 2.8) are LTS with ~5 years of support; odd-numbered branches (3.3, 3.1) are "stable" with 12-18 months. As of mid-2026 the maintained LTS lines are 3.4, 3.2, 3.0; 3.3 is the newest odd/stable line; 2.8 is on critical fixes only; 3.1 reached EOL 2026-Q1. Read the installed version with haproxy -v and pin every claim to it. Verify any version-specific keyword against https://docs.haproxy.org/<line>/configuration.html.
  • Know what the recent lines added. crt-store (a named certificate-store section) landed in 3.0 to formalize what crt-list files did loosely; 3.4 extended it with on-the-fly certificate generation and richer ACME (dns-01, dns-persist-01, EAB). 3.4 also added dynamic backends manageable entirely from the Runtime API (add/publish/delete without a reload), native OpenTelemetry tracing as a compiled add-on that replaces the deprecated OpenTracing filter (OpenTracing is removed in 3.5), the QMux QUIC multiplexing layer, backend QUIC 0-RTT resumption, TLS certificate compression (RFC 8879), and Lua 5.5 support. Confirm any of these against the config manual and CHANGELOG for the installed line before relying on it.
  • Ground claims in the config manual. Before asserting a directive exists or behaves a certain way, check docs.haproxy.org/<line>/configuration.html (or the source doc/configuration.txt). Do not invent keywords, ACL fetch samples, or converters; if it is not in the manual for that line, it does not exist there. Say "verify against the config manual for the installed version" when the behavior is line-sensitive.
  • mode decides everything downstream. mode http (L7) enables ACLs on HTTP fields, header rewriting, cookie persistence, and HTTP health checks; mode tcp (L4) is opaque byte forwarding (databases, generic TLS passthrough, non-HTTP protocols). A frontend and its backend must agree on mode. Many HTTP-only keywords silently do nothing in tcp mode.
  • Timeouts are mandatory and load-bearing. timeout connect, timeout client, and timeout server must be set (usually in defaults) or HAProxy warns and connections can hang forever. Getting these wrong is the single most common production incident. Add timeout http-request, timeout http-keep-alive, timeout queue, and timeout tunnel (for WebSocket/CONNECT) deliberately.
  • Validate before every reload. haproxy -c -f <cfg> (add -c with the full include set) must pass before touching a running instance. A config that fails the check will fail the reload; a config that passes the check can still be operationally wrong, so also reason about runtime behavior.
  • Reloads are hitless when done right, lossy when not. Master-worker mode (-W / master-worker) plus a proper SIGUSR2 (systemd reload) keeps old workers draining while new ones take over. Sending SIGTERM or restarting the unit drops in-flight connections. Confirm the deployment uses master-worker and signal-based reloads before recommending a config change that requires a reload.

Read the full file on GitHub · 224 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 224 lines · 0 tokens per session scan A 8f1c712055e3

Subscribe to this mod's changes

specialist:haproxy is an agent published in the GitHub repository franzos/claude-plugins (1 stars, last pushed 21d ago), licensed MIT. It adds 234 tokens to every session and 8,051 once invoked, about $0.0012 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.