cypress-cloud-cli

cypress-cloud-cli is a skill for Claude Code, Codex from cypress-io/ai-toolkit. It costs 79 tokens per session (1,534 once invoked), scanned A, original, MIT.

A command-line tool for inspecting Cypress Cloud, the online service that stores Cypress test runs and their results.

In plain words
What is it for?
It helps inspect organizations, projects, runs, test files, individual tests, failure screenshots, and Test Replay data, which records what happened during a test.
Why use it?
It lets developers investigate failed or flaky tests and related evidence from the command line instead of manually searching the Cloud interface.

Skill for Claude CodeCodex

Part of the cypress plugin — 5 skills, 1 MCP server shipped together

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 skills/cypress-io/ai-toolkit/cypress-cloud-cli
Any agent
npx skills add cypress-io/ai-toolkit --skill cypress-cloud-cli
Clone the repo
git clone --depth 1 https://github.com/cypress-io/ai-toolkit

Made for: Claude Code, Codex.

Or install cypress, the plugin that ships this one along with the rest of its 5 skills, 1 MCP server.

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 cypress-cloud-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/cypress-io/ai-toolkit/cypress-cloud-cli.svg)](https://agentmods.dev/skills/cypress-io/ai-toolkit/cypress-cloud-cli)
Your own site
<a href="https://agentmods.dev/skills/cypress-io/ai-toolkit/cypress-cloud-cli"><img src="https://agentmods.dev/badge/skills/cypress-io/ai-toolkit/cypress-cloud-cli.svg" alt="Measured on agentmods" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,534 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.00079 $0.01534
Opus 5 $0.00039 $0.00767
Sonnet 5 $0.00016 $0.00307
Haiku 4.5 $0.00008 $0.00153

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

Security

Grade A, and why

cypress-cloud-cli 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 4d 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/cypress-cloud-cli/SKILL.md · 148 lines

How it starts

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

Cypress Cloud CLI

Use cy-cloud directly to investigate Cypress Cloud. Execute the commands, inspect their JSON, and report conclusions supported by the returned data. Do not send the user to the Cloud UI when the CLI can answer the question.

Start safely

The published binary requires Node.js 22.21.0 or newer.

Run these checks only on first use, when the environment is unknown, or after an installation or authentication error. If cy-cloud already worked in this session, invoke the investigation command directly instead of spending another turn rechecking the setup.

node --version
cy-cloud status
cy-cloud --help

Assume cy-cloud is already installed and available on PATH. Run it from the user's current workspace; do not locate, clone, build, or depend on the cloud-cli source repository. If the command is unavailable, stop and report the missing prerequisite. The user can install it with:

npm install -g @cypress/cloud

If unauthenticated, ask the user to choose an authentication method:

cy-cloud login                 # interactive OAuth
cy-cloud login --token "$PAT"  # persist a Personal Access Token

For CI or an existing environment, CYPRESS_CLOUD_TOKEN takes precedence over stored credentials and writes no credential file.

Never print, echo, read back, or commit tokens. Never inspect ~/.config/cy-cloud/auth.json or cypress.env.json; use cy-cloud status.

The organization must have the Cypress Cloud CLI integration enabled. A response saying it is not enabled requires action from an organization administrator; it cannot be fixed with another CLI command.

Discover instead of guessing

Every command supports:

cy-cloud --help
cy-cloud <command> --help
cy-cloud <command> --schema

Treat cy-cloud --help as authoritative for available commands, per-command --help as authoritative for arguments, and --schema as the intended response contract. Use them before constructing a query when a command, flag, or field is uncertain. Do not memorize a command inventory from this skill; the installed CLI may be newer or older than these instructions. Validate the actual response too: run get can return a fractional duration, and replay info.failedAt can be a fractional epoch even when the schema declares an integer. Treat those values as numbers and report the schema mismatch if it matters; do not discard or round the data.

Read the full file on GitHub · 148 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 148 lines · 79 tokens per session scan A 5b4b801513f9

Subscribe to this mod's changes

cypress-cloud-cli is a skill published in the GitHub repository cypress-io/ai-toolkit (40 stars, last pushed 6d ago), licensed MIT. It adds 79 tokens to every session and 1,534 once invoked, about $0.0004 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.