← 返回 Skills 市场
251
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install chrome-devtools-mcp-skill
功能描述
Use Chrome DevTools MCP through UXC over local stdio for page navigation, DOM/a11y snapshots, network inspection, console inspection, and performance tooling...
使用说明 (SKILL.md)
Chrome DevTools MCP Skill
Use this skill to run Chrome DevTools MCP operations through uxc using a fixed stdio endpoint.
Reuse the uxc skill for generic MCP discovery, daemon reuse, JSON envelope parsing, and error handling.
Prerequisites
uxcis installed and available inPATH.npxis available inPATH(Node.js installed).- Chrome 144+ is running locally with remote debugging enabled from
chrome://inspect/#remote-debuggingif you use the default live-browser flow. - Network access is available for first-time
chrome-devtools-mcppackage fetch.
Core Workflow (Chrome DevTools MCP-Specific)
Endpoint candidate inputs before finalizing:
- Raw package form from official docs:
npx chrome-devtools-mcp@latest
- Reliable non-interactive form:
npx -y chrome-devtools-mcp@latest
- Default live-browser endpoint for this skill:
npx -y chrome-devtools-mcp@latest --autoConnect --no-usage-statistics
- Explicit browser-url endpoint:
npx -y chrome-devtools-mcp@latest --browserUrl http://127.0.0.1:9222 --no-usage-statistics
- Fallback isolated endpoint:
npx -y chrome-devtools-mcp@latest --headless --isolated --no-usage-statistics
- Running local Chrome auto-connect mode:
npx -y chrome-devtools-mcp@latest --autoConnect --no-usage-statistics
- Verify protocol/path from official source and probe:
- Official source:
https://github.com/ChromeDevTools/chrome-devtools-mcp
- probe candidate endpoints with:
uxc "npx -y chrome-devtools-mcp@latest --autoConnect --no-usage-statistics" -h
- Confirm protocol is MCP stdio (
protocol == "mcp"in envelope).
- Official source:
- Detect auth requirement explicitly:
- Run host help or a minimal read call and inspect envelope.
- Default local stdio flow requires no OAuth/API key.
- Existing Chrome attachment requires remote debugging to be enabled separately, but not API auth.
- Use a fixed link command by default:
command -v chrome-devtools-mcp-cli- If missing, create it:
uxc link chrome-devtools-mcp-cli "npx -y chrome-devtools-mcp@latest --autoConnect --no-usage-statistics"
- Optional explicit browser-url link:
command -v chrome-devtools-mcp-portuxc link chrome-devtools-mcp-port "npx -y chrome-devtools-mcp@latest --browserUrl http://127.0.0.1:9222 --no-usage-statistics"
- Optional isolated fallback link:
command -v chrome-devtools-mcp-isolateduxc link chrome-devtools-mcp-isolated "npx -y chrome-devtools-mcp@latest --headless --isolated --no-usage-statistics"
chrome-devtools-mcp-cli -h
- Inspect operation schema before execution:
chrome-devtools-mcp-cli new_page -hchrome-devtools-mcp-cli take_snapshot -hchrome-devtools-mcp-cli list_network_requests -hchrome-devtools-mcp-cli lighthouse_audit -h
- Prefer read-first interaction:
- Start with
new_page,list_pages,take_snapshot,list_network_requests, orlist_console_messages.
- Start with
- Confirm before mutating page state:
clickfillfill_formpress_keyupload_fileevaluate_scripthandle_dialog
Guardrails
- Keep automation on the JSON output envelope; do not rely on
--text. - Use
chrome-devtools-mcp-clias the default command path. - Prefer the live-browser default endpoint when you need real logged-in state, current tabs, network diagnostics, console inspection, or performance analysis.
- Prefer
--autoConnectfirst when browser-side remote debugging is available. - Use
chrome-devtools-mcp-portonly when you intentionally run a Chrome instance with--remote-debugging-port=9222. - If no debuggable Chrome is available, fallback to
chrome-devtools-mcp-isolated. - Prefer
take_snapshotover screenshots for model-action loops. - Prefer
list_network_requests/get_network_requestover raw script evaluation when inspecting network behavior. - Treat
lighthouse_audit,performance_start_trace, andtake_memory_snapshotas heavier operations; use them intentionally. - Use
evaluate_scriptonly when an existing higher-level DevTools tool cannot answer the question.
References
- Invocation patterns:
references/usage-patterns.md
安全使用建议
This skill appears to do what it says (drive Chrome DevTools over MCP) but take precautions before installing: 1) The SKILL.md requires uxc and npx even though the registry metadata lists none—make sure you have those tools and understand the runtime requirements. 2) It uses 'npx ...@latest' which dynamically fetches and runs code from the npm ecosystem; prefer a pinned specific version or examine the package source before running. 3) Running this skill against a live browser can expose page DOM, cookies, localStorage and network traffic — avoid attaching it to browsers with sensitive logged‑in sessions unless you trust the package. 4) The skill suggests creating persistent 'uxc link' commands; be aware they create entrypoints you or other processes could invoke. If you need higher assurance, ask the author to: provide explicit required-binaries metadata, pin the package version, include checksum or provenance for the npm package, and document exactly what evaluate_script can do and when it will be used.
功能分析
Type: OpenClaw Skill
Name: chrome-devtools-mcp-skill
Version: 1.0.0
The skill provides an interface for an AI agent to control a local Chrome browser via the Chrome DevTools Protocol, enabling high-risk capabilities such as arbitrary JavaScript execution (evaluate_script), network traffic inspection, and page manipulation. While these features are aligned with the stated purpose of browser automation and include safety guardrails (e.g., requiring confirmation for mutations), they represent a significant attack surface if the agent is compromised. The skill also relies on 'npx' to fetch and execute the 'chrome-devtools-mcp' package at runtime and uses 'uxc link' to create persistent command aliases on the host system (SKILL.md, usage-patterns.md).
能力评估
Purpose & Capability
Name/description align with the instructions: the skill drives Chrome DevTools MCP via uxc and npx. However, registry metadata declares no required binaries/env but the SKILL.md explicitly requires uxc and npx (and network access). The metadata omission is an inconsistency that could mislead users about runtime requirements.
Instruction Scope
SKILL.md stays on purpose: it only instructs using uxc and npx to run chrome-devtools-mcp and to attach to local Chrome (autoConnect, browserUrl, or headless isolated). It does recommend evaluate_script and other page-mutating actions — which are expected for a DevTools skill but inherently grant access to page DOM, cookies, localStorage, and network traces. The doc includes explicit guardrails (confirm before mutating, prefer read-first flows).
Install Mechanism
This is instruction-only (no packaged install) and relies on dynamic npx invocations (npx -y chrome-devtools-mcp@latest). Using the unpinned '@latest' tag means remote code can change over time (supply‑chain risk). The SKILL.md references the GitHub repo, but there is no pinned version nor verification step. Moderate risk from dynamic fetching via npm.
Credentials
The skill requests no credentials or env vars. That matches its local-dev tooling purpose. It does expect access to local Chrome remote-debugging endpoints (127.0.0.1:9222) and to network for package fetch; both are reasonable for this functionality.
Persistence & Privilege
The skill does not require always:true and is invocable normally. It recommends creating uxc link commands (chrome-devtools-mcp-cli, etc.), which will persist wrapper commands via uxc but doesn't appear to modify other skills or system-wide configs. Creating long‑lived link wrappers is a behavior to be aware of but not inherently privileged.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install chrome-devtools-mcp-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/chrome-devtools-mcp-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of chrome-devtools-mcp-skill, enabling Chrome DevTools MCP via UXC and local stdio.
- Supports page navigation, DOM/a11y snapshots, network and console inspection, and performance tooling by default.
- Uses `npx` and `chrome-devtools-mcp` with live-browser autoConnect as the recommended workflow.
- Provides fallback modes for browser URL targeting and isolated headless operation.
- Reuses generic UXC procedures for MCP discovery, linking commands, and JSON envelope parsing.
- Includes detailed workflow steps, guardrails, and references for safe usage.
元数据
常见问题
Chrome DevTools MCP Skill 是什么?
Use Chrome DevTools MCP through UXC over local stdio for page navigation, DOM/a11y snapshots, network inspection, console inspection, and performance tooling... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 251 次。
如何安装 Chrome DevTools MCP Skill?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install chrome-devtools-mcp-skill」即可一键安装,无需额外配置。
Chrome DevTools MCP Skill 是免费的吗?
是的,Chrome DevTools MCP Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Chrome DevTools MCP Skill 支持哪些平台?
Chrome DevTools MCP Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Chrome DevTools MCP Skill?
由 jolestar(@jolestar)开发并维护,当前版本 v1.0.0。
推荐 Skills