pw-ui-pom

pw-ui-pom is a skill for Codex from Mallikarjun-Roddannavar/playwright-agentic-automation. It costs 61 tokens per session (980 once invoked), scanned A, original, MIT.

A set of rules for page objects and user-interface tests in a Playwright framework. A page object is code that groups the selectors and actions for one screen or page.

In plain words
What is it for?
Use it when adding or repairing UI tests, page objects, selectors, navigation, login setup, or role-based test fixtures.
Why use it?
It keeps browser interactions in one place and assertions in the tests, making UI flows easier to maintain.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when adding or repairing UI tests, page objects, selectors, navigation, login setup, or role-based test fixtures.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mallikarjun-roddannavar/playwright-agentic-automation/pw-ui-pom
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 Mallikarjun-Roddannavar/playwright-agentic-automation --skill pw-ui-pom
Clone the repo
git clone --depth 1 https://github.com/Mallikarjun-Roddannavar/playwright-agentic-automation

Made for: 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 pw-ui-pom

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mallikarjun-roddannavar/playwright-agentic-automation/pw-ui-pom"><img src="https://agentmods.dev/badge/skills/mallikarjun-roddannavar/playwright-agentic-automation/pw-ui-pom.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 980 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.00061 $0.00980
Opus 5 $0.00030 $0.00490
Sonnet 5 $0.00012 $0.00196
Haiku 4.5 $0.00006 $0.00098

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

Security

Grade A, and why

pw-ui-pom 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.

.agents/skills/pw-ui-pom/SKILL.md · 106 lines

How it starts

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

PW UI POM

Maintain the UI automation layer in a way that matches this repo's current conventions.

Use This Skill When

  • Adding a new UI scenario under ui/specs.
  • Repairing or updating an existing UI flow.
  • Cleaning up recorded or generated UI tests so they match the framework conventions.
  • Creating or changing page-object methods, selectors, waits, or navigation returns.
  • Adjusting UI auth/setup behavior in ui/setup or utils/fixtures/TestFixtures.ts.

Follow These Rules

  • Keep selectors in page objects under ui/pages.
  • Keep assertions in specs under ui/specs.
  • Do not add assertions to page objects.
  • Prefer data-testid locators and explicit user-visible locators.
  • Use aliases such as @pages/*, @utils/*, and @config/*.
  • Keep shared page behavior in ui/pages/BasePage.ts.

Inspect First

  1. Identify the impacted spec, page object, and fixture or setup file before editing.
  2. Reuse an existing page object and method before adding a new one.
  3. If the task changes auth or role setup, inspect ui/setup/auth.setup.ts and utils/fixtures/TestFixtures.ts.
  4. If the task changes navigation or route ownership, inspect ui/pages/BasePage.ts first.

Decide What To Edit

  • Edit a page object when selectors, interactions, readiness, or truthful navigation returns change.
  • Edit a spec when the scenario, test data, or user-visible expectations change.
  • Edit a fixture or setup file only when session creation, role bootstrap, or auth state behavior changes.
  • Keep the change in the narrowest layer that actually owns the behavior.

New UI Test Flow

  1. Inspect a similar spec and the target page object.
  2. Reuse existing fixture/page-object coverage before adding methods.
  3. Add selectors only to the relevant page object.
  4. Keep the spec readable and assertion-focused.
  5. Register cleanup through the shared cleanup fixture as soon as the test has the created resource id.
  6. Validate with the smallest relevant command set.

Cleanup Generated Or Recorded UI Tests

Read the full file on GitHub · 106 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. 11d ago First seen · 106 lines · 61 tokens per session scan A 052f08457287

Subscribe to this mod's changes

pw-ui-pom is a skill published in the GitHub repository Mallikarjun-Roddannavar/playwright-agentic-automation (11 stars, last pushed 5d ago), licensed MIT. It adds 61 tokens to every session and 980 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-08-31.