pw-api-pom

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

Conjunto de reglas para mantener servicios de API, especificaciones y datos de prueba en un proyecto de automatización con Playwright. Playwright es una herramienta para probar aplicaciones y sus APIs.

In plain words
What is it for?
Sirve para añadir escenarios de API, actualizar servicios y rutas, gestionar respuestas, configurar sesiones autenticadas y mantener los flujos de tokens y roles.
Why use it?
Mantiene separadas las funciones que envían solicitudes de las pruebas que comprueban resultados, haciendo más claro dónde debe ir cada cambio.

Skill for Codex

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

Good fit Sirve para añadir escenarios de API, actualizar servicios y rutas, gestionar respuestas, configurar sesiones autenticadas y mantener los flujos de tokens y roles.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mallikarjun-roddannavar/playwright-agentic-automation/pw-api-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-api-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-api-pom

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mallikarjun-roddannavar/playwright-agentic-automation/pw-api-pom"><img src="https://agentmods.dev/badge/skills/mallikarjun-roddannavar/playwright-agentic-automation/pw-api-pom.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 812 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.00064 $0.00812
Opus 5 $0.00032 $0.00406
Sonnet 5 $0.00013 $0.00162
Haiku 4.5 $0.00006 $0.00081

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

Security

Grade A, and why

pw-api-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 12d 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-api-pom/SKILL.md · 90 lines

How it starts

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

PW API POM

Maintain the API automation layer in a way that keeps tests explicit and services reusable.

Use This Skill When

  • Adding a new API scenario under api/specs.
  • Updating request/response handling in api/services.
  • Cleaning up raw API tests so they match the service/spec boundary conventions.
  • Adjusting authenticated request-context behavior in utils/fixtures/TestFixtures.ts.
  • Changing auth token flow or role bootstrap behavior.

Follow These Rules

  • Keep API services under api/services.
  • Keep API specs under api/specs.
  • Keep services assertion-free.
  • Return raw APIResponse objects from services.
  • Put assertions in specs, including negative scenarios.
  • Use aliases such as @api/*, @utils/*, and @config/*.

Inspect First

  1. Identify the affected service, spec, fixture, and any auth/bootstrap file before editing.
  2. Reuse an existing service method before adding a new one.
  3. If the task changes credentials or token flow, inspect auth setup and fixture usage together.
  4. If a route is involved, inspect BaseApiService.routes first.

Decide What To Edit

  • Edit a service when request construction, route usage, or response parsing changes.
  • Edit a spec when the expected status, payload, or role-based behavior changes.
  • Edit a fixture when authenticated request-context creation changes.
  • Keep assertion logic out of services even when handling failure paths.

New API Scenario Flow

  1. Inspect a similar spec and any related service methods.
  2. Reuse an existing authenticated fixture if one already matches the role.
  3. Add or update the service method only if the request shape is new.
  4. Keep all assertions in the spec body.
  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 Raw API Tests

  1. Treat direct request calls in specs as cleanup candidates when a service already owns that behavior.
  2. Move request construction into services.
  3. Keep assertions and negative-path expectations in specs.
  4. Reuse route constants and authenticated fixtures before adding new helpers.
  5. Keep the service reusable for both positive and negative scenarios.

Read the full file on GitHub · 90 lines

Files

What ships with it

2 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. 12d ago First seen · 90 lines · 64 tokens per session scan A 25d20938b4c7

Subscribe to this mod's changes

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