lb

A command set for managing Scaleway Load Balancers, which distribute incoming web or application traffic across services.

In plain words
What is it for?
It helps create and manage access rules for load-balancer front ends, including redirects such as sending HTTP traffic to HTTPS.
Why use it?
It gives you one place to control traffic rules and decide which requests are allowed, denied, or redirected.

Command

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 commands/scaleway/scaleway-cli/lb
Clone the repo
git clone --depth 1 https://github.com/scaleway/scaleway-cli
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 18,126 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 81% copy Near-identical to another mod 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.00000 $0.18126
Opus 5 $0.00000 $0.09063
Sonnet 5 $0.00000 $0.03625
Haiku 4.5 $0.00000 $0.01813

Measured 2d ago against content hash 2383d3abedc6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

lb 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 2d 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.

Origin

This is a copy

81% identical to block — 1,335 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

docs/commands/lb.md · 1,399 lines

How it starts

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

Documentation for scw lb

This API allows you to manage your Scaleway Load Balancer services.

Access Control List (ACL) management commands

Access Control List (ACL) management commands.

Create an ACL for a given frontend

Create a new ACL for a given frontend. Each ACL must have a name, an action to perform (allow or deny), and a match rule (the action is carried out when the incoming traffic matches the rule).

Usage:

scw lb acl create [arg=value ...]

Arguments:

Name Description Argument Specifications
frontend-id Frontend ID to attach the ACL to Required
name ACL name RequiredDefault: <generated>
action.type Action to take when incoming traffic matches an ACL filter One of: allow, deny, redirect
action.redirect.type Redirect type One of: location, scheme
action.redirect.target Redirect target. For a location redirect, you can use a URL e.g. https://scaleway.com. Using a scheme name (e.g. https, http, ftp, git) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a location redirect to preserve parts of the original request in the redirection URL are {{host}}, {{query}}, {{path}} and {{scheme}}
action.redirect.code HTTP redirect code to use. Valid values are 301, 302, 303, 307 and 308. Default value is 302
match.ip-subnet.{index} List of IPs or CIDR v4/v6 addresses to filter for from the client side
match.ips-edge-services Defines whether Edge Services IPs should be matched. If set to true, restricts all connections except for Edge Services
match.http-filter Type of HTTP filter to match. Extracts the request's URL path, which starts at the first slash and ends before the question mark (without the host part). Defines where to filter for the http_filter_value. Only supported for HTTP backends One of: acl_http_filter_none, path_begin, path_end, regex, http_header_match
match.http-filter-value.{index} List of values to filter for
match.http-filter-option Name of the HTTP header to filter on if http_header_match was selected in http_filter
match.invert Defines whether to invert the match condition. If set to true, the ACL carries out its action when the condition DOES NOT match
index Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed) Required
description ACL description
zone Zone to target. If none is passed will use default zone from the config Default: fr-par-1One of: fr-par-1, fr-par-2, nl-ams-1, nl-ams-2, nl-ams-3, pl-waw-1, pl-waw-2, pl-waw-3

Read the full file on GitHub · 1,399 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. 2d ago First seen · 1,399 lines · 0 tokens per session scan A 2383d3abedc6

Subscribe to this mod's changes

lb is a command published in the GitHub repository scaleway/scaleway-cli (996 stars, last pushed 2d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 18,126 tokens. A static security scan graded it A with 0 findings. It is 81% identical to block, differing in 1,335 lines, and is treated as a copy.