Browser Debugging

Browser Debugging is a skill for Claude Code, Codex from nxtg-ai/forge-plugin. It costs 115 tokens per session (1,888 once invoked), scanned A, original, MIT.

A browser-debugging guide for inspecting a running web dashboard with an automated Chromium browser. It covers console messages, screenshots, page structure, and network requests.

In plain words
What is it for?
Use it to inspect browser errors and warnings, examine the page structure, capture screenshots, and check network activity after web-interface changes.
Why use it?
It helps diagnose blank or broken pages by showing what the browser reports and what the page actually renders.

Skill for Claude CodeCodex

Part of the nxtg-forge plugin — 27 skills, 3 hooks, 3 MCP servers shipped together

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.

agentmods
npx agentmods add skills/nxtg-ai/forge-plugin/browser-debugging
Any agent
npx skills add nxtg-ai/forge-plugin --skill browser-debugging
Clone the repo
git clone --depth 1 https://github.com/nxtg-ai/forge-plugin

Made for: Claude Code, Codex.

Or install nxtg-forge, the plugin that ships this one along with the rest of its 27 skills, 3 hooks, 3 MCP servers.

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 Browser Debugging

README.md
[![agentmods](https://agentmods.dev/badge/skills/nxtg-ai/forge-plugin/browser-debugging.svg)](https://agentmods.dev/skills/nxtg-ai/forge-plugin/browser-debugging)
Your own site
<a href="https://agentmods.dev/skills/nxtg-ai/forge-plugin/browser-debugging"><img src="https://agentmods.dev/badge/skills/nxtg-ai/forge-plugin/browser-debugging.svg" alt="Measured on agentmods" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,888 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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.00115 $0.01888
Opus 5 $0.00057 $0.00944
Sonnet 5 $0.00023 $0.00378
Haiku 4.5 $0.00012 $0.00189

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

Security

Grade A, and why

Browser Debugging scanned grade A with 1 finding 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 2d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

allowed-tools: Bash(curl *), Bash(npm run *), mcp__playwright__browser_navigate, mcp__playwright__browser_snapshot, mcp__playwright__browser_take_screenshot, mcp__playwright__browser_console_messages, mcp__playwright__br
plugins/nxtg-forge/skills/browser-debugging/SKILL.md · 135 lines

How it starts

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

Browser Debugging Skill

Drive a real (headless) Chromium against the running NXTG-Forge dashboard from inside Claude Code, using the Playwright MCP server. No Windows Chrome dependency — Playwright launches its own headless Chromium inside WSL.

Where the tools come from (read first)

The Playwright MCP server is registered in forge-ui/.mcp.json, NOT in the plugin's .mcp.json (which only registers governance / orchestrator / semgrep). The browser_* tools only exist when a Claude Code session has forge-ui/.mcp.json loaded — i.e. you are working in the forge-ui/ repo. From the plugin repo alone they are unavailable. Config as shipped:

"playwright": { "command": "npx", "args": ["@playwright/mcp@latest", "--headless", "--console-level", "debug"] }

Two consequences of that exact config:

  • --console-level debugbrowser_console_messages returns verbose debug logs, not just errors. Filter for error/warning yourself; do not assume a clean-looking tail means no errors.
  • No --caps flag → the pdf, vision (coordinate clicks/screenshots), and devtools capabilities are OFF. browser_pdf_save and coordinate-based interaction are not available here.

Prerequisites

Start both servers from forge-ui/ (one command starts Vite :5050 + Express API :5051):

cd forge-ui && npm run dev

Confirm they're up before driving the browser:

curl -sf http://localhost:5050 >/dev/null && echo "UI up"
curl -sf http://localhost:5051/api/health >/dev/null && echo "API up"

Core tools (Playwright MCP)

Task Tool
Go to a URL browser_navigate
Get the DOM as an accessibility tree (+ element refs) browser_snapshot
Capture the page as an image browser_take_screenshot
Read console output browser_console_messages
List HTTP requests the page made browser_network_requests
Wait for text / state (not a fixed sleep) browser_wait_for
Click / type on a snapshot element browser_click / browser_type (need a ref)
Run JS in page context browser_evaluate
Multiple tabs browser_tabs (single tool, action arg)

Read the full file on GitHub · 135 lines

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. 2d ago First seen · 135 lines · 115 tokens per session scan A 7871a04bcf60

Subscribe to this mod's changes

Browser Debugging is a skill published in the GitHub repository nxtg-ai/forge-plugin (5 stars, last pushed 2d ago), licensed MIT. It adds 115 tokens to every session and 1,888 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

agent-browser

Core agent-browser usage guide. Read this before running any agent-browser commands. Covers the snapshot-and-ref workflow, navigating pages, interacting with elements (click, fill, type, select), extracting text and data, taking screenshots, managing tabs, handling forms and auth, waiting for content, running multiple…

vmehera123/leashd · 113 tokens

browser-tools

Security wrapper over the upstream agent-browser skill, adding URL blocklisting, rate limiting, robots.txt enforcement, and scraping guardrails. Use when automating browser workflows that need safety limits.

yonatangross/orchestkit · 40 tokens

orloj-generator

Interactive scaffold generator for Orloj multi-agent systems. Use this skill whenever someone wants to create, set up, scaffold, bootstrap, or generate an Orloj agent system, pipeline, swarm, or hierarchy. Also trigger when users mention "orlojctl init", ask how to get started with Orloj, want to build a multi-agent…

OrlojHQ/orloj · 168 tokens

vc-agent-browser

AI-optimized browser automation CLI with context-efficient snapshots. Use for long autonomous sessions, self-verifying workflows, video recording, and cloud browser testing (Browserbase).

withkynam/vibecode-pro-max-kit · 37 tokens

vc-web-testing

Web testing with Playwright, Vitest, k6. E2E/unit/integration/load/security/visual/a11y testing. Use for test automation, flakiness, Core Web Vitals, mobile gestures, cross-browser.

withkynam/vibecode-pro-max-kit · 51 tokens

bluesky-engagement

Automated Bluesky reply monitoring and draft queueing for ThumbGate's acquisition engagement loop. Polls the AT Protocol notifications endpoint every 15 minutes, writes human-reviewable draft replies into a queue file, and never auto-posts without sign-off. Trigger when the user asks about Bluesky replies, engagement…

IgorGanapolsky/ThumbGate · 96 tokens