search

A command for searching resources in Scaleway, a cloud provider, through its command-line tool.

In plain words
What is it for?
It helps search for cloud resources using a text query, project filters, and resource-type filters.
Why use it?
It avoids opening separate cloud dashboards or memorising different lookup methods when you need to find a resource.

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/search
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 746 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.00746
Opus 5 $0.00000 $0.00373
Sonnet 5 $0.00000 $0.00149
Haiku 4.5 $0.00000 $0.00075

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

Security

Grade A, and why

search 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/search.md · 40 lines

How it starts

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

Search API

Resource search commands

Resource search commands.

Search API

Search API.

Usage:

scw search resource search <query ...> [arg=value ...]

Arguments:

Name Description Argument Specifications
query Search query Required
project-ids.{index} List of Project IDs to filter the resources by
types.{index} List of resource types to filter the resources by One of: unknown_type, instance_server, instance_volume, instance_image, instance_security_group, instance_private_nic, instance_snapshot, instance_placement_group, instance_template, k8s_cluster, k8s_pool, k8s_node, domain_domain, dns_zone, vpc_private_network, vpc_vpc, vpg_gateway, apple_silicon_server, rdb_instance, rdb_snapshot, rdb_backup, baremetal_server, tem_domain, lb_server, serverless_functions_function, serverless_containers_container, wbh_hosting, redis_cluster, sm_secret, kms_key, edg_pipeline, mnq_nats_account, sbs_volume, sbs_snapshot, serverless_job_definition, serverless_sqldb_database, serverless_sqldb_backup, ddl_datalab, mgdb_instance, mgdb_snapshot, ifr_deployment, ifr_model, gapi_batch, dtwh_deployment, obs_datasource, obs_exporter, svpn_vpn_gateway, svpn_customer_gateway, svpn_connection, svpn_routing_policy, kafk_cluster, sedb_cluster, autoscaling_group
localities.{index} List of scopes (zones, regions, or global) to filter the resources by
created-after Filter resources created after this timestamp
created-before Filter resources created before this timestamp
modified-after Filter resources modified after this timestamp
modified-before Filter resources modified before this timestamp
page-token Opaque token used to retrieve the next page of results (cursor-based pagination).
page-size Number of resources to retrieve per page
order-by Sort order in the response One of: relevance, created_at_asc, created_at_desc, modified_at_asc, modified_at_desc, name_asc, name_desc, type_asc, type_desc
organization-id Organization ID to use. If none is passed the default organization ID will be used

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

Subscribe to this mod's changes

search 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 746 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.