chrome-devtools
Browser automation, debugging, and performance analysis using Puppeteer CLI scripts.
Skill by rafaelcalleja
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/rafaelcalleja-chrome-devtools
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/chrome-devtools
What's inside
- Skill name
chrome-devtools- Description
- Browser automation, debugging, and performance analysis using Puppeteer CLI scripts. Use for automating browsers, taking screenshots, analyzing performance, monitoring network traffic, web scraping, form automation, and JavaScript debugging.
- License
- Apache-2.0
- Instructions
- 356 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (21)
- SKILL.md
- cdp-domains.md · references/
- performance-guide.md · references/
- puppeteer-reference.md · references/
- README.md · scripts/
- selector.test.js · scripts/__tests__/
- click.js · scripts/
- console.js · scripts/
- evaluate.js · scripts/
- fill.js · scripts/
- install-deps.sh · scripts/
- install.sh · scripts/
- browser.js · scripts/lib/
- selector.js · scripts/lib/
- navigate.js · scripts/
- network.js · scripts/
- package-lock.json · scripts/
- package.json · scripts/
- performance.js · scripts/
- screenshot.js · scripts/
- snapshot.js · scripts/
SKILL.md (first lines)
# Chrome DevTools Agent Skill
Browser automation via executable Puppeteer scripts. All scripts output JSON for easy parsing.
## Quick Start
**CRITICAL**: Always check `pwd` before running scripts.
### Installation
#### Step 1: Install System Dependencies (Linux/WSL only)
On Linux/WSL, Chrome requires system libraries. Install them first:
```bash
pwd # Should show current working directory
cd .claude/skills/chrome-devtools/scripts
./install-deps.sh # Auto-detects OS and installs required libs
```
Supports: Ubuntu, Debian, Fedora, RHEL, CentOS, Arch, Manjaro
**macOS/Windows**: Skip this step (dependencies bundled with Chrome)
#### Step 2: Install Node Dependencies
```bash
npm install # Installs puppeteer, debug, yargs
```
#### Step 3: Install ImageMagick (Optional, Recommended)
ImageMagick enables automatic screenshot compression to keep files under 5MB:
**macOS:**
```bash
brew install imagemagick
```
**Ubuntu/Debian/WSL:**
```bash
sudo apt-get install imagemagick
```
**Verify:**
```bash
magick -version # or: convert -version
```
Without ImageMagick, screenshots >5MB will not be compressed (may fail to load in Gemini/Claude).
### Test
```bash
node navigate.js --url https://example.com
# Output: {"success": true, "url": "https://example.com", "title": "Example Domain"}
```
## Available Scripts
All scripts are in `.claude/skills/chrome-devtools/scripts/`
**CRITICAL**: Always check `pwd` before running scripts.
### Script Usage
- `./scripts/README.md`
### Core Automation
- `navigate.js` - Navigate to URLs
- `screenshot.js` - Capture screenshots (full page or element)
- `click.js` - Click elements
- `fill.js` - Fill form fields
- `evaluate.js` - Execute JavaScript in page context
### Analysis & Monitoring
- `snapshot.js` - Extract interactive elements with metadata
- `console.js` - Monitor console messages/errors
- `network.js` - Track HTTP requests/responses
- `performance.js` - Measure Core Web Vitals + record traces
## Usage Patterns
### Single Command
```bash
pwd # Should show current working directory
cd .claude/skills/chrome-devtools/scripts
node screenshot.js --url https://example.com --output ./docs/screenshots/page.png
```
**Important**: Always save screenshots to `./docs/screenshots` directory.
### Automatic Image Compression
Screenshots are **automatically compressed** if they exceed 5MB to ensure compatibility with Gemini API and Claude Code (which have 5MB limits). This uses ImageMagick internally:
```bash
# Default: auto-compress if >5MB
node screenshot.js --url https://example.com --output page.png
# Custom size threshold (e.g., 3MB)
node screenshot.js --url https://example.com --output page.png --max-size 3
# Disable compression
node screenshot.js --url https://example.com --output page.png --no-compress
```
**Compression behavior:**
- PNG: Resizes to 90% + quality 85 (or 75% + quality 70 if still too large)
- JPEG: Quality 80 + progressive encoding (or quality 60 if still too large)
- Other formats: Converted to JPEG with compression
- Requires ImageMagick installed (see imagemagick skill)
**Output includes compression info:**
```json
{
"success": true,
"output": "/path/to/page.png",
"compressed": true,
"originalSize": 8388608,
"size": 3145728,
"compressionRatio": "62.50%",
"url": "https://example.com"From rafaelcalleja/claude-market-place, Apache-2.0.
More from rafaelcalleja/claude-market-place
- 0.455score
devops
rafaelcalleja
Deploy and manage cloud infrastructure on Cloudflare (Workers, R2, D1, KV, Pages, Durable Objects, Browser Rendering), Docker containers, and Google Cloud…
SkillDFreshness: D★ 4Claude Code +9 - 0.451score
new-release
rafaelcalleja
Crear nueva release de un plugin del marketplace actualizando versiones.
SkillDFreshness: D★ 4Claude Code +9 - 0.444score
to-be-cont
rafaelcalleja
Comprehensive documentation review and analysis of to-be-continuous GitLab CI/CD templates and framework architecture
SkillDFreshness: D★ 4Claude Code +9 - 0.435score
Systematic Debugging
rafaelcalleja
Four-phase debugging framework that ensures root cause investigation before attempting fixes.
SkillDFreshness: D★ 4Claude Code +9 - 0.238score
claude-code
rafaelcalleja
No description from the publisher yet.
SkillDFreshness: D★ 4Claude Code +9
Compare and alternatives
Featured in
Signals
- Stars
- 4
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Nov 10, 2025 (11 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from rafaelcalleja
- 0.455score
devops
rafaelcalleja
Deploy and manage cloud infrastructure on Cloudflare (Workers, R2, D1, KV, Pages, Durable Objects, Browser Rendering), Docker containers, and Google Cloud…
SkillDFreshness: D★ 4Claude Code +9 - 0.451score
new-release
rafaelcalleja
Crear nueva release de un plugin del marketplace actualizando versiones.
SkillDFreshness: D★ 4Claude Code +9 - 0.444score
to-be-cont
rafaelcalleja
Comprehensive documentation review and analysis of to-be-continuous GitLab CI/CD templates and framework architecture
SkillDFreshness: D★ 4Claude Code +9 - 0.435score
Systematic Debugging
rafaelcalleja
Four-phase debugging framework that ensures root cause investigation before attempting fixes.
SkillDFreshness: D★ 4Claude Code +9
Cite this page
chrome-devtools skill. Agent Mart. https://agentmart.dev/skills/rafaelcalleja-chrome-devtools (last updated 2026-10-24)