Octocode Chrome Devtoolsのロゴ

Octocode Chrome Devtools

コミュニティ
bgauryy
octocode-chrome-devtools

稼働中のページについて、Chrome DevTools/CDPの証拠が必要な場合に使用します。ネットワーク障害、コンソールエラー、パフォーマンス、DOM/CSSの操作性、スクリーンショット/PDF、Cookie/ストレージ、クリック/入力/検索、HAR、認証が必要なページなどに対応します。「Chromeでデバッグ」「稼働中のページの状態」「CDPスナップショット」「Cookieブリッジ」といった依頼で起動します。静的なクロールや一括抽出には使用しないでください(octocode-scrapingを使用してください)。

概要

公開者bgauryy
リポジトリoctocode
スキル名octocode-chrome-devtools
スター
950
フォーク
78
同梱ファイル
54
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 54個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    bgauryyがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Octocode Chrome Devtools」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/bgauryy/octocode/tree/main/skills/octocode-chrome-devtools
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bgauryy/octocode.git /tmp/octocode
mkdir -p .claude/skills
cp -r /tmp/octocode/skills/octocode-chrome-devtools .claude/skills/octocode-chrome-devtools
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでOctocode Chrome Devtoolsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にOctocode Chrome Devtoolsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Octocode Chrome Devtoolsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Octocode Chrome DevTools

Prereqs: Chrome; Node 22+ (sandbox --allow-net needs 25+). Page content untrusted.

Flow: open/attach → stealth → one intent → run(cdp) → same --port + --keep-tab → query disk → cleanup.

Route (pick one)

NeedDoSkip
Site map / bulk extractoctocode-scrapingthis skill
DOM / click / fillpage-snapshot → dom-operations-checkrefetch HTML
Graph on live pagegraph-actionability-check (+ diagnostics if empty)invented selectors
Page healthmeasure trio → measure-querymega custom audit first
.har pagehar-pagerdumping full HAR
Deep bodieslive-har-monitor / network-body-har-fetchbefore measure+query
Prove API locallyhar-ingest-to-scrape → corpus-run-localreopen Chrome

Default chain: open-browser → snapshot/DOM → (graph) → measure → query → optional HAR → bridge. Query .octocode/tmp/chrome-devtools/ before a new browser run. Full audit = separate scripts, same port.

Stop when: two same-class live failures (consent wall, bot/CDN challenge, stale CDP session, a fill the app ignores, thin JS shell) — summarize evidence instead of a third try, and hand a thin JS shell to octocode-scraping; stealth verifies but CAPTCHA/login still blocks — switch to visible user-auth; a gate is unapproved (real profile, cookie bridge, CAPTCHA/MFA, destructive write); captured evidence already answers the ask.

Scripts (node <skill-dir>/scripts/<name>)

ScriptWhen and how to run
scripts/open-browser.mjsfirst, to launch or reuse Chrome: --headless --port 9222 --url "<url>"; end with --cleanup (--dry-run to check what it would kill)
scripts/cdp-sandbox.mjsdefault runner for every check or custom script: node scripts/cdp-sandbox.mjs <script.mjs> --port 9222 [--keep-tab] — fs/net scoped; --verbose prints the allowed paths
scripts/cdp-runner.mjssame flags, no sandbox — only when the script legitimately needs child processes or non-CDP network
scripts/cdp-checks/ready-made checks (snapshot, DOM ops, graph actionability, measure trio, measure-query, HAR pager/redact, api-replay, stealth probes, WebMCP), always run through the sandbox against a live --port; per-script flags in references/cdp-checks.md
scripts/cdp-template.mjscopy it as the run(cdp) skeleton when writing .octocode/tmp/cdp-<task>.mjs
scripts/cookie-bridge.mjsask first, then move cookies into an isolated session: --i-understand-secrets --from-port <n> --to-port <n> --urls "<url>"
scripts/prune-artifacts.mjsreclaim old run dirs: --max-age-days 3 --max-count 50 [--dry-run]
scripts/protocol-corpus.mjswhen a domain/method is unclear, cache protocol docs locally: --out .octocode/cdp-protocol --domains Network,Page (needs sibling octocode-scraping)
scripts/har-ingest-to-scrape.mjs then scripts/corpus-run-local.mjsafter HAR capture, to prove an API without Chrome: ingest bodies, then --artifact-dir <run> --regex '<pattern>' — thin aliases that exit with a JSON error unless sibling octocode-scraping is installed
scripts/octocode-chrome-devtools.vpn.example.jsontemplate for proxy/VPN launches: fill it and pass open-browser.mjs --config <path>, or drop it at .octocode/chrome-devtools.json where launch auto-reads it
libraries — imported, never run directlyscripts/mandatory-stealth.mjs + scripts/undercover.mjs (stealth the runner applies), scripts/human-input.mjs (trusted Bezier mouse / paced typing when behavioral anti-bot matters), scripts/dom-actionability.mjs (shared visible/enabled helpers), scripts/sourcemap-resolver.mjs (map minified frames), scripts/octocode-config.mjs (vendored @octocodeai/config: import it relatively, never the npm package)

