Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

chrome-devtools-cli

Skill by humanlayer

chrome-devtools-cli is an agent skill that lets an AI assistant automate browser tasks through the chrome-devtools-mcp CLI. It is for users who write shell scripts or run shell commands to control Chrome DevTools.

  • Score 93
  • 13k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install chrome-devtools-cli

Built from the published package, never by AI.

git clone --depth 1 https://github.com/humanlayer/humanlayer /tmp/humanlayer && mkdir -p ~/.claude/skills && cp -r /tmp/humanlayer/.claude/skills/chrome-devtools-cli ~/.claude/skills/chrome-devtools-cli

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install chrome-devtools-cli in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

chrome-devtools-cli is an agent skill that teaches an AI assistant to use the chrome-devtools-mcp CLI from a terminal. The CLI lets the assistant interact with the browser by running commands such as list_pages, take_snapshot, click and fill. It covers input automation, navigation, emulation, performance traces, network requests, debugging and screenshots.

The workflow runs a tool directly, takes a snapshot to get element uid values, then acts on those elements. The background server starts implicitly, so the assistant does not need to run start, status or stop before each use. Output defaults to Markdown, and --output-format=json returns JSON. The skill is meant for people who want to write shell scripts or run shell commands to automate tasks in the browser.

Written from the project's SKILL.md and checked against it.

What it can do

  • take_snapshotTakes a text snapshot of the page to get element uid values.
  • clickClicks an element by uid, with options such as double click.
  • fillTypes text into an input or selects an option on the page.
  • navigate_pageNavigates the selected page to a URL, reloads it, or goes back.
  • take_screenshotTakes a screenshot of the viewport, the full page or one element.
  • evaluate_scriptEvaluates a JavaScript function on the page.
  • list_network_requestsLists network requests with pagination and resource type filters.
  • performance_start_traceStarts a performance trace recording, which performance_stop_trace ends.
  • lighthouse_auditRuns a Lighthouse audit for a navigation or a snapshot.
  • emulateEmulates network conditions, CPU throttling, geolocation, viewport and more.

Try asking

  • Open example.com and take a snapshot of the page.
  • Fill in the login form on this page and submit it.
  • Run a Lighthouse audit on this page for mobile.

Good to know

  • Installation is a one-time prerequisite described in a separate reference file.
  • Output defaults to Markdown. Use --output-format=json for JSON.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/chrome-devtools-cli/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md7 KB
  • references/installation.md879 B

Alternatives to chrome-devtools-cli

All alternatives →

Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser

chrome-devtools-cli: common questions

Does the assistant need to start the server first?

No. The background server starts implicitly when a tool runs, so start, status and stop are not needed before each use.

How does the assistant find elements to click?

It runs take_snapshot to get an element uid, then passes that uid to tools such as click or fill.

Can the output be read by other programs?

Yes. Add --output-format=json to get JSON output instead of the default Markdown.

How do I install chrome-devtools-cli?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is chrome-devtools-cli free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is chrome-devtools-cli safe to use?

It scores 93 of 100. Grades: maintenance A, licence A, quality A. 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-cli?

Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.

chrome-devtools-cli Install

Add to stack

Loading.