scaleway-cli: Skill for Claude Code

.skills/nightly-test-debugger/SKILL.md

nightly-test-debugger is a skill for Claude Code, Codex from scaleway/scaleway-cli. It costs 72 tokens per session (728 once invoked), scanned A, original, Apache-2.0.

A skill for investigating failing nightly acceptance tests in the Scaleway CLI repository. Acceptance tests check whether the command-line tool works correctly against real services, and nightly tests run automatically each night.

In plain words
What is it for?
Use it to diagnose failures from nightly.yml, nightly acceptance tests, or related CI runs in the Go CLI repository.
Why use it?
It provides a focused way to examine CI failures caused by API changes, mismatched recorded requests, changed expected output, infrastructure problems, timing issues, or dependency changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is scaleway/scaleway-cli's own configuration. It tells Claude Code and Codex how to work on scaleway-cli itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything scaleway-cli configures →

About the project

Scaleway CLI is a command-line tool for managing Scaleway cloud infrastructure from a terminal. It is used by people who operate Scaleway resources and need terminal-based commands, with authentication configured through a Scaleway API key. The catalogue add-ons provide instructions, an MCP integration, and a skill for working with the CLI.

scaleway/scaleway-cli · 1,019 stars · on GitHub · cli.scaleway.com

Reuse

Borrowing it

Nothing to install: this file belongs to scaleway/scaleway-cli. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/scaleway/scaleway-cli/main/.skills/nightly-test-debugger/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/scaleway/scaleway-cli

Made for: Claude Code, Codex.

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 nightly-test-debugger

README.md
[![agentmods](https://agentmods.dev/badge/skills/scaleway/scaleway-cli/nightly-test-debugger/github.svg)](https://agentmods.dev/skills/scaleway/scaleway-cli/nightly-test-debugger)
Your own site
<a href="https://agentmods.dev/skills/scaleway/scaleway-cli/nightly-test-debugger"><img src="https://agentmods.dev/badge/skills/scaleway/scaleway-cli/nightly-test-debugger/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 nightly-test-debugger

Your own site · 80×15
<a href="https://agentmods.dev/skills/scaleway/scaleway-cli/nightly-test-debugger"><img src="https://agentmods.dev/badge/skills/scaleway/scaleway-cli/nightly-test-debugger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 728 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00072 $0.00728
Opus 5.5 $0.00029 $0.00291
Sonnet 5.5 $0.00014 $0.00146
Haiku 4.5 $0.00007 $0.00073

Measured 2mo ago against content hash 2caf17f0481c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

nightly-test-debugger 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 2mo 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.

.skills/nightly-test-debugger/SKILL.md · 100 lines

How it starts

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

Nightly Test Debugger

This skill helps you systematically analyze and debug failing nightly acceptance tests in the Scaleway CLI repository.

Understanding Nightly Tests

The nightly test suite (.github/workflows/nightly.yml) runs acceptance tests for all products daily at 00:00 UTC. Each product is tested in isolation with:

  • CLI_UPDATE_CASSETTES: true - Records API interactions
  • CLI_UPDATE_GOLDENS: true - Updates expected output files
  • Real API calls against Scaleway infrastructure

Common failure modes:

  1. API changes - Upstream API changed, test expectations no longer match
  2. Cassette mismatches - Recorded HTTP interactions don't match current behavior
  3. Golden file drift - Output format changed
  4. Infrastructure issues - Resource provisioning failures, quotas, timeouts
  5. Race conditions - Async operations not completing in expected time
  6. Dependency changes - Go module updates breaking compatibility

Debugging Workflow

Step 1: Gather Context

When investigating a failing nightly test, first collect the ID of the most recent run using:

gh run list --workflow "Nightly Acceptance Tests" --limit 1

Step 2: Read the Failure Logs

Fetch the full logs from the GitHub Actions run:

gh run view <RUN_ID> --log | grep FAIL:

This will give you names of the failed tests.

Step 3: Locate the Test File

Test files live in:

internal/namespaces/<product>/v<version>/<test_file>.go

Common patterns:

  • custom_<feature>_test.go - Feature-specific tests
  • <product>_test.go - General tests

Read the failing test function to understand:

  • What the test is trying to do
  • What BeforeFunc setup runs
  • What Check assertions are made
  • What AfterFunc cleanup runs

Step 4: Categorize the Failure

Timeout/Infrastructure Failure

Symptoms:

context deadline exceeded
timeout waiting for resource

Diagnosis:

  1. Check if the timeout value is reasonable
  2. Look for resource provisioning delays
  3. Check for quota issues in the nightly environment

Read the full file on GitHub · 100 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. 2mo ago First seen · 100 lines · 72 tokens per session scan A 2caf17f0481c

Subscribe to this mod's changes

nightly-test-debugger is a skill published in the GitHub repository scaleway/scaleway-cli (1,019 stars, last pushed yesterday), licensed Apache-2.0. It adds 72 tokens to every session and 728 once invoked, about $0.0003 per session on Opus 5.5. 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.