chrome-devtools-cli
Use this skill to write shell scripts or run shell commands to automate tasks in the browser or otherwise use Chrome DevTools via CLI.
Install
With your agent
Install OMGSkills skill "chromedevtools/chrome-devtools-mcp:chrome-devtools-cli" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.
Manual command
git clone https://github.com/ChromeDevTools/chrome-devtools-mcp /tmp/chrome-devtools-mcp && ln -s /tmp/chrome-devtools-mcp/skills/chrome-devtools-cli ~/.claude/skills/chrome-devtools-cli
From README
Note: If this is your very first time using the CLI, see references/ .md for . is a one-time prerequisite and is not part of the regular AI workflow. AI Workflow Execute: Run tools directly. If you don't know the target page's ID, run chrome-devtools listpages to find it. The background server starts implicitly; do not run start/status/stop before each use. Inspect: Use chrome-devtools takesnapshot to get an element . Act: Use chrome-devtools click , chrome-devtools fill , etc. State persists across commands. Snapshot example: Permissions & File Access By default, the CLI has full filesystem access (--allowUnrestrictedPaths=true), allowing file-saving parameters (--filePath, --outputDirPath) and uploadfile to access files anywhere on the system. Pass --allowUnrestrictedPaths=false if you want to restrict file access to the OS temp directory. Command Required arguments are passed positionally; optional arguments use flags. Use --help on any command for details.
More from this repo
chrome-devtools
Uses Chrome DevTools via MCP for efficient debugging, troubleshooting and browser automation.
a11y-debugging
Uses Chrome DevTools MCP for accessibility (a11y) debugging and auditing based on web.dev guidelines.
debug-optimize-lcp
Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools.
