bxc-next-playwright

bxc-next-playwright is a skill for Claude Code from aphrody-code/bxc. It costs 72 tokens per session (460 once invoked), scanned A, original, Apache-2.0.

A browser-testing helper for checking instant navigation in Next.js applications through bxc, a browser runner that uses Chrome's debugging connection. It also adapts bxc pages to the shape expected by existing Playwright-style tests.

In plain words
What is it for?
Use it to test Next.js navigation, pass the required navigation state through browser cookies, adapt page objects, and report test steps.
Why use it?
It lets navigation tests use bxc without adding Playwright as a runtime dependency. It also provides cookie handling and step reporting needed by this testing protocol.

Skill for Claude Code

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

Part of the bxc plugin — 22 skills, 3 commands shipped together

Good fit Use it to test Next.js navigation, pass the required navigation state through browser cookies, adapt page objects, and report test steps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aphrody-code/bxc/bxc-next-playwright
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 aphrody-code/bxc --skill bxc-next-playwright
Clone the repo
git clone --depth 1 https://github.com/aphrody-code/bxc

Made for: Claude Code.

Or install bxc, the plugin that ships this one along with the rest of its 22 skills, 3 commands.

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 bxc-next-playwright

README.md
[![agentmods](https://agentmods.dev/badge/skills/aphrody-code/bxc/bxc-next-playwright/github.svg)](https://agentmods.dev/skills/aphrody-code/bxc/bxc-next-playwright)
Your own site
<a href="https://agentmods.dev/skills/aphrody-code/bxc/bxc-next-playwright"><img src="https://agentmods.dev/badge/skills/aphrody-code/bxc/bxc-next-playwright/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 bxc-next-playwright

Your own site · 80×15
<a href="https://agentmods.dev/skills/aphrody-code/bxc/bxc-next-playwright"><img src="https://agentmods.dev/badge/skills/aphrody-code/bxc/bxc-next-playwright.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 460 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.00072 $0.00460
Opus 5 $0.00036 $0.00230
Sonnet 5 $0.00014 $0.00092
Haiku 4.5 $0.00007 $0.00046

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

Security

Grade A, and why

bxc-next-playwright 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 4d 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.

plugins/bxc/skills/bxc-next-playwright/SKILL.md · 36 lines

What it actually says

@aphrody/next-playwright

Portage de la primitive instant() de @next/playwright sur le runner CDP de bxc (packages/next-playwright) — sans dépendance runtime à @playwright/test.

Surface

Symbole Fichier Rôle
instant, INSTANT_COOKIE src/index.ts Primitive de test de navigation instantanée
CdpCookieContext src/context.ts Contexte de cookies parlant CDP
adaptPage src/index.ts Adapte une page bxc à la forme attendue
step, setStepReporter, Step src/step.ts Rapport d'étapes
CdpSend, PwCookie, PwCookieParam, PlaywrightPage, PlaywrightBrowserContext, BxcPageLike Types de la frontière

instant() communique avec Next via le cookie next-instant-navigation-testing, posé et relu par Network.setCookies / Network.getCookies / Network.deleteCookies. Tout passe par CdpSend : aucune API Playwright n'est appelée à l'exécution, seules les formes de Playwright sont reproduites pour que le code de test existant compile. Ne pas réintroduire @playwright/test en dépendance runtime — c'est tout l'intérêt du paquet.

Le cookie doit être supprimé en fin de test : un cookie oublié fait passer la navigation suivante pour instantanée alors qu'elle ne l'est pas.

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. 4d ago First seen · 36 lines · 72 tokens per session scan A aed04c21dafc

Subscribe to this mod's changes

bxc-next-playwright is a skill published in the GitHub repository aphrody-code/bxc (3 stars, last pushed 3d ago), licensed Apache-2.0. It adds 72 tokens to every session and 460 once invoked, about $0.0004 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-09-05.

Related

Other skills, from other repositories

BrowserBash Browser Automation

BrowserBash is a vendor-independent, natural-language browser automation CLI. Drive a real browser from plain-English objectives or committable Markdown tests, run on local Chrome, CDP/Playwright MCP, Browserbase, LambdaTest, or BrowserStack, and stream NDJSON results with CI exit codes — using free local Ollama…

PramodDutta/qaskills · 79 tokens

qprobe

QUESTPIE Probe — dev testing CLI for AI coding agents. Start servers, test APIs, control browsers via agent-browser, record and replay regression tests with zero tokens. Use when testing web apps, starting dev servers, reading logs, debugging errors, making API calls, checking browser console/network, or composing…

questpie/probe · 68 tokens

pinchtab-dev

Develop and contribute to the PinchTab project. Use when working on PinchTab source code, adding features, fixing bugs, running tests, or preparing PRs. Triggers on "work on pinchtab", "pinchtab development", "contribute to pinchtab", "fix pinchtab bug", "add pinchtab feature".

pinchtab/pinchtab · 77 tokens

actionbook-web-test

Run browser-based web tests against websites using Actionbook CLI. Activate when the user wants to test a website workflow, run smoke tests, verify a user flow, check if a web application works, run regression tests, or validate browser-based interactions. Supports test definition, execution, assertion, reporting, and…

actionbook/actionbook · 71 tokens

browser4-cli

Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.

platonai/Browser4 · 52 tokens

browser-viz-verify

Verifies that a NetClaw-generated visualization HTML file (three.js, canvas, drawio, UML, markmap) actually renders correctly — screenshot, console-error check, and an optional Lighthouse audit. Use immediately after generating any browser-based visualization output, to close the QA gap that otherwise requires a human…

automateyournetwork/netclaw · 84 tokens