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.
от ChromeDevTools★ 60 074 звезды на GitHubОб этом скилле
Automate Chrome via chrome-devtools <tool> [args] [flags]. First-time setup: references/installation.md.
Workflow
- Execute: Run tools directly; the daemon starts implicitly (skip
start/status/stopunless changing startup flags). Uselist_pagesto find<pageId>. - Inspect: Run
chrome-devtools take_snapshot <pageId>for element<uid>s (uid=1_1 heading "Example" level="1"). - Act: Pass
<pageId>and<uid>to interaction tools. State persists across commands.
- Required args are positional; optional args use
--flag. Run<tool> --helpfor full options. - Output defaults to Markdown; pass
--output-format=jsonfor JSON. - Full filesystem access is on by default; pass
--allowUnrestrictedPaths=falseonstartto restrict to OS temp dir.
Core Commands
# Pages & navigation
chrome-devtools list_pages
chrome-devtools new_page "https://example.com"
chrome-devtools navigate_page 1 --url "https://example.com" # or --type reload|back
chrome-devtools select_page 1
chrome-devtools close_page 1
# Snapshots & input (<uid> from take_snapshot; most accept --includeSnapshot true)
chrome-devtools take_snapshot 1 # --verbose true --filePath s.txt
chrome-devtools click 1 "uid" # --dblClick true
chrome-devtools fill 1 "uid" "text"
chrome-devtools press_key 1 "Enter"
chrome-devtools type_text 1 "hello" --submitKey "Enter"
# Debugging & inspection
chrome-devtools evaluate_script "() => document.title" --pageId 1
chrome-devtools list_console_messages 1 # --types error
chrome-devtools get_console_message 1 1
chrome-devtools list_network_requests 1 # --resourceTypes fetch
chrome-devtools get_network_request 1 --reqid 1
chrome-devtools take_screenshot 1 # --fullPage true --filePath s.png
# Daemon (only for startup flags or --sessionId=<uuid>)
chrome-devtools start --headless=false # also: status | stop
References (Load on Demand)
- references/debugging-and-network.md: Network mocking, body exports, CSS styles, logpoints, Lighthouse, screencasts, extra input (
hover,drag,handle_dialog,upload_file) and navigation flags. - references/performance-and-memory.md: Performance traces/insights, heap snapshots, and heap-snapshot memory analysis.
- references/emulation-extensions-and-pwa.md: Emulation, viewport resize, extensions, PWAs, experimental tools.
- references/installation.md: One-time installation and troubleshooting.
Установить chrome-devtools-cli в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл 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.
Как установить скилл chrome-devtools-cli?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл chrome-devtools-cli запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic