ライブのChromeブラウザを制御・検査し、ナビゲーションの自動化、JavaScriptのデバッグ、ネットワークトラフィックの分析、およびWebパフォーマンスのプロファイリングを行います。
- GitHubスター
- 41,038
- ファイル
- 1
- 最終コミット
- 2026年11月11日
- ライセンス
- MIT
- 許可されたツール
- —
chrome-devtools skillは何をしますか
chrome-devtoolsはAgent Skillsです。 ライブのChromeブラウザを制御・検査し、ナビゲーションの自動化、JavaScriptのデバッグ、ネットワークトラフィックの分析、およびWebパフォーマンスのプロファイリングを行います。.
skillのSKILL.mdから生成された要約。
chrome-devtools skill について
このSKILLは、ライブのChromeブラウザ内でのWebナビゲーションの自動化とJavaScriptのデバッグを可能にします。開発者やテスターは、click、fill、handle_dialogといった特定のツールを使用して、要素のクリック、フォームへの入力、ダイアログの処理など、Webページとのインタラクションを行うことができます。これは、エージェントが単なるブラウジングを超えて、サイトの内部状態を詳細に検査する必要がある場合に特に有用です。
基本的な操作に加えて、このSKILLはコンソールメッセージの検査やネットワークリクエストの分析といったデバッグ機能を提供します。take_screenshotによる視覚的な確認や、take_snapshotを用いた要素のuid取得による構造分析も可能です。パフォーマンス重視のタスクでは、performance_start_traceでトレースを記録し、performance_analyze_insightを通じてボトルネックやCore Web Vitalの問題を特定するためのインサイトを生成できます。また、ビューポートのリサイズや、CPUおよびネットワーク条件のスロットリングによる環境エミュレーションもサポートしています。
エージェントができること
- 1Webフォーム操作の自動化エージェントがWebサイトに移動し、入力フィールドを特定してデータを入力することで、登録プロセスを完了させることができます。
- 2JavaScriptおよびネットワークエラーのデバッグ開発者がコンソールログや失敗したネットワークリクエストを確認することで、Webアプリケーションが失敗する原因を調査できます。
- 3自動化のためのページ構造の抽出AIがテキストベースのアクセシビリティツリーを使用して、特定のボタンをクリックするために必要な一意識別子を見つけることができます。
skill の SKILL.md から作成されています。すべてのユースケースは、その引用と照合されています。
chrome-devtools skillのインストール方法
各コマンドはskillフォルダをクライアントのskillsディレクトリにコピーします。読み込むには、クライアントを再起動するか新しいセッションを開始してください。Claude Codeにchrome-devtools skillをインストールする
~/.claude/skills/chrome-devtools/SKILL.md
$ npx degit github/awesome-copilot/skills/chrome-devtools ~/.claude/skills/chrome-devtoolsClaude Code (project)にchrome-devtools skillをインストールする
.claude/skills/chrome-devtools/SKILL.md
$ npx degit github/awesome-copilot/skills/chrome-devtools .claude/skills/chrome-devtoolsCodexにchrome-devtools skillをインストールする
~/.agents/skills/chrome-devtools/SKILL.md
$ npx degit github/awesome-copilot/skills/chrome-devtools ~/.agents/skills/chrome-devtoolsGemini CLIにchrome-devtools skillをインストールする
~/.gemini/skills/chrome-devtools/SKILL.md
$ npx degit github/awesome-copilot/skills/chrome-devtools ~/.gemini/skills/chrome-devtoolsClaude.aiにchrome-devtools skillをインストールする
npx degit github/awesome-copilot/skills/chrome-devtools chrome-devtools && zip -r chrome-devtools.zip chrome-devtools # claude.ai → Customize → Skills → + → Create skill → Upload a skill → chrome-devtools.zip
自動チェック
実行日 2026年11月15日完全なレポート →自動チェックに合格しました。これはセキュリティ監査ではありません。エージェントに実行させる前にスクリプトを読んでください。 チェックの仕組み
- ソースリポジトリがリンクされており、アクセス可能github/awesome-copilot/skills/chrome-devtools is public and reachablegithub.com/github/awesome-copilot/tree/HEAD/skills/chrome-de ↗合格
- オープンソースライセンス (OSI)MITspdx.org/licenses/MIT.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit 2026-11-11github.com/github/awesome-copilot/commits ↗合格
- スクリプトにダウンロード実行や認証情報の窃取がないNo scripts in the skill folder合格
- SKILL.md に隠れた指示がないNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/github/awesome-copilot/blob/HEAD/skills/chrome-de ↗合格
- 事前許可ツールが限定されているNo pre-approved tools; the agent asks before using onegithub.com/github/awesome-copilot/blob/HEAD/skills/chrome-de ↗合格
- SKILL.md が Agent Skills の形式に従っているValid name and description; says when to use it; 98 linesgithub.com/github/awesome-copilot/blob/HEAD/skills/chrome-de ↗合格
SKILL.md
GitHubで表示Chrome DevTools Agent
Overview
A specialized skill for controlling and inspecting a live Chrome browser. This skill leverages the chrome-devtools MCP server to perform a wide range of browser-related tasks, from simple navigation to complex performance profiling.
When to Use
Use this skill when:
- Browser Automation: Navigating pages, clicking elements, filling forms, and handling dialogs.
- Visual Inspection: Taking screenshots or text snapshots of web pages.
- Debugging: Inspecting console messages, evaluating JavaScript in the page context, and analyzing network requests.
- Performance Analysis: Recording and analyzing performance traces to identify bottlenecks and Core Web Vital issues.
- Emulation: Resizing the viewport or emulating network/CPU conditions.
Tool Categories
1. Navigation & Page Management
new_page: Open a new tab/page.navigate_page: Go to a specific URL, reload, or navigate history.select_page: Switch context between open pages.list_pages: See all open pages and their IDs.close_page: Close a specific page.wait_for: Wait for specific text to appear on the page.
2. Input & Interaction
click: Click on an element (useuidfrom snapshot).fill/fill_form: Type text into inputs or fill multiple fields at once.hover: Move the mouse over an element.press_key: Send keyboard shortcuts or special keys (e.g., "Enter", "Control+C").drag: Drag and drop elements.handle_dialog: Accept or dismiss browser alerts/prompts.upload_file: Upload a file through a file input.
3. Debugging & Inspection
take_snapshot: Get a text-based accessibility tree (best for identifying elements).take_screenshot: Capture a visual representation of the page or a specific element.list_console_messages/get_console_message: Inspect the page's console output.evaluate_script: Run custom JavaScript in the page context.list_network_requests/get_network_request: Analyze network traffic and request details.
4. Emulation & Performance
resize_page: Change the viewport dimensions.emulate: Throttling CPU/Network or emulating geolocation.performance_start_trace: Start recording a performance profile.performance_stop_trace: Stop recording and save the trace.performance_analyze_insight: Get detailed analysis from recorded performance data.
Workflow Patterns
Pattern A: Identifying Elements (Snapshot-First)
Always prefer take_snapshot over take_screenshot for finding elements. The snapshot provides uid values which are required by interaction tools.
1. `take_snapshot` to get the current page structure.
2. Find the `uid` of the target element.
3. Use `click(uid=...)` or `fill(uid=..., value=...)`.
Pattern B: Troubleshooting Errors
When a page is failing, check both console logs and network requests.
1. `list_console_messages` to check for JavaScript errors.
2. `list_network_requests` to identify failed (4xx/5xx) resources.
3. `evaluate_script` to check the value of specific DOM elements or global variables.
Pattern C: Performance Profiling
Identify why a page is slow.
1. `performance_start_trace(reload=true, autoStop=true)`
2. Wait for the page to load/trace to finish.
3. `performance_analyze_insight` to find LCP issues or layout shifts.
Best Practices
- Context Awareness: Always run
list_pagesandselect_pageif you are unsure which tab is currently active. - Snapshots: Take a new snapshot after any major navigation or DOM change, as
uidvalues may change. - Timeouts: Use reasonable timeouts for
wait_forto avoid hanging on slow-loading elements. - Screenshots: Use
take_screenshotsparingly for visual verification, but rely ontake_snapshotfor logic.
このスキルのファイル
1chrome-devtools skillに関する質問
Claude Codeにchrome-devtools skillをインストールするには
npx degit github/awesome-copilot/skills/chrome-devtools ~/.claude/skills/chrome-devtoolsを実行してください。Claude Codeは~/.claude/skills(すべてのプロジェクト)または.claude/skills(単一プロジェクト)からskillsを読み込み、説明がタスクに一致する場合にskillを使用します。
chrome-devtools skillはどのクライアントで使用できますか
Agent Skills形式を読み込むすべてのクライアントで使用できます: Claude Code、Codex、Gemini CLI、claude.ai(ZIPとしてアップロード)。skill内のスクリプトは、クライアントがコード実行を許可した場合にのみ実行されます。
操作対象の要素をどのように見つければよいですか?
take_snapshotツールを使用してテキストベースのアクセシビリティツリーを取得してください。これにより、クリックやフォーム入力などの操作ツールに必要なuid値を取得できます。