config

Configuration management for Scaleway developer tools, including the CLI, Terraform, and SDKs. It stores settings in environment variables or a configuration file.

In plain words
What is it for?
Setting Scaleway credentials, default organization and project IDs, regions, zones, and the configuration file location.
Why use it?
It avoids repeatedly entering access keys, project details, regions, and zones when using Scaleway tools.

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/config
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 1,845 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00000 $0.01845
Opus 5 $0.00000 $0.00923
Sonnet 5 $0.00000 $0.00369
Haiku 4.5 $0.00000 $0.00185

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

Security

Grade A, and why

config 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.

docs/commands/config.md · 323 lines

How it starts

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

Documentation for scw config

Config management engine is common across all Scaleway developer tools (CLI, terraform, SDK, ... ). It allows to handle Scaleway config through two ways: environment variables and/or config file. Default path for configuration file is based on the following priority order:

  • $SCW_CONFIG_PATH
  • $XDG_CONFIG_HOME/scw/config.yaml
  • $HOME/.config/scw/config.yaml
  • $USERPROFILE/.config/scw/config.yaml

In this CLI, environment variables have priority over the configuration file.

The following environment variables are supported:

Environment Variable Description
SCW_ACCESS_KEY The access key of a token (create a token at https://console.scaleway.com/iam/api-keys)
SCW_SECRET_KEY The secret key of a token (create a token at https://console.scaleway.com/iam/api-keys)
SCW_DEFAULT_ORGANIZATION_ID The default organization ID (get your organization ID at https://console.scaleway.com/iam/api-keys)
SCW_DEFAULT_PROJECT_ID The default project ID (get your project ID at https://console.scaleway.com/iam/api-keys)
SCW_DEFAULT_REGION The default region
SCW_DEFAULT_ZONE The default availability zone
SCW_API_URL URL of the API
SCW_INSECURE Set this to true to enable the insecure mode
SCW_PROFILE Set the config profile to use

Read more about the config management engine at https://github.com/scaleway/scaleway-sdk-go/tree/master/scw#scaleway-config

Read the full file on GitHub · 323 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 · 323 lines · 0 tokens per session scan A 4d57f071cdeb

Subscribe to this mod's changes

config 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 1,845 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-30.