alb

alb is a skill for Claude Code from AlexK020908/infra-designer. It costs 0 tokens per session (690 once invoked), scanned A, original, MIT.

An AWS Application Load Balancer that receives public or private web traffic and sends it to backend services. It can choose a service by URL path or host name, handle HTTPS certificates at the edge, and check whether targets are healthy.

In plain words
What is it for?
Use it to route paths such as /users/* to different services, terminate TLS, choose internet-facing or internal access, configure listener and target ports, and define a health-check path.
Why use it?
It gives several services one traffic entry point and keeps those services from handling certificates themselves. It also prevents traffic from being sent to targets that fail the configured health check.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the infra-designer plugin — 19 skills, 5 commands shipped together

Good fit Use it to route paths such as /users/* to different services, terminate TLS, choose internet-facing or internal access, configure listener and target ports, and define a health-check path.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alexk020908/infra-designer/alb
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.

Any agent
npx skills add AlexK020908/infra-designer --skill alb
Clone the repo
git clone --depth 1 https://github.com/AlexK020908/infra-designer

Made for: Claude Code.

Or install infra-designer, the plugin that ships this one along with the rest of its 19 skills, 5 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for alb

README.md
[![agentmods](https://agentmods.dev/badge/skills/alexk020908/infra-designer/alb/github.svg)](https://agentmods.dev/skills/alexk020908/infra-designer/alb)
Your own site
<a href="https://agentmods.dev/skills/alexk020908/infra-designer/alb"><img src="https://agentmods.dev/badge/skills/alexk020908/infra-designer/alb/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for alb

Your own site · 80×15
<a href="https://agentmods.dev/skills/alexk020908/infra-designer/alb"><img src="https://agentmods.dev/badge/skills/alexk020908/infra-designer/alb.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 690 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00000 $0.00690
Opus 5 $0.00000 $0.00345
Sonnet 5 $0.00000 $0.00138
Haiku 4.5 $0.00000 $0.00069

Measured 12d ago against content hash 0a77e236021b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

alb scanned grade A with 0 findings 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 12d ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

infra-plugin/components/aws/alb/SKILL.md · 29 lines

How it starts

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

aws.alb (Application Load Balancer)

infra-plugin wiring: add a loadbalancer edge from this ALB to each backend service. The engine emits a dedicated target group + a path-based listener rule per edge, and the listener 404s unmatched paths. Give each edge a path (more specific first, catch-all /* last); a lone service can omit it. listenerPort is the only config.

The only entry-point/load-balancer node in the catalog — there is no API Gateway type, so public traffic enters here and gateway-style concerns get pushed into the services. Config knobs: listenerPort (443), targetPort (3000), sslPolicy, scheme, healthCheckPath (default /health).

What the ALB does

  • L7 routing: one listener on listenerPort (443) fans out by path (/users/* → user service) or host header to multiple aws.ecs.service target groups. One ALB can front several services.
  • TLS termination at the listener per sslPolicy; forwards plain HTTP to targets on targetPort (3000). Services never handle certs.
  • scheme: internet-facing for public traffic; internal for VPC-only (service-to-service tiers).
  • Health checks: targets must return 2xx on healthCheckPath (default /health). Keep it cheap — no DB or downstream calls — since it's hit every few seconds. Failing targets are auto-removed from rotation and re-added when healthy.
  • WebSocket upgrade is supported natively; no extra config needed (protocol choice tradeoffs: networking-essentials.md).

When not to use

  • Not needed when a single aws.apprunner.service is the whole backend — App Runner does its own load balancing and TLS. Adding an ALB there is pure cost.
  • Cost: ~$16–$40/mo fixed + LCU charges based on traffic.
  • Edge kind: network internet → alb → service; pair with assignPublicIp: false on ECS so the ALB is the only public entry.

Standing in for an API gateway

A gateway's actual jobs are routing, auth offload, rate limiting, request validation/transformation, response caching, and usage plans/API keys. Where each lands in this catalog:

  • Routing → the ALB itself, via path/host rules. This is the gateway's core job and the ALB covers it fully.
  • JWT verification, per-user rate limiting (token bucket), and input validation → middleware in each service. The design agent should copy this into each service's agentNotes; implementation specifics live in api-design.md.
  • Response caching (shared, non-user-specific responses only) → aws.elasticache.redis, and only if traffic justifies a cache node.
  • Usage plans / developer API keys / request transformation → application logic if light; if a design genuinely needs metered third-party API products, that's beyond the current catalog — say so rather than faking it.
  • Discipline: the entry point is rarely the interesting part of a design. "ALB handles routing; auth and rate limiting live in service middleware" is a complete answer for small designs — don't pile gateway features onto it speculatively.

Read the full file on GitHub · 29 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 29 lines · 0 tokens per session scan A 0a77e236021b

Subscribe to this mod's changes

alb is a skill published in the GitHub repository AlexK020908/infra-designer (2 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 690 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

terraform-skill

Use when working with Terraform or OpenTofu - creating modules, writing tests (native test framework, Terratest), setting up CI/CD pipelines, reviewing configurations, choosing between testing approaches, debugging state issues, implementing security scanning (trivy, checkov), or making infrastructure-as-code…

agentscope-ai/QwenPaw · 62 tokens

terraform-cli-setup

A setup guide for installing and initializing Terraform, a tool for managing infrastructure from configuration files. It also covers basic provider downloads and mirror settings, but not cloud-provider credentials.

agentscope-ai/QwenPaw · 58 tokens

alicloud_cli

A Chinese-language reference for the Alibaba Cloud command-line tool, which lets developers manage Alibaba Cloud services from a terminal. It uses an offline copy of the documentation as its main source.

agentscope-ai/QwenPaw · 45 tokens

deploy

A deployment workflow for putting Rails applications online using Railway, a hosting service.

clacky-ai/openclacky · 0 tokens

oss-upload

Upload local files to Tencent COS (oss.1024code.com CDN) using coscli. Use when user wants to upload a file to CDN/OSS, or deploy static assets.

clacky-ai/openclacky · 40 tokens

webflow-cli:cloud

Create, build, and deploy Webflow Cloud apps from the CLI (site-attached or project apps), and manage existing ones — apps, domains, environments, deployments, build/runtime logs, and environment variables including secrets. Use when initializing or deploying a Cloud app, importing an existing GitHub repository…

webflow/webflow-skills · 134 tokens