Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/dork-labs/dorkosnpx agentmods add skills/dork-labs/dorkos/browser-testingWrote 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/dork-labs/dorkos/browser-testing)<a href="https://agentmods.dev/skills/dork-labs/dorkos/browser-testing"><img src="https://agentmods.dev/badge/skills/dork-labs/dorkos/browser-testing/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/dork-labs/dorkos/browser-testing"><img src="https://agentmods.dev/badge/skills/dork-labs/dorkos/browser-testing.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 MCP Rug Pull · line 126 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]
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.00055 | $0.02985 |
| Opus 5.5 | $0.00022 | $0.01194 |
| Sonnet 5.5 | $0.00011 | $0.00597 |
| Haiku 4.5 | $0.00006 | $0.00298 |
Grade A, and why
browser-testing 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 9d 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 — 223 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Browser Testing Methodology
1. When to Write a Browser Test vs Unit Test
Browser test (Playwright):
- Cross-component flows (sidebar click updates chat panel)
- SSE streaming verification (message send → streaming indicator → response rendered)
- Real API calls through the full stack (client → Hono → Agent SDK)
- CSS/layout regressions visible only in a real browser
- Browser-specific behavior (keyboard shortcuts, focus management)
Unit test (Vitest):
- Individual component rendering and props
- Hook logic and state transitions
- Service functions and data transformations
- Schema validation (Zod)
- Pure utility functions
Rule of thumb: If the behavior spans multiple FSD layers or requires a real server, it's a browser test.
Browser tests are the most expensive tests we have. The full suite runs on main after each merge; pull requests and the merge queue run only the specs tagged @smoke, as the required browser-test check (contributing/ci.md). They are the slowest and the flakiest, and each one is a journey someone has to keep working. Before adding a spec, look for an existing journey that can take one more step. A spec that only proves what a component or route test already proves is deleted, not kept "for safety". The keep-or-delete rubric is .claude/rules/testing.md, "Is this test worth keeping?", and the pruning-tests skill covers removing specs.
2. Page Object Model Patterns
POMs live in apps/e2e/pages/ and are injected as Playwright fixtures via fixtures/index.ts.
Each POM encapsulates locators and interaction methods for one page or component:
// apps/e2e/pages/FeaturePage.ts
import type { Page, Locator } from '@playwright/test';
export class FeaturePage {
readonly page: Page;
readonly primaryAction: Locator;
constructor(page: Page) {
this.page = page;
this.primaryAction = page.getByRole('button', { name: /action/i });
}
async doAction() {
await this.primaryAction.click();
}
}
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.
- 9d ago Changed · +2 lines c1c0d648c1a8
- 1mo ago Changed 416fb0f8da17
- 1mo ago Changed 1d8381016267
- 2mo ago Changed · -4 lines c631d68549b8
- 2mo ago Changed · +1 lines bfba42216c13
- 3mo ago Changed 2940a7ee1380
- 3mo ago First seen · 224 lines · 55 tokens per session scan A 0461246aebc5
browser-testing is a skill published in the GitHub repository dork-labs/dorkos (11 stars, last pushed today), licensed MIT. It adds 55 tokens to every session and 2,985 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-31.
browser-testing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| browser-testingdork-labs/dorkos | Skill | 11 | today | MIT | A | 55 | Claude Code |
| test-reportingaden-hive/hive | Skill | 11k | 5d ago | Apache-2.0 | A | 0 | Claude Code |
| self-testingshabaraba/vibing.nvim | Skill | 13 | today | MIT | A | 105 | Claude Code |
| test-designshabaraba/vibing.nvim | Skill | 13 | today | MIT | A | 82 | Claude Code |
| add-integration-testtmj-90/gaffer | Skill | 1 | 4d ago | Apache-2.0 | A | 91 | Claude Code, Codex |
| e2e-browser-testtmj-90/gaffer | Skill | 1 | 4d ago | Apache-2.0 | A | 87 | Claude Code, Codex |
| webapp-testingthevibeworks/claude-code-docs | Skill | 183 | today | MIT | A | 35 | Claude Code, Codex |