cypress-docs

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

A reference skill for finding and extracting verified information from Cypress’s official documentation, including its browser-testing commands and settings.

In plain words
What is it for?
Use it to check Cypress APIs, configuration, browser support, test types, and documented behavior before making claims or writing examples.
Why use it?
It reduces the risk of relying on memory or outdated information when explaining or using Cypress.

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-docs
Any agent
npx skills add cypress-io/ai-toolkit --skill cypress-docs
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-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/cypress-io/ai-toolkit/cypress-docs.svg)](https://agentmods.dev/skills/cypress-io/ai-toolkit/cypress-docs)
Your own site
<a href="https://agentmods.dev/skills/cypress-io/ai-toolkit/cypress-docs"><img src="https://agentmods.dev/badge/skills/cypress-io/ai-toolkit/cypress-docs.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,208 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.1 $0.00041 $0.01208
Opus 5 $0.00020 $0.00604
Sonnet 5 $0.00008 $0.00242
Haiku 4.5 $0.00004 $0.00121

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

Security

Grade A, and why

cypress-docs 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.

skills/cypress-docs/SKILL.md · 190 lines

How it starts

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

Cypress Documentation

Purpose

Enable the agent to retrieve accurate, up-to-date, and verifiable information about the Cypress testing framework by prioritizing official documentation and structured sources.

When to use

Apply this skill whenever the task depends on finding, reading, or quoting Cypress documentation rather than general testing intuition:

  • Look up facts: commands, APIs, assertions, lifecycle hooks, configuration options, environment variables, CLI flags, plugins, or TypeScript types as documented by Cypress.
  • Confirm behavior: how something works in a given Cypress version, E2E vs component testing differences, browser support, or networking/cy.intercept semantics.
  • Before asserting “Cypress can/cannot…”: search docs first; do not rely on memory for exact signatures, defaults, or deprecated APIs.
  • Extract structured content: follow the LLM-optimized docs strategy below (llms.txt, /llm/*) when fetching or summarizing doc pages.
  • Ground answers for others: when explaining Cypress to a user, writing examples, or reviewing code where correctness must match official docs.

If the user only needs writing or fixing tests without a documentation lookup, prefer cypress-author; if they only need test explanation without fetching docs, prefer cypress-explain. Use this skill when official documentation is the source of truth.

Source Prioritization

Primary Sources (ALWAYS search first)

🤖 LLM-Optimized Docs Strategy

When accessing docs.cypress.io:

  1. Fetch /llms.txt

  2. Parse it to discover:

    • LLM-friendly documentation paths
    • Structured content endpoints
  3. Prefer content under /llm/*. Every path on the site has an optimized version hosted under /llm - for example, https://docs.cypress.io/app/faq is available at https://docs.cypress.io/llm/markdown/app/faq.md.

  4. Why:

    • Markdown / JSON format
    • Cleaner structure
    • Less noise than HTML

Read the full file on GitHub · 190 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. 5d ago First seen · 190 lines · 41 tokens per session scan A 9714e74ff28c

Subscribe to this mod's changes

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