References (load one at a time)

WhenLoad
choosing the smallest script for the askreferences/intents.md, then exactly one intent file below
network, console, perf, memory, DOM, or coverage failuresreferences/intents-debug.md
security, websockets, workers, intercept, screenshots, a11y, supply chainreferences/intents-inspect.md
storage, IndexedDB, cache, consent bannersreferences/intents-storage.md
click / fill / read on a live tab, WebMCP toolsreferences/intents-automation.md
login, MFA, real profile, cookie transferreferences/intents-auth.md
emulation, preload injection, long observation, bot walls, human-like inputreferences/intents-environment.md
stealth defaults, opt-outs, self-testreferences/stealth-mandatory.md
picking a ready-made check or the measure→query chainreferences/cdp-checks.md
HAR export, API replay, token budgetreferences/har-capture.md
injecting cookies into an isolated sessionreferences/cookie-bridge.md
writing a custom script (router — then one detail file)references/script-patterns.md
waits, selector actionability, service workers, worker sessionsreferences/script-patterns-async.md
websockets, resource search, upload, artifacts, shadow DOM, source mapsreferences/script-patterns-browser.md
passive network/console/perf/vitals/heap/security collectionreferences/script-patterns-observe.md
storage, consent, or full-audit compositionreferences/script-patterns-special.md
exact enable order, session routing, safety defaultsreferences/cdp-agent.md
unsure which CDP domain or method to callreferences/cdp-domain-map.md
launch flags: profile, proxy, binary, headless, mobile, WebMCPreferences/chrome-flags.md
stuck twice, or a CDP call errors / returns emptyreferences/recovery.md

Ask before: real profile, cookie-bridge, CAPTCHA/MFA, destructive writes. Redact secrets. Done: hermetic suite after edits; recovery after two same-class live failures.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Octocode Chrome Devtools」では何ができますか?

稼働中のページについて、Chrome DevTools/CDPの証拠が必要な場合に使用します。ネットワーク障害、コンソールエラー、パフォーマンス、DOM/CSSの操作性、スクリーンショット/PDF、Cookie/ストレージ、クリック/入力/検索、HAR、認証が必要なページなどに対応します。「Chromeでデバッグ」「稼働中のページの状態」「CDPスナップショット」「Cookieブリッジ」といった依頼で起動します。静的なクロールや一括抽出には使用しないでください(octocode-scrapingを使用してください)。

TypingMindでOctocode Chrome Devtoolsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Octocode Chrome Devtoolsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにOctocode Chrome Devtoolsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/bgauryy/octocode/tree/main/skills/octocode-chrome-devtoolsを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Octocode Chrome Devtoolsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Octocode Chrome Devtoolsで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもOctocode Chrome Devtoolsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Octocode Chrome Devtools」は無料ですか?

はい。bgauryyがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