debugging

debugging is a skill for Claude Code, Codex from idavidov13/agentic-playwright. It costs 66 tokens per session (1,043 once invoked), scanned A, original, MIT.

A guide for finding and fixing failed Playwright tests. Playwright is a tool that automates browsers to test web applications, and this guide explains how to read its errors, traces, screenshots, videos, and network failures.

In plain words
What is it for?
Use it to investigate timeouts, missing or ambiguous page elements, schema changes, network problems, and failures reported by continuous integration systems.
Why use it?
It helps identify the real cause of a failure instead of hiding it with longer timeouts, skipped tests, or fixed delays. It also requires fixes to be reproduced locally before they are accepted.

Skill for Claude CodeCodex

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

Good fit Use it to investigate timeouts, missing or ambiguous page elements, schema changes, network problems, and failures reported by continuous integration systems.

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

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 debugging

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/idavidov13/agentic-playwright/debugging"><img src="https://agentmods.dev/badge/skills/idavidov13/agentic-playwright/debugging.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,043 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 50 findings, up to medium

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 →

  • medium MCP Rug Pull · line 21
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 216
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 21
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 54
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 55
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 56
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 59
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 98
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 101
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 123
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 134
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 140
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 143
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 144
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 147
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 150
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 151
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 154
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 155
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 156
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00066 $0.01043
Opus 5.5 $0.00026 $0.00417
Sonnet 5.5 $0.00013 $0.00209
Haiku 4.5 $0.00007 $0.00104

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

Security

Grade A, and why

debugging scanned grade A with 1 finding 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 13d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| `page.goto ... Timeout` | wrong `APP_URL`, env file not loaded, app down | `curl` the URL, `ls env/`; `config` |
.agents/skills/debugging/SKILL.md · 48 lines

How it starts

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

Debugging

Critical

  • Read the failure message before touching code. Note the test, failed call, expected and received values, and line.
  • Never suppress a failure. No test.skip without // FIXME: <ticket-url> or an approved quarantine, no loosened assertion or schema, no timeout bump, no try/catch around expect. A response that disagrees with the documented contract follows the api-testing protocol.
  • Never add page.waitForTimeout(...) to fix timing. Use a web-first assertion or page.waitForResponse(...) in the page-object action.
  • Never ship a fix you could not reproduce. Reproduce locally or replay the CI artifacts first.
  • Traces exist only after a retry. trace: 'on-first-retry' with retries: 0 locally means no trace; run with --trace on or use UI Mode.
  • Unresolved flakes: investigate, propose quarantine for human approval; see references/quarantine.md.
  • A flake fix needs 5 consecutive green runs of the affected file with --workers=1 --retries=0.
  • Never commit test.only; narrow with a file path or --grep. After every fix, npm run lint and the affected file must be green.

Procedure

  1. Read the failure output in full.

  2. Classify with the table; the next step names the tool and owning skill.

    Symptom Likely cause Next step
    locator.click ... Timeout, or "not attached to the DOM" wrong locator, disabled element, action raced a navigation trace or UI Mode at the failing action; fix the getter (selectors) or the action's wait (page-objects)
    expect(locator).toBeVisible() ... Timeout element not visible, wrong locator, race with navigation UI Mode snapshot before the assertion; fix the locator or the preceding action
    page.goto ... Timeout wrong APP_URL, env file not loaded, app down curl the URL, ls env/; config
    strict mode violation ... resolved to N elements selector too loose selectors: { exact: true } or scope to a parent
    Expected: "X" / Received: "Y" page state, data or an enum value drifted compare on the live app; a Messages.* drift → refactor-values
    ZodError from Schema.parse(body) response disagrees with the schema documented contract → bug, api-testing protocol; undocumented → update the schema (type-safety)
    ECONNREFUSED, ENOTFOUND, 5xx, or 401 on a protected route wrong API_URL, API down, token not loaded config; helpers (auth bootstrap)
    ENOENT ... appStorageState.json the setup-ui project did not run or failed npx playwright test --project setup-ui; check env/.env.dev
    appPage is undefined, cannot read property of undefined fixture not registered, test imported from @playwright/test fixtures; npm run lint
    green alone, red in the suite shared state between tests, missing resetStorageState test-standards (independence)

Read the full file on GitHub · 48 lines

Files

What ships with it

3 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. 13d ago Changed · +3 lines b311bb80ffce
  2. 27d ago Changed · -220 lines · -113 tokens per session ab18d4995250
  3. 3mo ago First seen · 265 lines · 179 tokens per session scan A c89a87561f34

Subscribe to this mod's changes

debugging is a skill published in the GitHub repository idavidov13/agentic-playwright (313 stars, last pushed 13d ago), licensed MIT. It adds 66 tokens to every session and 1,043 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

debugging compared with skills from other repositories

debugging next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
debuggingidavidov13/agentic-playwrightSkill31313d agoMITA66Claude Code, Codex
fs-validatefetchsandbox/mcpSkill1yesterdayMITA62Cursor
vindicateOpenEvident/vindicateSkill452mo agoApache-2.0A77Claude Code, Codex
running-bug-review-boardRayFernando1337/rayfernando-skillsSkill1322d agoApache-2.0A96Claude Code
qa-knowledgegriddynamics/rosettaSkill382todayApache-2.0A32Claude Code, Codex
E2E Testing PatternsPramodDutta/qaskillsSkill25328d agoMITA35Claude Code, Codex
Laravel Dusk TestingPramodDutta/qaskillsSkill25328d agoMITA44Claude Code, Codex