datalab

Apache Spark cluster management commands for Scaleway Datalab. Apache Spark is software for processing large datasets across multiple machines, and a cluster is that group of machines.

In plain words
What is it for?
Listing available Spark versions and creating Datalab clusters with chosen node types, worker counts, Spark versions, and notebooks.
Why use it?
They provide commands for choosing Spark versions and configuring the machines, workers, tags, and optional notebooks used by a data-processing cluster.

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/datalab
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,716 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.01716
Opus 5 $0.00000 $0.00858
Sonnet 5 $0.00000 $0.00343
Haiku 4.5 $0.00000 $0.00172

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

Security

Grade A, and why

datalab 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/datalab.md · 206 lines

How it starts

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

Documentation for scw datalab

Clusters for Apache Spark™ API.

Lists the Apache Spark™ versions available for cluster creation.

List datalab resources

List datalab resources.

Usage:

scw datalab cluster-version list [arg=value ...]

Arguments:

Name Description Argument Specifications
order-by The order by field. One of: name_asc, name_desc
region Region to target. If none is passed will use default region from the config Default: fr-parOne of: fr-par, it-mil, all

Manage your clusters.

Create datalab resources

Create datalab resources.

Usage:

scw datalab datalab create [arg=value ...]

Arguments:

Name Description Argument Specifications
project-id Project ID to use. If none is passed the default project ID will be used
name The name of the cluster.
description The description of the cluster.
tags.{index} The tags of the cluster.
main.node-type
worker.node-type
worker.node-count
has-notebook Select this option to include a notebook as part of the cluster.
spark-version The version of Apache Spark™ running inside the cluster, available options can be viewed at ListClusterVersions.
total-storage.type One of: unknown_type, sbs_5k
total-storage.size
private-network-id The unique identifier of the private network the cluster will be attached to.
region Region to target. If none is passed will use default region from the config Default: fr-parOne of: fr-par, it-mil

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

Subscribe to this mod's changes

datalab 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,716 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.