cypress-automation

cypress-automation is a skill for Claude Code, Codex from petrkindlmann/qa-skills. It costs 185 tokens per session (4,226 once invoked), scanned A, original, MIT.

A toolkit for building Cypress browser tests in TypeScript. Cypress is a testing tool that can exercise a website end to end or test one interface component in isolation.

In plain words
What is it for?
Writing end-to-end and component tests, creating reusable commands, simulating API failures, testing SSO or OAuth flows, and running suites in continuous integration or Cypress Cloud.
Why use it?
It provides patterns for controlling network requests, handling logins and redirects, and dealing with Cypress's queued commands and automatic retries.

Skill for Claude CodeCodex

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

Good fit Writing end-to-end and component tests, creating reusable commands, simulating API failures, testing SSO or OAuth flows, and running suites in continuous integration or Cypress Cloud.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/petrkindlmann/qa-skills/cypress-automation
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.

Any agent
npx skills add petrkindlmann/qa-skills --skill cypress-automation
Clone the repo
git clone --depth 1 https://github.com/petrkindlmann/qa-skills

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-automation

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/petrkindlmann/qa-skills/cypress-automation"><img src="https://agentmods.dev/badge/skills/petrkindlmann/qa-skills/cypress-automation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 185 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,226 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
  • Socket pass 11 May 2026
  • Snyk pass 11 May 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.00185 $0.04226
Opus 5 $0.00093 $0.02113
Sonnet 5 $0.00037 $0.00845
Haiku 4.5 $0.00018 $0.00423

Measured 11d ago against content hash ebe5c9195aa8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

cypress-automation 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 11d 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-automation/SKILL.md · 271 lines

How it starts

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

Quick Route

You need to... Go to
Write an E2E spec (load, intercept, assert) Core Principles + references/intercept-patterns.md
Add a typed custom command / cy.session login Custom Commands + references/config-and-commands.md
Mount and test a single component Component Testing + references/component-and-fixtures.md
Scaffold cypress.config.ts / project layout Project Structure + references/config-and-commands.md
Stub, spy, simulate errors, or poll an API cy.intercept Patterns + references/intercept-patterns.md
Run in CI / parallelize on Cypress Cloud CI Integration + references/ci-recipes.md
Handle an SSO / OAuth redirect Cross-Origin Flows + references/intercept-patterns.md

Discovery Questions

Check .agents/qa-project-context.md first -- if it exists, use it and skip questions already answered there.

  1. Component testing, E2E, or both? Component testing mounts individual components in isolation; E2E tests the full app through the browser. Most projects need both. Component testing requires a framework-specific mount (React, Vue, Angular, Svelte).
  2. Cypress Cloud? Cloud provides parallelization, flake detection, analytics, Test Replay, and the AI add-on. If the team uses it, configure projectId and the record key. If not, everything runs locally or in CI without Cloud.
  3. TypeScript? Strongly recommended and the default here -- Cypress supports it natively. All examples use TypeScript.
  4. Framework and bundler? React + Vite, Next.js + Webpack, Vue + Vite, Angular -- component-testing config depends on this.
  5. Cross-origin auth? If login redirects to a separate domain (SSO, OAuth provider), you need cy.origin. Note it now so the login command is built for it.
  6. Existing suite or fresh start? If migrating, start with the flakiest or most critical tests, not a big-bang rewrite (see test-migration).

Read the full file on GitHub · 271 lines

Files

What ships with it

4 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. 11d ago First seen · 271 lines · 185 tokens per session scan A ebe5c9195aa8

Subscribe to this mod's changes

cypress-automation is a skill published in the GitHub repository petrkindlmann/qa-skills (118 stars, last pushed 3mo ago), licensed MIT. It adds 185 tokens to every session and 4,226 once invoked, about $0.0009 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.

Related

Other skills, from other repositories

Console Error Hunter

Systematically detect, capture, and categorize browser console errors, warnings, and unhandled exceptions during automated test execution.

PramodDutta/qaskills · 26 tokens

Geb Testing

Browser automation testing with Geb framework for Groovy/JVM using jQuery-like content DSL, Page Object pattern, Spock integration, and WebDriver abstraction.

PramodDutta/qaskills · 34 tokens

playwright-e2e

Comprehensive end-to-end testing skill using Playwright for web applications, covering page objects, selectors, assertions, waits, fixtures, and test organization.

PramodDutta/qaskills · 36 tokens

e2e-testing-claude-code

Make Claude Code write and maintain end-to-end tests like a senior SDET — Playwright and Cypress flows with stable locators, the Page Object Model, fixtures, reused auth state, network mocking, and flake-free CI. Claude Code E2E testing, done right.

PramodDutta/qaskills · 65 tokens

Browser Agent QA Testing

Teach agents to use AI browser agents for exploratory and smoke QA with step budgets, evidence-based assertions, guardrails, and Playwright conversion.

PramodDutta/qaskills · 33 tokens

playwright-execute

Run Playwright tests or suites and upload the resulting report to Katalon True Platform. Use when you need to execute Playwright scripts, package scripts, spec files, projects, or suites, configure or verify @katalon/playwright-reporter, upload Playwright reports with Katalon CLI/reporter commands, and verify uploaded…

katalon-labs/true-skills · 122 tokens