inspect-in-devtools
БесплатноБез исполняемых скриптовНе проверенUse this skill to connect to the Chrome DevTools UI for interactive debugging, UI/UX review, Q&A, showing elements/network requests/panels to the user…
от ChromeDevTools★ 60 074 звезды на GitHubОб этом скилле
Debug, Review, and Q&A in DevTools
Use this skill to:
- Show a target to the user: Open DevTools and reveal a panel, a DOM element, or a network request.
- Inspect the user's selection: Read the element or network request that the user selected in DevTools.
- Address DevTools comments: Watch for comment threads in the background, answer questions or apply fixes, and resolve the threads.
Prerequisites
- Chrome version: Chrome M159 or later.
- Required flag:
--devtools-commentsin the MCP server config. Without it,open_devtools,reveal_in_devtools,get_devtools_comments, andresolve_devtools_commentare not available. - Headed browser: Chrome must not run in
--headlessmode. - Page targeting: All tools require a
pageIdfromlist_pagesornew_page.
Unsupported Chrome
This skill does not work on Chrome versions earlier than M159. If a tool returns DevTools comments are not supported by the connected browser:
- Stop the workflow. Do not poll, retry, or call other DevTools comment tools.
- Tell the user that this feature requires Chrome 159 or later, and that they can update Chrome or restart the MCP server with a newer
--channel(for example,--channel=canary). - Do not tell the user that the page is ready for review in DevTools.
- If a background watcher receives this error, it must stop immediately and report it back to the main agent so the main agent informs the user.
Default Behavior: Background Comment Watching
Whenever you call open_devtools or reveal_in_devtools to show something to the user, assume they may leave DevTools comments next:
- If sub-agent tools are available: Automatically start (or verify) a background comment watcher sub-agent for
pageIdbefore ending your turn, unless one is already active for thatpageIdor the user explicitly opted out (for example, "check once" or "don't poll"). Tell the user in chat that you are watching for DevTools comments in the background, then end your turn promptly so chat stays responsive. - After resolving comments: Message or resume the existing watcher for
pageIdrather than spawning a duplicate, unless the user says they are done. - If sub-agent tools are unavailable: Do not block the main turn by polling inline after
open_devtoolsorreveal_in_devtools. Only poll inline when the user explicitly asks you to wait for comments.
Workflows
1. Open DevTools
Call open_devtools with pageId. Do this before calling reveal_in_devtools, get_devtools_comments, or resolve_devtools_comment. Then ensure a background comment watcher is running for pageId (see Default Behavior above).
2. Reveal a panel, element, or network request
Call reveal_in_devtools with pageId and these optional parameters:
panelName:"elements","network","sources", or"console". Pass it alone to switch panels.uid: Elementuidfromtake_snapshot. Reveals the element in the Elements panel. If the element may be below the fold, also scroll it into view on the page (for example withevaluate_script) so the user can see it in the viewport as well as the Elements tree.reqid: Requestreqidfromlist_network_requests. Reveals the request in the Network panel.
uid and reqid are mutually exclusive. After revealing a target, ensure a background comment watcher is running for pageId (see Default Behavior above).
3. Inspect the user's selection
- DOM element: Call
take_snapshotwithverbose: truewhen reading the element selected in the Elements panel, or whenever a non-accessibility node (<div>, wrapper, or decorative<img>) is omitted from a compact snapshot. Pass itsuidtoget_css_styles,take_screenshot, orevaluate_script. - Network request: Call
get_network_requestand omitreqid. It returns the request selected in the Network panel.
4. Handle comment threads
Mode A: Watch in the background (default)
Use this mode automatically after open_devtools or reveal_in_devtools, and whenever the user asks to check or wait for comments, unless they explicitly opt out.
Watcher lifecycle and rules:
- Prevent duplicates: Keep at most one active watcher sub-agent per
pageId. Never spawn a second watcher for the samepageId; after resolving a batch of comments in the main thread, message or resume the existing watcher to keep listening. Becauseget_devtools_commentsreturns each thread only once, do not callget_devtools_commentsfrom the main agent while a watcher is active forpageId. - Require MCP tool access: The background watcher sub-agent must have access to the
chrome-devtoolsMCP tools (do not use a read-only or tool-restricted sub-agent that cannot callget_devtools_comments). If your harness lets you pick a lighter or faster model for sub-agents, prefer it since the watcher only polls. - Split responsibilities: The watcher only calls `get_devt
Установить inspect-in-devtools в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл inspect-in-devtools?
Use this skill to connect to the Chrome DevTools UI for interactive debugging, UI/UX review, Q&A, showing elements/network requests/panels to the user, inspecting the user's current DevTools selection, and addressing or watching for DevTools UI comment threads.
Как установить скилл inspect-in-devtools?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл inspect-in-devtools запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic