Skip to content
Skill

Browser testing with devtools

Lets your agent inspect and debug live browser pages via Chrome DevTools MCP

Browser testing with devtools is an open-source agent skill for browser automation. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
13
Last commit
License
MIT
Listing updated

Similar skills

About Browser testing with devtools

This skill guides an AI coding agent through testing and debugging pages that render in a browser, using the Chrome DevTools MCP server. The agent can take screenshots, read the live DOM and accessibility tree, check console output, follow network requests, and record performance traces, so it can verify behavior at runtime instead of relying on static code reading.

The skill lays out step-by-step workflows for UI bugs, network failures and performance problems, covering reproduce, inspect, diagnose, fix and re-verify stages. It also includes a structured test plan template for complex interactions, before-and-after screenshot comparison, console triage guidance, and a basic accessibility checklist covering names, heading order, focus order and contrast.

A notable part of the skill is its security stance: browser content such as DOM text, console messages and network responses is treated as untrusted data rather than instructions. JavaScript execution in the page is meant to be read-only and scoped to the task, with user confirmation required before mutations or navigating to URLs found on a page. Setup requires the chrome-devtools MCP server, configured in a project's MCP settings.

When your agent uses it

Real browser testing via Chrome DevTools MCP — DOM inspection, console analysis, network requests, performance profiling. Use when debugging anything browser-rendered. Requires the chrome-devtools MCP server.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (12 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the claude-kit plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add ajyadav013/claude-kit
/plugin install claude-kit@claude-kit

Or copy only this skill to ~/.claude/skills/browser-testing-with-devtools:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/browser-testing-with-devtools &&
cp -R "$tmp/skills/browser-testing-with-devtools" ~/.claude/skills/browser-testing-with-devtools &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/browser-testing-with-devtools inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/browser-testing-with-devtools to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/browser-testing-with-devtools &&
cp -R "$tmp/skills/browser-testing-with-devtools" ~/.agents/skills/browser-testing-with-devtools &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/browser-testing-with-devtools inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/browser-testing-with-devtools to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/browser-testing-with-devtools &&
cp -R "$tmp/skills/browser-testing-with-devtools" ~/.cursor/skills/browser-testing-with-devtools &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/browser-testing-with-devtools inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/ajyadav013/claude-kit.git --path skills/browser-testing-with-devtools

Or copy the folder to ~/.gemini/skills/browser-testing-with-devtools yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/browser-testing-with-devtools:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/browser-testing-with-devtools &&
cp -R "$tmp/skills/browser-testing-with-devtools" ~/.copilot/skills/browser-testing-with-devtools &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/browser-testing-with-devtools inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/ajyadav013/claude-kit.git

Then copy claude-kit/skills/browser-testing-with-devtools into your agent's skills folder as browser-testing-with-devtools. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Live DOM and style inspection
Reads the rendered DOM tree, computed styles and accessibility tree of the page the agent is viewing.
Console and network analysis
Retrieves console errors and warnings and captures request and response details for diagnosis.
Performance tracing
Records performance traces and checks metrics such as LCP, CLS, INP and long tasks.
Screenshot comparison
Takes before and after screenshots to verify visual changes such as layout, spacing and responsive states.
Untrusted browser content rules
Defines boundaries so instructions found in page content are flagged rather than executed.
Accessibility verification steps
Lists checks for accessible names, heading hierarchy, focus order, contrast and live regions.

Good for

  • Debug a layout bug on a local dev page and confirm the fix visually
  • Find out why an API call on a page returns a 4xx or 5xx error
  • Check the browser console for errors after a frontend change
  • Profile a slow page load and compare traces before and after a fix
  • Write and run a step-by-step UI test plan for a complex interaction

Browser testing with devtools FAQ

What does Browser testing with devtools need to run?

It requires the chrome-devtools MCP server to be configured for your agent, for example through a project's .mcp.json file.

When does the agent use Browser testing with devtools?

When the task involves debugging anything rendered in a browser, such as UI, console, network or performance issues.

Does Browser testing with devtools work on backend-only code?

No. The skill says not to use it for backend-only changes, CLI tools or code that does not run in a browser.

Can the agent run arbitrary JavaScript on pages?

The skill limits JavaScript execution to read-only inspection scoped to the task. Mutations need user confirmation, and reading cookies or stored credentials is off-limits.

How do I install Browser testing with devtools in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/browser-testing-with-devtools to use it in all your projects, or to .claude/skills/browser-testing-with-devtools in one project. Or install the claude-kit plugin, which includes it: /plugin marketplace add ajyadav013/claude-kit, then /plugin install claude-kit@claude-kit.

Does Browser testing with devtools run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Browser testing with devtools?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Browser testing with devtools?

The closest alternatives to Browser testing with devtools are Browser testing with devtools, Chrome devtools, Browser testing, Use agent browser and Browser verify.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from ajyadav013/claude-kit

  1. Guides an agent through pytest, async fixtures and security-regression tests for FastAPI

    • Open source
    • 13 GitHub stars
    • Developer tools
  2. Runs concurrent load and stress tests against API endpoints to find latency and throughput

    • Open source
    • 13 GitHub stars
    • Developer tools
  3. Lets an agent click through a feature in a real browser and check how it behaves

    • Open source
    • 13 GitHub stars
    • Developer tools
  4. Runs quick health checks on backend, frontend and login to catch obvious breakage

    • Open source
    • 13 GitHub stars
    • Developer tools
  5. Guides an agent through red-green-refactor, bug reproduction tests and test pyramid

    • Open source
    • 13 GitHub stars
    • Developer tools
  6. Critiques a test plan or test-infra design before any test code is written

    • Open source
    • 13 GitHub stars
    • Developer tools