chrome-devtools
Skill by duongthinh03
Chrome DevTools gives an AI assistant Puppeteer CLI scripts for browser automation, debugging and performance analysis. It is for developers who want to take screenshots, scrape pages, fill forms or inspect Chrome activity.
Install chrome-devtools
Built from the published package, never by AI.
git clone --depth 1 https://github.com/duongthinh03/portfolio /tmp/portfolio && mkdir -p ~/.claude/skills && cp -r /tmp/portfolio/.agents/skills/chrome-devtools ~/.claude/skills/chrome-devtoolsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/duongthinh03/portfolio /tmp/portfolio && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/portfolio/.agents/skills/chrome-devtools ~/.gemini/antigravity-cli/skills/chrome-devtoolsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Chrome DevTools is an agent skill that gives an AI assistant a set of Puppeteer CLI scripts for browser automation, debugging and performance analysis. Each script outputs JSON. The scripts cover navigation, screenshots, clicking, form filling, running JavaScript in a page, extracting interactive elements, reading console messages, tracking HTTP requests and measuring Core Web Vitals with traces.
Screenshots over 5MB are compressed automatically when ImageMagick is installed. The skill also supports chaining commands while keeping one browser open. It is aimed at developers and AI agent users who want to automate or inspect web pages from their assistant. Installation requires Node.js dependencies and Chrome, with extra system libraries on Linux and WSL.
Written from the project's SKILL.md and checked against it.
What it can do
- navigate.jsNavigates to a URL and returns the page title.
- screenshot.jsCaptures full page or element screenshots, with optional compression.
- click.jsClicks elements on a page using a selector.
- fill.jsFills form fields with given values.
- evaluate.jsExecutes JavaScript in the page context, for example to scrape data.
- snapshot.jsExtracts interactive elements with metadata to help find selectors.
- console.jsMonitors console messages and errors for a set duration.
- network.jsTracks HTTP requests and responses and can save them to a file.
- performance.jsMeasures Core Web Vitals and records performance traces.
What you need
- Node.js with npm
- Chrome, downloaded automatically by Puppeteer
- Linux or WSL system libraries, installed with install-deps.sh
- ImageMagick (optional, for screenshot compression)
Try asking
- Take a full page screenshot of https://example.com and save it to docs/screenshots.
- Measure the Core Web Vitals of https://example.com and report the LCP.
- Show the console errors and warnings on https://example.com over 5 seconds.
Good to know
- Without ImageMagick, screenshots over 5MB are not compressed.
- On Linux and WSL, Chrome needs extra system libraries before it runs.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/chrome-devtools/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to chrome-devtools
All alternatives →Antigravity Workflows guides an assistant through multi-skill workflows for shipping a SaaS MVP, auditing web app security, building AI agents, running browser QA, and designing a domain model. It is for users who want several skills combined with verified checkpoints.
Guides building end-to-end test suites with Playwright and Cypress. It is for developers who write E2E tests, debug flaky tests, or set testing standards.
Upgrades Chrome or Firefox versions in the Flutter Web Engine and Framework tests. It verifies the version, updates config files, syncs CI builder JSON and runs local tests before the CIPD upload.
Builds reliable browser checks for real web workflows using semantic locators, bounded waits, isolated test data and explicit outcome checks. It is for developers and testers writing or debugging browser tests.
Diagnoses memory leaks in the Qwen Code CLI using heap snapshots and the chrome-devtools CLI. Built for developers investigating high memory use, unbounded growth, or object retention.
Guides an assistant through using Claude in Chrome, a browser extension whose tools act in the person's real Chrome with their own sign-ins. It is for users who want the assistant to work in their browser safely.
Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser
chrome-devtools: common questions
What does the chrome-devtools skill do?
It runs Puppeteer CLI scripts for browser automation, screenshots, performance analysis, network monitoring, scraping and form automation. Each script returns JSON output.
Does it compress screenshots automatically?
Yes, screenshots larger than 5MB are compressed by default using ImageMagick. You can set a custom threshold, or disable compression with a flag.
Can the browser stay open between commands?
Yes, passing --close false keeps the browser open so several scripts can run in a chain.
How do I install chrome-devtools?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is chrome-devtools free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is chrome-devtools safe to use?
It scores 53 of 100. Grades: maintenance C, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to chrome-devtools?
Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.
