cypress-testing

cypress-testing is a skill for Claude Code, Codex from jams4code/cypress-mcp. It costs 44 tokens per session (2,145 once invoked), scanned A, original, Apache-2.0.

A guide for AI agents to perform frontend end-to-end testing with Cypress, a tool that tests web applications through real user flows.

In plain words
What is it for?
Use it to test frontend behavior, investigate failing tests, and check that existing features still work.
Why use it?
It covers the process of finding, writing, running, debugging, and regression-testing Cypress tests in the conversation.

Skill for Claude CodeCodex

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

Good fit Use it to test frontend behavior, investigate failing tests, and check that existing features still work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jams4code/cypress-mcp/skill
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 jams4code/cypress-mcp --skill skill
Clone the repo
git clone --depth 1 https://github.com/jams4code/cypress-mcp

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jams4code/cypress-mcp/skill"><img src="https://agentmods.dev/badge/skills/jams4code/cypress-mcp/skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,145 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.00044 $0.02145
Opus 5.5 $0.00018 $0.00858
Sonnet 5.5 $0.00009 $0.00429
Haiku 4.5 $0.00004 $0.00215

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

Security

Grade A, and why

cypress-testing 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 1mo 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.

skill/SKILL.md · 217 lines

How it starts

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

Frontend E2E Testing SDLC with cypress-mcp

Core Principle

The product is the discover → write → run → inspect → fix → rerun loop. Every tool exists to make one step of that loop faster. cypress_run_spec is the source of truth. If the test passes, the feature works.

Quick Reference

When Tool
Starting work cypress_doctor → cypress_discover
Understanding a spec cypress_analyze_spec
Listing specs cypress_list_specs
Running tests cypress_run_spec or cypress_run_test
Test failed cypress_get_failure_context (one call = everything you need)
See failure visually cypress_get_screenshot (read the image file directly)
After fixing code cypress_rerun_last (replays exact last command)
Check full results cypress_get_last_run
Check env config cypress_get_env
Check config or Cloud setup cypress_get_config
Share a run in Cypress Cloud cypress_run_spec with record: true, then Cloud MCP tools on data.cloud.runUrl

Phase 1: Start Every Session

cypress_doctor         → is the project healthy?
cypress_discover       → what tests exist? what's the coverage?

Never skip discovery. Never guess what tests exist. The AI must understand the test landscape before writing or running anything.

Phase 2: Write Tests

Before writing

  1. cypress_discover: see existing coverage, find gaps
  2. cypress_analyze_spec: study a similar spec to understand the project's conventions (page objects, selectors, helpers, hooks)
  3. Follow the existing patterns. Don't invent new patterns unless the project has none

Writing conventions

  • One spec per feature area: login.cy.ts, checkout.cy.ts, dashboard.cy.ts
  • Use data attributes for selectors: cy.get('[data-cy="submit"]') or cy.get('[data-test="submit"]'), never CSS classes
  • Name tests clearly: "should show error when password is invalid", not "test 2"
  • Describe blocks match feature areas: describe("Login Page", () => { ... })
  • Use beforeEach for common setup: navigation, auth, test data
  • Keep tests independent: each test should work in isolation

Read the full file on GitHub · 217 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. 1mo ago Changed · +4 lines 0aebd796ad5d
  2. 3mo ago First seen · 213 lines · 44 tokens per session scan A bd5e2e8f7ac4

Subscribe to this mod's changes

cypress-testing is a skill published in the GitHub repository jams4code/cypress-mcp (1 stars, last pushed 8d ago), licensed Apache-2.0. It adds 44 tokens to every session and 2,145 once invoked, about $0.0002 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-31.

Related

cypress-testing compared with skills from other repositories

cypress-testing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cypress-testingjams4code/cypress-mcpSkill18d agoApache-2.0A44Claude Code, Codex
e2e-testing-patternswpank/aiSkill129mo agononeA35Claude Code, Codex
E2E Testing PatternsPramodDutta/qaskillsSkill25328d agoMITA35Claude Code, Codex
cypress-tapcypress-io/ai-toolkitSkill497d agoMITA113Claude Code
cypress-cloud-clicypress-io/ai-toolkitSkill497d agoMITA79Claude Code
cypress-docscypress-io/ai-toolkitSkill497d agoMITA41Claude Code
cypress-authorcypress-io/ai-toolkitSkill497d agoMITA99Claude Code