cypress-design: Skill for Claude Code

.agents/skills/cypress-error-messages/SKILL.md

cypress-error-messages is a skill for Claude Code, Codex from cypress-io/cypress-design. It costs 118 tokens per session (1,512 once invoked), scanned A, original, MIT.

A writing guide for clear error messages and warnings in Cypress, a tool that runs automated tests in browsers. It covers messages shown in the Cypress app, command line, cloud service, and test output.

In plain words
What is it for?
It is for drafting, reviewing, or improving Cypress error messages and warnings, including messages for commands, configuration, command-line options, and test failures.
Why use it?
It helps developers explain what went wrong, why it happened, whether it may resolve on its own, and what the user should do next.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is cypress-io/cypress-design's own configuration. It tells Claude Code and Codex how to work on cypress-design 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 cypress-design configures →

Reuse

Borrowing it

Nothing to install: this file belongs to cypress-io/cypress-design. 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/cypress-io/cypress-design/main/.agents/skills/cypress-error-messages/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/cypress-io/cypress-design

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 cypress-error-messages

README.md
[![agentmods](https://agentmods.dev/badge/skills/cypress-io/cypress-design/cypress-error-messages/github.svg)](https://agentmods.dev/skills/cypress-io/cypress-design/cypress-error-messages)
Your own site
<a href="https://agentmods.dev/skills/cypress-io/cypress-design/cypress-error-messages"><img src="https://agentmods.dev/badge/skills/cypress-io/cypress-design/cypress-error-messages/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 cypress-error-messages

Your own site · 80×15
<a href="https://agentmods.dev/skills/cypress-io/cypress-design/cypress-error-messages"><img src="https://agentmods.dev/badge/skills/cypress-io/cypress-design/cypress-error-messages.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,512 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.
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.00118 $0.01512
Opus 5.5 $0.00047 $0.00605
Sonnet 5.5 $0.00024 $0.00302
Haiku 4.5 $0.00012 $0.00151

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

Security

Grade A, and why

cypress-error-messages 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.

.agents/skills/cypress-error-messages/SKILL.md · 133 lines

How it starts

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

Cypress Error Message Writer

You help write, review, and improve error messages and warnings for Cypress products. These messages can appear anywhere a developer encounters Cypress: the Cypress App UI, Cypress Cloud, the CLI, and test output. They are often the first signal a developer gets that something is wrong — your job is to make sure they leave that moment with clarity, not confusion.

Before you write

Ask the user for any missing context:

  1. What happened? What went wrong, failed, or was misconfigured?
  2. Why did it happen? Is the cause known? Is it user-controlled, a Cypress default, or an environment issue?
  3. What can the user do next? Is there a fix, a workaround, or a configuration option?
  4. Is it transient? Will this resolve on its own (e.g., rate limit reset, CI provider issue)?
  5. Are there interpreted values to show? Did Cypress resolve arguments, flags, or config that the user should see back?
  6. Is the error being captured by a monitoring system? If yes, and there is no user-actionable fix, the message may include "Our team has been notified." If no, that language must not appear.
  7. What's the on.cypress.io link? See the Links section below.

Do not write the final error message until you have enough information to answer all relevant questions. It's fine to write a draft and flag what's missing.


Error message structure

Every error message should answer these questions in order:

  1. What happened — in plain terms, no jargon
  2. Why it happened — if known; skip if genuinely unknown rather than guessing
  3. What the user should do next — specific steps or options
  4. What happens if they do nothing — if relevant (e.g., deprecation, data risk)

If the user can't answer "I know what to do next" after reading the message, revise.

Format pattern

[ErrorName or short summary line]

[One to two sentences: what happened and why, if known.]

[If values were interpreted from user input, print them here as a code block so the user can confirm what Cypress resolved.]

[Numbered steps for resolution, if multiple paths exist. Use a single sentence if only one action is needed.]

[Link: https://on.cypress.io/slug]

Read the full file on GitHub · 133 lines

Files

What ships with it

1 file 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. 2d ago First seen · 133 lines · 118 tokens per session scan A aac9da2a0dc9

Subscribe to this mod's changes

cypress-error-messages is a skill published in the GitHub repository cypress-io/cypress-design (13 stars, last pushed 3d ago), licensed MIT. It adds 118 tokens to every session and 1,512 once invoked, about $0.0005 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-10-28.

Related

Other skills, from other repositories

test-component

Runs, analyzes, and fixes cross-framework interaction, visual-snapshot, aria-snapshot, and accessibility tests for a specific DB UX component's showcase pages.

db-ux-design-system/core-web · 34 tokens

next-cache-components-optimizer

Optimize the meaningful UI available immediately from a Next.js route on an initial load (hard navigation) or named client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route and entry point at a time; the shipped test then guards…

vercel/next.js · 123 tokens

next-partial-prefetching-optimizer

Optimize what selected Next.js client navigations include before the click under Partial Prefetching. Use after Cache Components and Partial Prefetching are adopted when the user wants selected URL-specific UI to be instant, wants reusable content to wait for navigation, or needs to choose between default, viewport…

vercel/next.js · 82 tokens

vue-component-testing

Applies the three-tier test taxonomy for Vue 3 applications: writes unit tests for composables and Pinia stores with Vitest, component tests for behaviour and user interactions with @testing-library/vue, and acceptance tests for full user flows with Playwright. Ensures tests focus on observable behaviour, not…

soulcodex/agentic · 79 tokens

sigil-audit

The auditor crawls every /docs/components/ page on the local dev server and combines static MDX analysis with a real Chromium browser pass.

Kevin-Liu-01/Sigil-UI · 4 tokens

visual-qa

Use when a website needs rendered screenshot review, Playwright visual regression, multi-viewport checks, horizontal overflow detection, console-error checks, focus/state inspection, or a repeatable visual QA evidence set.

Lrinvl1203/world-class-web-design-os · 44 tokens