Browser Verifyのロゴ

Browser Verify

コミュニティ
arozumenko
browser-verify

Use when you need to run arbitrary JS in a page, inspect cookies/localStorage, check computed styles, emulate devices, or drive real mouse/keyboard events. Chrome DevTools Protocol browser automation with zero external dependencies.

概要

公開者arozumenko
リポジトリsdlc-skills
スキル名browser-verify
スター
26
フォーク
10
同梱ファイル
4
ライセンスApache-2.0
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 4個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

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

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

スキルの指示

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

Browser Verify

Testing-grade browser automation using Chrome controlled through the Chrome DevTools Protocol. All interactions use real CDP Input domain events (mouse coordinates, key events) — not synthetic JS .click(). Zero external dependencies beyond Node 22's built-in WebSocket.

Architecture

Scripts live in the scripts/ directory alongside this SKILL.md:

  • chrome-launcher.sh — Start/stop/status Chrome with remote debugging
  • cdp.mjs — Full CDP client with 50+ commands

No npm install required. Uses Node 22 built-in WebSocket.

Resolving Script Paths

The scripts are in the scripts/ subdirectory of this skill. Resolve the path from your .claude/skills/browser-verify/ install location:

bash
SCRIPTS=".claude/skills/browser-verify/scripts"

bash "$SCRIPTS/chrome-launcher.sh" start --headless
node "$SCRIPTS/cdp.mjs" navigate "https://example.com"

Workflow

1. Start Chrome

bash
bash "$SCRIPTS/chrome-launcher.sh" start
# Headless (no window, faster):
bash "$SCRIPTS/chrome-launcher.sh" start --headless

2. Run Commands

bash
node "$SCRIPTS/cdp.mjs" <command> [args] [--flags]

3. Stop Chrome

bash
bash "$SCRIPTS/chrome-launcher.sh" stop

Command Reference

Navigation

CommandExamplePurpose
navigate <url>navigate "https://example.com"Open URL, wait for load
reloadreloadReload current page
backbackBrowser back
forwardforwardBrowser forward
page-infopage-infoTitle, URL, counts, viewport, meta
list-targetslist-targetsList open tabs
new-tab [url]new-tab "https://example.com/about"Open new tab
close-tab [id]close-tabClose tab

Visual

CommandExamplePurpose
screenshotscreenshot --output /tmp/page.pngFull page capture
screenshot --selector <s>screenshot --selector ".card"Element capture
screenshot --fullscreenshot --full --output /tmp/full.pngBeyond viewport
viewport <w> <h>viewport 375 812Set viewport size
pdfpdf --output /tmp/page.pdfSave as PDF
emulate <device>emulate mobileDevice emulation

Available devices: mobile, iphone, ipad, tablet, android, desktop, laptop

DOM Inspection

CommandExamplePurpose
evaluate <js>evaluate "document.title"Run JS in page context
get-html [--selector s]get-html --selector "#app"Get outerHTML
get-text [--selector s]get-text --selector ".message"Get textContent
get-attribute <sel> <attr>get-attribute "a" "href"Get attribute
get-value <sel>get-value "input[name=email]"Get input value
get-styles <sel>get-styles ".btn" --props "color,fontSize"Computed styles
query-all <sel>query-all "li.item"Info on all matches

Interaction (Real CDP Input Events)

CommandExamplePurpose
click <sel>click "button.submit"Left click
click <sel> --button rightclick ".menu" --button rightRight click
click <sel> --count 2click ".item" --count 2Double click
hover <sel>hover ".tooltip-trigger"Mouse hover
type <sel> <text>type "#email" "test@test.com"Type text
type <sel> <text> --cleartype "#search" "new query" --clearClear then type
press <key>press EnterPress key
press <key> --modifiers "ctrl"press a --modifiers "ctrl"Key combo
clear <sel>clear "#search"Clear input field
focus <sel>focus "#input"Focus element
blur <sel>blur "#input"Blur element
select <sel> <value>select "#country" "US"Select dropdown
check <sel>check "#agree"Check checkbox
uncheck <sel>uncheck "#newsletter"Uncheck checkbox
scroll <sel>scroll ".footer"Scroll to element
scroll --x 0 --y 500scroll --x 0 --y 500Scroll to coords
drag <from> <to>drag ".item" ".dropzone"Drag and drop
upload <sel> <path>upload "#file" "/tmp/doc.pdf"File upload

Waiting

