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.
npx agentmods add instructions/scaleway/scaleway-cli/agents-mdgit clone --depth 1 https://github.com/scaleway/scaleway-cliWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00979 | $0.00979 |
| Opus 5 | $0.00490 | $0.00490 |
| Sonnet 5 | $0.00196 | $0.00196 |
| Haiku 4.5 | $0.00098 | $0.00098 |
Grade A, and why
scaleway-cli AGENTS.md 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
This file provides guidance to AI Agents when working with code in this repository.
Build, Test, and Lint Commands
# Build all binaries
make build # or ./scripts/build.sh
# Run linters
make lint # or ./scripts/lint.sh
make fmt # auto-fix lint issues (runs golangci-lint --fix)
# Run tests
make test # or ./scripts/run-tests.sh
./scripts/run-tests.sh -run <regex> # run specific tests
./scripts/run-tests.sh -g # update golden files
./scripts/run-tests.sh -c # record new cassettes (requires valid API credentials)
./scripts/run-tests.sh -D # enable debug mode
# Update SDK dependency
make bump-sdk # updates scaleway-sdk-go to latest master
Architecture Overview
Project Structure
This is a Go CLI (scw) for managing Scaleway cloud infrastructure. The codebase follows a modular architecture centered around a core command execution engine.
cmd/scw/ # Main entry point
commands/ # Command registration (GetCommands() merges all namespaces)
core/ # Core CLI engine: bootstrap, command execution, printing, validation
internal/namespaces/ # Auto-generated + manual API command implementations (60+ namespaces)
internal/ # Shared utilities: editor, interactive, config, cache, etc.
docs/ # Documentation (auto-generated command docs + developer guides)
Core Engine (core/)
The core package provides the CLI framework:
bootstrap.go- Initializes config, client, and command execution pipelinecommand.go- Command definition and execution logicprinter.go- Output formatting (JSON, human-readable, templated)validate.go- Argument validationtesting.go- Test framework with golden files and cassette recording (VCR pattern)
Commands Pattern
Commands are organized by namespace (e.g., instance, k8s, lb) and registered in commands/commands.go:
func GetCommands() *core.Commands {
commands := core.NewCommandsMerge(
instance.GetCommands(),
k8s.GetCommands(),
// ...
)
}
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.
- yesterday First seen · 115 lines · 979 tokens per session scan A 17e69e277822
scaleway-cli AGENTS.md is an instructions file published in the GitHub repository scaleway/scaleway-cli (996 stars, last pushed yesterday), licensed Apache-2.0. It adds 979 tokens to every session, about $0.0049 per session on Opus 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.
Other instructions, from other repositories
ollama CLAUDE.md
Instructions for ollama/ollama: See AGENTS.md for the shared agent instructions for this repository.
azure-sdk-for-go go-code.instructions.md
Instructions for Azure/azure-sdk-for-go: All code should follow the guidelines from the Azure Go SDK Guidelines. This document is a summary of the most important guidelines to follow when contributing to the Azure Go SDK.
cli AGENTS.md
Instructions for planetscale/cli, covering planetscale cli — agent guide, public repository safety, concepts, flag placement and correct.
chatgpt-cli CLAUDE.md
Instructions for kardolus/chatgpt-cli, covering chatgpt-cli — release runbook, prerequisites, 1. cut the release, 2. publish the github release + binaries and 3. update the homebrew tap.
pvetui AGENTS.md
Instructions for devnullvoid/pvetui, covering agent instructions, initial setup, development workflow, quick reference and code quality standards.
kessoku AGENTS.md
Instructions for mazrean/kessoku, covering repository guidelines — kessoku, project structure, common commands, build and test.