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.
npx skills add idavidov13/agentic-playwright --skill page-objectsgit clone --depth 1 https://github.com/idavidov13/agentic-playwrightWrote 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.
[](https://agentmods.dev/skills/idavidov13/agentic-playwright/page-objects)<a href="https://agentmods.dev/skills/idavidov13/agentic-playwright/page-objects"><img src="https://agentmods.dev/badge/skills/idavidov13/agentic-playwright/page-objects/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.
<a href="https://agentmods.dev/skills/idavidov13/agentic-playwright/page-objects"><img src="https://agentmods.dev/badge/skills/idavidov13/agentic-playwright/page-objects.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, 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 Agent Snooping · line 205 Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00056 | $0.00733 |
| Opus 5.5 | $0.00022 | $0.00293 |
| Sonnet 5.5 | $0.00011 | $0.00147 |
| Haiku 4.5 | $0.00006 | $0.00073 |
Grade A, and why
page-objects 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 27d 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.
How it starts
The opening of the file, as written. The whole thing — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Page Objects
Critical
-
Explore the live page with
playwright-clibefore writing any locator (selectors). If the app is unreachable, stop and say so; never ship placeholder locators. -
Locators are
getaccessors returningLocator. The constructor isconstructor(private readonly page: Page). Imports come from@playwright/test, never fromfixtures/pom/test-options.ts. -
JSDoc is Forbidden on locator getters and on any method returning a
Locator. JSDoc with@paramand@returnsis required on every action and verification method.// CORRECT get submitButton(): Locator { return this.page.getByRole('button', { name: 'Submit' }); } // WRONG /** The submit button. */ get submitButton(): Locator { return this.page.getByRole('button', { name: 'Submit' }); } -
A page object for a form or CRUD screen has three groups: interactive locators, feedback locators (success, error, field validation), action methods. Feedback locators are not optional;
selectorslists what to capture. -
Strings inside
getByText(...)come fromenums/{area}/*(Messages.LOGIN_ERROR), never literals. -
Action methods do not assert; a verification method named
xxxAndVerify()may callexpect. Waits arepage.waitForResponse(...)or web-first assertions, neverpage.waitForTimeout(...). -
A fragment shared by several pages (header, modal, sidebar) is a component in
pages/components/, held asreadonly nav: NavigationComponentand created in the constructor. -
Every new page object is registered in
fixtures/pom/page-object-fixture.ts; tests receive it from the fixture (fixtures).
Procedure
- Run
ls pages/to resolve{area}. File:pages/{area}/<name>.page.ts, orpages/components/<name>.component.tsfor a fragment. - Explore the page with
playwright-cliperselectors; record each element's role, accessible name, label or test id, and the exact text of every feedback message. - A message or route that has no enum member yet is added per
enumsbefore the class is written. - Write the class from
references/class-pattern.md: locators in priority order (selectors), feedback locators, action methods with explicit return types and JSDoc. - A fragment used by more than one page becomes a component per
references/components.md. - Register: import the class, add it to
FrameworkFixtures, add the fixture body, each shaped like theappPageentries infixtures/pom/page-object-fixture.ts. NomergeTestschange. - Run
npm run lint; write or update the spec pertest-standardsand run it.
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.
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.
- 27d ago Changed · -247 lines · -73 tokens per session 95757f0d177c
- 3mo ago First seen · 293 lines · 129 tokens per session scan A 28e50e48881d
page-objects is a skill published in the GitHub repository idavidov13/agentic-playwright (313 stars, last pushed 13d ago), licensed MIT. It adds 56 tokens to every session and 733 once invoked, about $0.0002 per session on Opus 5.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.
page-objects compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| page-objectsidavidov13/agentic-playwright | Skill | 313 | 13d ago | MIT | A | 56 | Claude Code, Codex |
| vindicateOpenEvident/vindicate | Skill | 45 | 2mo ago | Apache-2.0 | A | 77 | Claude Code, Codex |
| E2E Testing PatternsPramodDutta/qaskills | Skill | 253 | 28d ago | MIT | A | 35 | Claude Code, Codex |
| Laravel Dusk TestingPramodDutta/qaskills | Skill | 253 | 28d ago | MIT | A | 44 | Claude Code, Codex |
| JMeter Load TestingPramodDutta/qaskills | Skill | 253 | 28d ago | MIT | A | 32 | Claude Code, Codex |
| k6-load-testingtmolavi/mcp-agent-skills-hub | Skill | 11 | 4d ago | MIT | B | 35 | Claude Code, Codex |
| aif-testainative-build/skills | Skill | 10 | 1mo ago | MIT | A | 28 | Claude Code |