CommandExamplePurpose
wait <sel>wait ".loaded"Wait for DOM element
wait-visible <sel>wait-visible ".modal"Wait until visible
wait-hidden <sel>wait-hidden ".spinner"Wait until hidden
wait-text <text>wait-text "Success"Wait for text on page
wait-url <pattern>wait-url "/dashboard"Wait for URL change
wait-network-idlewait-network-idleWait for no requests
sleep <ms>sleep 1000Fixed delay

All wait commands accept --timeout <ms> (default 10000).

Debugging

CommandExamplePurpose
get-consoleget-consoleAll console messages
get-networkget-networkNetwork requests + timing
get-network --status 4xxget-network --status errorFilter by status (4xx, 5xx, error, or exact code)
get-network --type xhrget-network --type fetchFilter by initiator type
get-cookiesget-cookiesAll cookies
set-cookie <n> <v>set-cookie "token" "abc" --domain localhostSet cookie
clear-cookiesclear-cookiesClear all cookies

QA Inspection

CommandExamplePurpose
get-storageget-storagelocalStorage + sessionStorage combined
get-performanceget-performanceTiming, resource sizes, LCP/FID/CLS
get-metaget-metaMeta tags, OG, Twitter cards, structured data
inject-axeinject-axeRun axe-core WCAG 2.x audit, returns violations
inject-axe --selector sinject-axe --selector "main"Scope axe to a subtree

Common Patterns

Login Flow

bash
node "$SCRIPTS/cdp.mjs" navigate "https://app.example.com/login"
node "$SCRIPTS/cdp.mjs" type "#email" "user@test.com" --clear
node "$SCRIPTS/cdp.mjs" type "#password" "pass123" --clear
node "$SCRIPTS/cdp.mjs" click "button[type=submit]"
node "$SCRIPTS/cdp.mjs" wait-url "/dashboard" --timeout 5000
node "$SCRIPTS/cdp.mjs" screenshot --output /tmp/dashboard.png

Responsive Verification

bash
node "$SCRIPTS/cdp.mjs" navigate "https://example.com"
node "$SCRIPTS/cdp.mjs" emulate mobile
node "$SCRIPTS/cdp.mjs" screenshot --output /tmp/mobile.png
node "$SCRIPTS/cdp.mjs" emulate desktop
node "$SCRIPTS/cdp.mjs" screenshot --output /tmp/desktop.png

Privacy Inspection

bash
node "$SCRIPTS/cdp.mjs" navigate "https://example.com"
node "$SCRIPTS/cdp.mjs" get-cookies
node "$SCRIPTS/cdp.mjs" get-storage
node "$SCRIPTS/cdp.mjs" evaluate "JSON.stringify([...document.querySelectorAll('script[src]')].map(s=>s.src))"

Accessibility Audit (axe-core)

bash
node "$SCRIPTS/cdp.mjs" navigate "https://example.com"
node "$SCRIPTS/cdp.mjs" inject-axe
# Scope to main content only:
node "$SCRIPTS/cdp.mjs" inject-axe --selector "main"

Performance Snapshot

bash
node "$SCRIPTS/cdp.mjs" navigate "https://example.com"
node "$SCRIPTS/cdp.mjs" get-performance
# Check for failed requests:
node "$SCRIPTS/cdp.mjs" get-network --status error

SEO / Meta Audit

bash
node "$SCRIPTS/cdp.mjs" navigate "https://example.com"
node "$SCRIPTS/cdp.mjs" get-meta

Notes

  • Always start Chrome before running commands; stop when done
  • Screenshots saved as PNG — use Read tool to view them
  • All click/type/hover use real CDP Input events at element coordinates
  • Elements are automatically scrolled into view before interaction
  • type --clear uses Select All + Delete before typing (framework-safe)
  • Console/network capture is per-session (per navigate call)

Reference

See references/cdp-commands.md for extended evaluate patterns, QA-specific inspection scripts, and troubleshooting.

同梱ファイル

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

よくある質問

AIスキル「Browser Verify」では何ができますか?

Use when you need to run arbitrary JS in a page, inspect cookies/localStorage, check computed styles, emulate devices, or drive real mouse/keyboard events. Chrome DevTools Protocol browser automation with zero external dependencies.

TypingMindでBrowser Verifyを使うメリットは何ですか?

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

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

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

Browser Verifyを使えるAIモデルはどれですか?

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

Browser Verifyは何個のAIモデルで使えますか?

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

AIスキル「Browser Verify」は無料ですか?

はい。arozumenkoがGitHubでApache-2.0ライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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