Browser Debugging

Browser Debugging is a skill for Claude Code from nxtg-ai/forge-plugin. It costs 115 tokens per session (2,330 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 Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Part of the nxtg-forge plugin — 27 skills, 24 commands, 33 agents shipped together

Good fit Use it to inspect browser errors and warnings, examine the page structure, capture screenshots, and check network activity after web-interface changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nxtg-ai/forge-plugin/browser-debugging
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 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.

Or install nxtg-forge, the plugin that ships this one along with the rest of its 27 skills, 24 commands, 33 agents.

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/github.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/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 Browser Debugging

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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 2,330 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00115 $0.02330
Opus 5.5 $0.00046 $0.00932
Sonnet 5.5 $0.00023 $0.00466
Haiku 4.5 $0.00012 $0.00233

Measured 1mo ago against content hash a12bcb1d30e5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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 · 155 lines

How it starts

The opening of the file, as written. The whole thing — 155 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 debug → browser_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. Since forge-ui v3.4.1 every /api route, health included, needs this install's access token (forge-ui docs/api/LOCAL-CLIENT-AUTH.md), so an unauthenticated health check gets 401 and never prints "API up":

# forge-ui health (local-client auth, forge-ui v3.4.1+)
curl -sf -m 5 http://localhost:5050 >/dev/null && echo "UI up"
FORGE_UI_API="${FORGE_UI_API:-http://127.0.0.1:5051}"
f="${FORGE_UI_SECRET_FILE:-${XDG_CONFIG_HOME:-$HOME/.config}/nxtg-forge/ui-secret}"
printf 'header = "Authorization: Bearer %s"\n' "$(cat "$f")" |
  curl -sf -m 5 -K - -o /dev/null "$FORGE_UI_API/api/health" && echo "API up"

Read the full file on GitHub · 155 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. 1mo ago Changed · +20 lines a12bcb1d30e5
  2. 2mo 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 (7 stars, last pushed today), licensed MIT. It adds 115 tokens to every session and 2,330 once invoked, about $0.0005 per session on Opus 5.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

Browser Debugging compared with skills from other repositories

Browser Debugging next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Browser Debuggingnxtg-ai/forge-pluginSkill7todayMITA115Claude Code
chrome-devtools-cliChromeDevTools/chrome-devtools-mcpSkill60kyesterdayApache-2.0A31Claude Code
chrome-performance-optimizerchromium/chromiumSkill25ktodayBSD-3-ClauseA119Claude Code, Codex
reenable-testchromium/chromiumSkill25ktodayBSD-3-ClauseA85Claude Code, Codex
remove-circular-includeschromium/chromiumSkill25ktodayBSD-3-ClauseA37Claude Code, Codex
moli-webfetchlexmount/moliSkill25ktodayApache-2.0A90Codex
experimental-code-coverage-local-debuggerchromium/chromiumSkill25ktodayBSD-3-ClauseA59Claude Code, Codex