Browser Viz Verifyのロゴ

Browser Viz Verify

コミュニティ
automateyournetwork
browser-viz-verify

NetClawが生成した可視化用HTMLファイル(three.js、canvas、drawio、UML、markmap)が実際に正しく表示されるかを検証します。スクリーンショットの撮影、コンソールエラーの確認、任意でのLighthouse監査を行います。人がファイルを手動で開いて確認する必要があるというQA上の課題を解消するため、ブラウザーで表示する可視化コンテンツを生成した直後に使用してください。外部サイトや認証済みブラウザープロファイルには一切アクセスしません。

Add to TypingMind

概要

公開者automateyournetwork
リポジトリnetclaw
スキル名browser-viz-verify
スター
680
フォーク
189
同梱ファイル
指示のみ
ライセンスApache-2.0
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Browser Visualization Verify Skill

Purpose

NetClaw ships several skills that generate browser-based visualization outputs — threejs-network-viz, canvas-network-viz, drawio-diagram, uml-diagram, markmap-viz. Until now, confirming that a generated file actually rendered correctly (no blank canvas, no JavaScript errors, no broken layout) required a human to manually open it in a browser. This skill closes that gap: it opens the file itself in a controlled, headless Chrome session, takes a screenshot, reads the console for errors, and optionally runs a Lighthouse audit — then reports a clear verdict.

This skill never navigates to a remote URL and never touches the persistent authenticated browser profile used by browser-gui-inspect. It only ever opens local file:// paths. See specs/048-chrome-devtools-browser-inspection/ for the full spec, research, and design behind this skill.

MCP Server

This skill uses tools provided by the chrome-devtools-mcp server (official Chrome DevTools team package, chrome-devtools-mcp on npm), spawned locally via npx -y chrome-devtools-mcp@latest over stdio transport. See mcp-servers/chrome-devtools-mcp/README.md.

Environment Variables

None. chrome-devtools-mcp takes all configuration as CLI flags, not env vars. This skill always runs headless against a local file — it never needs --headless=false or the persistent profile's authenticated sessions.


Workflow: Verify a Generated Visualization (P1 — MVP)

Input:

  • file_path (required) — absolute path to the generated visualization HTML file
  • run_audit (optional, default false) — whether to also run a Lighthouse audit

Step 1: Confirm the file exists

Before opening a browser session, verify file_path exists on disk. If it does not, stop and return:

verdict: "file_not_found"

Do not attempt to open a browser session for a path that doesn't exist.

Step 2: Open the file in a headless session

Tool: new_page
Args: { "url": "file://<file_path>" }

Step 3: Wait for the page to settle

Async-rendered visualizations (three.js scenes, canvas drawings) may take a moment to finish drawing. Use a bounded wait rather than capturing immediately:

Tool: wait_for
Args: { "text": <a string known to appear once rendering completes, e.g. a legend label>, "timeoutMs": 15000 }

If the wait times out, stop and return:

verdict: "timed_out"

Step 4: Capture a screenshot

Tool: take_screenshot

Save the result as the screenshot_path artifact, following the same output-directory convention as other NetClaw skill artifacts.

Step 5: Read the console

Tool: list_console_messages

Classify the result:

  • No errors/warnings present → verdict: "rendered_clean"
  • One or more error/warning messages present → verdict: "rendered_with_errors", and include the message text in console_errors — don't just report a blank/inconclusive screenshot when the console explains exactly what broke.

Step 6: Optional Lighthouse audit

If run_audit is true:

Tool: lighthouse_audit

Summarize the findings (performance, accessibility) into audit_summary. Skip this step entirely when run_audit is false — it adds meaningful runtime and isn't needed for a quick render check.

Step 7: Close the session

Tool: close_page

Output

{
  "verdict": "rendered_clean" | "rendered_with_errors" | "timed_out" | "file_not_found",
  "screenshot_path": "<path to captured screenshot>",
  "console_errors": ["<message>", ...],
  "audit_summary": { ... }   // present only if run_audit was true
}

Invoking from Other Skills

threejs-network-viz, canvas-network-viz, drawio-diagram, uml-diagram, and markmap-viz should each call browser-viz-verify automatically immediately after writing their generated HTML file, passing the freshly written file's path. This turns "did it render?" from a question the operator has to answer manually into a QA step NetClaw answers itself, within the ~30-second budget described in the spec's success criteria (SC-001). If browser-viz-verify returns rendered_with_errors or timed_out, surface that to the operator alongside the generated file rather than silently reporting success.

Error Handling

VerdictMeaningWhat to tell the operator
rendered_cleanScreenshot captured, no console errorsVisualization is good to share/open
rendered_with_errorsScreenshot captured, but console shows JS errors/warningsShow the exact console message(s) — don't just say "something went wrong"
timed_outPage never reached the expected rendered state within the bounded waitThe generated file may be malformed, or reference a resource that failed to load
file_not_foundfile_path doesn't existConfirm the visualization skill actually wrote the file before calling this skill

Constitution Notes

This skill is purely observational (Constitution I) — it never performs a write against any system, requires no ITSM gating (III), and needs no bespoke audit trail beyond DefenseClaw's generic tool-call logging (IV) since it is read-only and touches no external or authenticated system.

よくある質問

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

NetClawが生成した可視化用HTMLファイル(three.js、canvas、drawio、UML、markmap)が実際に正しく表示されるかを検証します。スクリーンショットの撮影、コンソールエラーの確認、任意でのLighthouse監査を行います。人がファイルを手動で開いて確認する必要があるというQA上の課題を解消するため、ブラウザーで表示する可視化コンテンツを生成した直後に使用してください。外部サイトや認証済みブラウザープロファイルには一切アクセスしません。

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

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

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

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

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

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

Browser Viz Verifyで使えるAIモデルの数に制限はありますか?

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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