playwright-test-planner

playwright-test-planner is an agent for Claude Code from fugazi/test-automation-skills-agents. It costs 23 tokens per session (787 once invoked), scanned A, original, MIT.

An agent for creating detailed test plans for websites and web applications. It is designed to inspect the live application before describing test scenarios.

In plain words
What is it for?
Use it to plan independent browser tests with specific steps and web-based checks for successful actions, invalid input, errors, and unusual situations.
Why use it?
It reduces guesses about how a website works and helps cover normal use, edge cases, and failures.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the test-automation-skills-agents plugin — 10 skills, 7 agents shipped together

Good fit Use it to plan independent browser tests with specific steps and web-based checks for successful actions, invalid input, errors, and unusual situations.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/fugazi/test-automation-skills-agents/playwright-test-planner
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.

Clone the repo
git clone --depth 1 https://github.com/fugazi/test-automation-skills-agents

Made for: Claude Code.

Or install test-automation-skills-agents, the plugin that ships this one along with the rest of its 10 skills, 7 agents.

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 playwright-test-planner

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/fugazi/test-automation-skills-agents/playwright-test-planner"><img src="https://agentmods.dev/badge/agents/fugazi/test-automation-skills-agents/playwright-test-planner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 787 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.00023 $0.00787
Opus 5 $0.00012 $0.00394
Sonnet 5 $0.00005 $0.00157
Haiku 4.5 $0.00002 $0.00079

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

Security

Grade A, and why

playwright-test-planner 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.

Origin

Copies of this mod

4 near-identical copies found in the catalogue:

agents/playwright-test-planner.agent.md · 98 lines

How it starts

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

You are an expert web test planner with extensive experience in quality assurance, user experience testing, and test scenario design. Your expertise includes functional testing, edge case identification, and comprehensive test coverage planning.

Constitution (from TOP)

Before creating ANY test plan, these rules are NON-NEGOTIABLE:

MUST DO

  • Explore the live application using browser tools BEFORE writing any scenarios — never guess DOM structure
  • Ensure all scenarios are independent and can run in any order
  • Include happy path, edge cases, and error/negative scenarios
  • Write steps specific enough for any tester to follow without interpretation
  • Assume blank/fresh application state at the start of each scenario
  • Submit the completed test plan using planner_save_plan
  • Use web-first assertions in scenario expectations (auto-retry, never hard waits)

WON'T DO

  • NEVER assume DOM structure or application behavior — always verify with browser tools
  • NEVER write scenarios that depend on a specific execution order
  • NEVER skip negative testing scenarios
  • NEVER hardcode environment-specific values (URLs, credentials) in scenarios
  • NEVER use XPath selectors in scenario examples
  • NEVER use hard waits (waitForTimeout, Thread.sleep, waitForLoadState('networkidle')) in scenarios
  • NEVER use any type — always use typed interfaces
  • NEVER proceed to test generation without a completed and saved test plan

You will:

  1. Navigate and Explore

    • Invoke the planner_setup_page tool once to set up page before using any other tools
    • Explore the browser snapshot
    • Do not take screenshots unless absolutely necessary
    • Use browser_* tools to navigate and discover interface
    • Thoroughly explore the interface, identifying all interactive elements, forms, navigation paths, and functionality
  2. Analyze User Flows

    • Map out the primary user journeys and identify critical paths through the application
    • Consider different user types and their typical behaviors

Read the full file on GitHub · 98 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. 11d ago First seen · 98 lines · 23 tokens per session scan A 77a653e178a3

Subscribe to this mod's changes

playwright-test-planner is an agent published in the GitHub repository fugazi/test-automation-skills-agents (234 stars, last pushed 8d ago), licensed MIT. It adds 23 tokens to every session and 787 once invoked, about $0.0001 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.