Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

browser-debugger

FreeNo executable scriptsNot checked

Systematically tests UI functionality, validates design fidelity with AI visual analysis, monitors console output, tracks network requests, and provides…

MadAppGangby MadAppGang★ 290 GitHub stars21 installs in other catalogs

About this skill

Browser Debugger

This Skill provides comprehensive browser-based UI testing, visual analysis, and debugging capabilities using Chrome DevTools MCP server and optional external vision models via Claudish.

When to Use This Skill

Claude and agents (developer, reviewer, tester, ui-developer) should invoke this Skill when:

  • Validating Own Work: After implementing UI features, agents should verify their work in a real browser
  • Design Fidelity Checks: Comparing implementation screenshots against design references
  • Visual Regression Testing: Detecting layout shifts, styling issues, or visual bugs
  • Console Error Investigation: User reports console errors or warnings
  • Form/Interaction Testing: Verifying user interactions work correctly
  • Pre-Commit Verification: Before committing or deploying code
  • Bug Reproduction: User describes UI bugs that need investigation

Prerequisites

Required: Chrome DevTools MCP

This skill requires Chrome DevTools MCP. Check availability and install if needed:

# Check if available
mcp__chrome-devtools__list_pages 2>/dev/null && echo "Available" || echo "Not available"

# Install via claudeup (recommended)
npm install -g claudeup@latest
claudeup mcp add chrome-devtools

Optional: External Vision Models (via OpenRouter)

For advanced visual analysis, use external vision-language models via Claudish:

# Check OpenRouter API key
-n "${OPENROUTER_API_KEY}" && echo "OpenRouter configured" || echo "Not configured"

# Install claudish
npm install -g claudish

Visual Analysis Models (Recommended)

For best visual analysis of UI screenshots, use these models via Claudish:

Tier 1: Best Quality (Recommended for Design Validation)

Model Strengths Cost Best For
qwen/qwen3-vl-32b-instruct Best OCR, spatial reasoning, GUI automation, 32+ languages ~$0.06/1M input Design fidelity, OCR, element detection
google/gemini-2.5-flash Fast, excellent price/performance, 1M context ~$0.05/1M input Real-time validation, large pages
openai/gpt-4o Most fluid multimodal, strong all-around ~$0.15/1M input Complex visual reasoning

Tier 2: Fast & Affordable

Model Strengths Cost Best For
qwen/qwen3-vl-30b-a3b-instruct Good balance, MoE architecture ~$0.04/1M input Quick checks, multiple iterations
google/gemini-2.5-flash-lite Ultrafast, very cheap ~$0.01/1M input High-volume testing

Tier 3: Free Options

Model Notes
openrouter/polaris-alpha FREE, good for testing workflows

Model Selection Guide

Design Fidelity Validation → qwen/qwen3-vl-32b-instruct (best OCR & spatial)
Quick Smoke Tests → google/gemini-2.5-flash (fast & cheap)
Complex Layout Analysis → openai/gpt-4o (best reasoning)
High Volume Testing → google/gemini-2.5-flash-lite (ultrafast)
Budget Conscious → openrouter/polaris-alpha (free)

Visual Analysis Model Selection (Interactive)

Before the first screenshot analysis in a session, ask the user which model to use.

Step 1: Check for Saved Preference

First, check if user has a saved model preference:

# Check for saved preference in project settings
SAVED_MODEL=$(cat .claude/settings.json 2>/dev/null | jq -r '.pluginSettings.frontend.visualAnalysisModel // empty')

# Or check session-specific preference
if -f "ai-docs/sessions/${SESSION_ID}/session-meta.json"; then
  SESSION_MODEL=$(jq -r '.visualAnalysisModel // empty' "ai-docs/sessions/${SESSION_ID}/session-meta.json")
fi

Step 2: If No Saved Preference, Ask User

Use AskUserQuestion with these options:

## Visual Analysis Model Selection

For screenshot analysis and design validation, which AI vision model would you like to use?

**Your choice will be remembered for this session.**

AskUserQuestion options:

Option Label Description
1 qwen/qwen3-vl-32b-instruct (Recommended) Best for design fidelity - excellent OCR, spatial reasoning, detailed analysis. ~$0.06/1M tokens
2 google/gemini-2.5-flash Fast & affordable - great balance of speed and quality. ~$0.05/1M tokens
3 openai/gpt-4o Most capable - best for complex visual reasoning. ~$0.15/1M tokens
4 openrouter/polaris-alpha (Free) No cost - good for testing, basic analysis
5 Skip visual analysis Use embedded Claude only (no external models)

Recommended based on task type:

  • Design validation → Option 1 (Qwen VL)
  • Quick iterations → Option 2 (Gemini Flash)
  • Complex layouts → Option 3 (GPT-4o)
  • Budget-conscious → Option 4 (Free)

Step 3: Save User's Choice

After user selects, save their preference:

Option A: Save to Session (temporary)

# Update session metadata
jq --arg model "$SELECTED_MODEL" '.visualAnalysisMode
Full SKILL.md on GitHub

Install browser-debugger in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

Task
Bash

FAQ

What does the browser-debugger skill do?

Systematically tests UI functionality, validates design fidelity with AI visual analysis, monitors console output, tracks network requests, and provides debugging reports using Chrome DevTools MCP. Use after implementing UI features, for design validation, when investigating console errors, for regression testing, or when user mentions testing, browser bugs, console errors, or UI verification.

How do I install the browser-debugger skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the browser-debugger skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare browser-debugger with