Facilitates local browser automation, including page navigation, DOM inspection, and screenshot capture, via Chrome DevTools Protocol.

Install

mkdir -p .claude/skills/browser && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/1144" && unzip -o skill.zip -d .claude/skills/browser && rm skill.zip

Installs to .claude/skills/browser

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

This skill should be used for browser automation tasks using Chrome DevTools Protocol (CDP). Triggers when users need to launch Chrome with remote debugging, navigate pages, execute JavaScript in browser context, capture screenshots, or interactively select DOM elements. No MCP server required.
295 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • Launch Chrome with remote debugging
  • Navigate to specific URLs in new or existing tabs
  • Execute custom JavaScript expressions or IIFEs
  • Capture screenshots of browser pages
  • Extract metadata from DOM elements via visual picking

How it works

The skill utilizes Chrome DevTools Protocol (CDP) helpers to interface with a local Chrome instance running on localhost:9222. Scripts are executed via command line to perform navigation, evaluation, and visual inspection.

Inputs & outputs

You give it
URL or JavaScript expression
You get back
Structured JSON containing element metadata or screenshot path

When to use browser

  • Scrape data from complex web pages
  • Automate repetitive browser tasks
  • Capture screenshots for visual testing
  • Inspect DOM elements via scripts

About this skill

Browser Automation

Minimal Chrome DevTools Protocol (CDP) helpers for browser automation without MCP server setup.

Setup

Install dependencies before first use:

npm install --prefix ~/.claude/skills/browser/browser ws

Scripts

All scripts connect to Chrome on localhost:9222.

start.js - Launch Chrome

scripts/start.js              # Fresh profile
scripts/start.js --profile    # Use persistent profile (keeps cookies/auth)

nav.js - Navigate

scripts/nav.js https://example.com        # Navigate current tab
scripts/nav.js https://example.com --new  # Open in new tab

eval.js - Execute JavaScript

scripts/eval.js 'document.title'
scripts/eval.js '(() => { const x = 1; return x + 1; })()'

Use single expressions or IIFE for multiple statements.

screenshot.js - Capture Screenshot

scripts/screenshot.js

Returns { path, filename } of saved PNG in temp directory.

pick.js - Visual Element Picker

scripts/pick.js "Click the submit button"

Returns element metadata: tag, id, classes, text, href, selector, rect.

Workflow

  1. Launch Chrome: scripts/start.js --profile for authenticated sessions
  2. Navigate: scripts/nav.js <url>
  3. Inspect: scripts/eval.js 'document.querySelector(...)'
  4. Capture: scripts/screenshot.js or scripts/pick.js
  5. Return gathered data

Key Points

  • All operations run locally - credentials never leave the machine
  • Use --profile flag to preserve cookies and auth tokens
  • Scripts return structured JSON for agent consumption

When not to use it

  • When an MCP server is required for the environment
  • When browser automation requires non-local execution

Prerequisites

npm install --prefix ~/.claude/skills/browser/browser ws

Limitations

  • Requires Chrome to be running on localhost:9222
  • All operations are restricted to the local machine

How it compares

Unlike manual browser interaction, this skill provides structured JSON outputs for agent consumption and supports automated session persistence via profile flags.

Compared to similar skills

browser side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
browser (this skill)37moReviewIntermediate
dev-browser534moReviewIntermediate
agent-browser303moReviewIntermediate
browser-tools69moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

test-cases

cexll

This skill should be used when generating comprehensive test cases from PRD documents or user requirements. Triggers when users request test case generation, QA planning, test scenario creation, or need structured test documentation. Produces detailed test cases covering functional, edge case, error handling, and state transition scenarios.

57115

product-requirements

cexll

Interactive Product Owner skill for requirements gathering, analysis, and PRD generation. Triggers when users request product requirements, feature specification, PRD creation, or need help understanding and documenting project requirements. Uses quality scoring and iterative dialogue to ensure comprehensive requirements before generating professional PRD documents.

812

skill-install

cexll

Install Claude skills from GitHub repositories with automated security scanning. Triggers when users want to install skills from a GitHub URL, need to browse available skills in a repository, or want to safely add new skills to their Claude environment.

450

prototype-prompt-generator

cexll

This skill should be used when users need to generate detailed, structured prompts for creating UI/UX prototypes. Trigger when users request help with "create a prototype prompt", "design a mobile app", "generate UI specifications", or need comprehensive design documentation for web/mobile applications. Works with multiple design systems including WeChat Work, iOS Native, Material Design, and Ant Design Mobile.

327

codeagent

cexll

Execute codeagent-wrapper for multi-backend AI code tasks. Supports Codex, Claude, and Gemini backends with file references (@syntax) and structured output.

26

do

cexll

This skill should be used for structured feature development with codebase understanding. Triggers on /do command. Provides a 5-phase workflow (Understand, Clarify, Design, Implement, Complete) using codeagent-wrapper to orchestrate code-explorer, code-architect, code-reviewer, and develop agents in parallel.

110

You might also like

dev-browser

SawyerHood

Browser automation with persistent page state. Use when users ask to navigate websites, fill forms, take screenshots, extract web data, test web apps, or automate browser workflows. Trigger phrases include "go to [url]", "click on", "fill out the form", "take a screenshot", "scrape", "automate", "test the website", "log into", or any browser interaction request.

53176

agent-browser

vercel-labs

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.

3075

browser-tools

Whamp

Lightweight Chrome automation toolkit with shared configuration, JSON-first output, and six focused scripts for starting, navigating, inspecting, capturing, evaluating, and cleaning up browser sessions.

694

agent-browser-skill

MGdaasLab

基于 agent-browser CLI 的浏览器自动化工具。提供快照获取、元素交互、截图等功能。推荐用于需要页面快照分析、通过 ref 引用交互元素的场景。

439

browserwing-executor

browserwing

Control browser automation through HTTP API. Supports page navigation, element interaction (click, type, select), data extraction, accessibility snapshot analysis, screenshot, JavaScript execution, and batch operations.

27

go-rod-master

rootcastleco

Comprehensive guide for browser automation and web scraping with go-rod (Chrome DevTools Protocol) including stealth anti-bot-detection patterns.

00

Search skills

Search the agent skills registry