cypress-expert

cypress-expert is a skill for Claude Code from personamanagmentlayer/pcl. It costs 68 tokens per session (1,167 once invoked), scanned A, original, Apache-2.0.

A reference for Cypress, a JavaScript tool for testing web applications in a real browser. It covers end-to-end tests, component tests, network controls, fixtures, custom commands, and test organization.

In plain words
What is it for?
It is for writing and organizing Cypress tests, including end-to-end tests, component tests, request stubbing, screenshots, and coverage reporting.
Why use it?
It helps teams check user flows and interface behavior without building their own browser-test infrastructure.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit It is for writing and organizing Cypress tests, including end-to-end tests, component tests, request stubbing, screenshots, and coverage reporting.

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

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/personamanagmentlayer/pcl/cypress-expert"><img src="https://agentmods.dev/badge/skills/personamanagmentlayer/pcl/cypress-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,167 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
  • NVIDIA SkillSpector pass 7 Sept 2026
SkillSpector: 1 finding, up to low

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • low Excessive Agency · line 65
    Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.
    Fix: Limit the skill's scope to its documented purpose. Remove instructions that enable the agent to perform actions outside its stated functionality.
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.00068 $0.01167
Opus 5 $0.00034 $0.00583
Sonnet 5 $0.00014 $0.00233
Haiku 4.5 $0.00007 $0.00117

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

Security

Grade A, and why

cypress-expert 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 5d 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.

stdlib/qa/cypress-expert/SKILL.md · 169 lines

How it starts

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

Cypress Expert

Core Concepts

Cypress Framework

  • JavaScript-Based - Native JavaScript testing
  • Real-Time Reloads - Auto-reloading on file changes
  • Time Travel - Debug via snapshots
  • Automatic Waiting - No explicit waits needed
  • Network Control - Request stubbing and spying
  • Screenshots & Videos - Built-in capture

Test Structure

  • describe/it - Mocha-style test organization
  • Hooks - before, beforeEach, after, afterEach
  • Custom Commands - Reusable test logic
  • Fixtures - Test data management
  • Aliases - Reference DOM elements and requests
  • Chains - Fluent command interface

Advanced Features

  • Intercepts - Network request control
  • Component Testing - React, Vue, Angular components
  • Visual Testing - Applitools integration
  • Code Coverage - Test coverage reports
  • Parallelization - Cypress Cloud parallel execution
  • Plugins - Extend functionality

Best Practices

Test Organization

  • Keep tests independent and isolated
  • Use descriptive test names
  • Group related tests with describe blocks
  • Use beforeEach for common setup
  • Clean up after tests
  • Avoid test interdependencies

Selectors

  • Prefer data-* attributes for testing
  • Use cy.contains() for text-based selection
  • Avoid CSS classes and IDs tied to styling
  • Use role-based selectors when possible
  • Create stable selectors
  • Document selector strategies

Assertions

  • Use should() for auto-retry assertions
  • Chain assertions when appropriate
  • Test both positive and negative cases
  • Provide meaningful assertion messages
  • Use explicit assertions
  • Verify multiple aspects

Performance

  • Use cy.session() for authentication
  • Leverage fixtures for test data
  • Mock external API calls
  • Minimize page visits
  • Use aliases to avoid repeated queries
  • Run tests in parallel with Cypress Cloud

Anti-Patterns

Common Mistakes

  • Using cy.wait() with arbitrary time
  • Not using data-testid attributes
  • Overly complex test logic
  • Sharing state between tests
  • Testing implementation details
  • Missing cleanup in afterEach

Read the full file on GitHub · 169 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. 5d ago First seen · 169 lines · 68 tokens per session scan A fdeca184301e

Subscribe to this mod's changes

cypress-expert is a skill published in the GitHub repository personamanagmentlayer/pcl (40 stars, last pushed 3d ago), licensed Apache-2.0. It adds 68 tokens to every session and 1,167 once invoked, about $0.0003 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-09-05.

Related

Other skills, from other repositories