Communityコーディング&開発github.com

ashley-seymour/claude-skills

組み込みブラウザ(Claude デスクトップアプリ内のブラウザペイン)の使い方を説明します。サインインの永続化、タブ操作、ページのテキスト読み取り、サイト承認、開けないサイト、接続できない場合の対処などをカバーします。

claude-skills とは?

このスキルは、Claude デスクトップアプリ内の組み込みブラウザ(ブラウザペイン)を効果的に操作するための包括的なガイドです。このブラウザは、ユーザーのChromeとは別の独立したブラウザであり、`mcp__Claude_Browser__*` などのツール名で提供されます。サインイン状態はセッション間で永続化され、Claudeはユーザーの既存セッションを尊重します。このスキルは、`get_page_text` や `read_page` を使ってスクリーンショットよりも効率的にページテキストを読み取る方法、タブの管理方法、サイト承認の処理方法、`file://` URLやClaudeが起動したlocalhostサーバーを開けない理由、そしてブラウザがオフラインになった場合の対処法を説明します。Claude in Chrome とは別のスキルであることに注意してください。

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ashley-seymour/claude-skills/tree/HEAD/.trash/1792396014664-17492-PVvHm9/built-in-browser

Installed? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

組み込みブラウザ

組み込みブラウザは、Claude デスクトップアプリ内の独立したブラウザペインであり、ユーザーのChromeとは別のものです。そのツールは、セッションがデスクトップアプリ内で実行されている場合は mcp__Claude_Browser__* という名前で、セッションがクラウド上で実行され(Web、スマートフォン、またはデスクトップアプリから開始)、ユーザーのコンピューターにリンクされている場合は mcp__remote-devices__Claude_Browser__* という名前で提供されます。プレフィックスの後の名前はどちらの場合も同じで、Claudeは実際に存在するプレフィックスを使用し、このスキルではプレフィックス以降の部分でツールを参照します。

組み込みブラウザのツールとして enable__mcp__remote-devices__Claude_Browser のみが存在する場合、Claudeは最初にそれを呼び出します。これにより、この会話のために組み込みブラウザがオンになり、実行されると mcp__remote-devices__Claude_Browser__* ツールが使用可能になります。

ユーザーが見えるもの

ブラウザペインは、アーティファクト、ドキュメント、ファイルプレビューとともにデスクトップアプリのサイドパネルを共有しており、パネルには一度に1つだけ表示されます。ブラウザペインが表示されている間、ユーザーはClaudeと同じ画面を見ることができ、いつでもブラウジングや操作を引き継ぐことができます。パネルに他のものが開かれている場合、またはパネルが閉じられている場合、組み込みブラウザは動作を続けますが、ユーザーはそれを見ることができません。

組み込みブラウザでユーザー自身に操作(ボタンのクリック、サインイン、認証手順の完了など)を依頼する直前に、Claudeは tabs_context を呼び出します。その結果は、ブラウザペインが表示されているか、非表示になっているか、開いていないかを示します。ペインが開いていない場合、Claudeは最初にページを開いて再度確認します。ペインが非表示になっている場合、ClaudeはまずユーザーにClaudeデスクトップアプリでブラウザを表示するよう依頼します。Macの場合はCmd+Shift+B、Windowsの場合はCtrl+Shift+Bを押すか、サイドパネルに開いている他のものを閉じて地球アイコン(ブラウザボタン)をクリックします。その後、Claudeはブラウザで何をすべきかを伝えます。Claudeが依頼するのは、ブラウザを使用してもペインが自動的に表示されず、パネルに何を表示するかはユーザーの選択だからです。Claudeはまた、ブラウザで見つけたものや行ったことを会話の中で伝えます。ユーザーがペインを見ていない可能性があるからです。

サインインは永続化され、ユーザーのものです

組み込みブラウザは独自の永続的なプロファイルを保持し、デスクトップアプリのセッション間で共有されます。ユーザーまたは以前のセッションが既にサイトにサインインしている可能性があり、Claudeが完了したサインインも後で保持されます。Claudeは既存のセッションをユーザーのものとして扱います。決してログアウトしたり、資格情報を変更したり、タスクに必要な範囲を超えてアカウントにアクションを実行したりしません。

タブ

組み込みブラウザにはタブがあります。preview_start を url とともに使用すると、既存のタブをそのままにして、そのURLで新しいタブを1回の呼び出しで開き、tabId を返します。そのため、宛先が既にわかっている場合は、tabs_create の後に navigate を呼び出すよりも preview_start が推奨されます。navigate、read_page、get_page_text、find、computer、form_input、およびコンソールとネットワークリーダーは、tabId で指定されたタブに対して作用します。tabId を省略するとアクティブなタブが対象となり、tabs_context で開いているタブの一覧を取得できます。

ToolSearch による読み込み

Claudeは組み込みブラウザのツールを一つずつではなく、まとめて読み込みます。それらが遅延リストにある場合、Claudeはそれらすべてを1回のToolSearch呼び出しで読み込みます。そのクエリはツール名の完全なプレフィックスです(例:{ query: "mcp__remote-devices__Claude_Browser__", max_results: 64 })。

ページの読み取り

Claudeは、スクリーンショットよりも get_page_text と read_page を優先します。これらは、表示されているビューポートのピクセルではなく、ページの実際のテキストと構造を返すためです。computer をアクション "screenshot" で使用するのは、視覚的なレイアウトが重要な場合や、ユーザーがページを見たいと依頼した場合です。

サイト承認、ブロックされたサイト、および request_access

ユーザーの承認設定に応じて、Claudeがサイトに対してアクションを実行する前に、ユーザーにサイトの承認を求める場合があり、一部のサイトは完全にブロックされています。Claudeは、承認が保留中であれば、それを回避しようとせずに待機します。ページが拒否されたり、承認が却下されたりした場合、Claudeはユーザーにその旨を伝え、再試行せずに次の処理に進みます。

ツールに mcp__remote-devices__Claude_Browser__ プレフィックスが付いている場合、承認はユーザーの任意のデバイスから回答でき、到着までに少し時間がかかる場合があります。また、セッションには request_access ツールが存在する場合もあります。ブラウザツールが「サイトはまだ許可されていません」と応答し、request_access が存在する場合、ClaudeはそのサイトのURLとスコープ「once」(または、タスクがそのサイトを引き続き使用する場合は「site」)を指定して request_access を呼び出し、ユーザーの回答を待ってから元のツールを再試行します。request_access がない場合、拒否されたサイトは上記のように処理されます。Claudeはユーザーに伝え、次の処理に進みます。

組み込みブラウザが開けないもの

組み込みブラウザは、file:// URLやClaude自身が起動した localhost サーバーを開くことができません。なぜなら、それらはClaudeのシェルが実行される場所で動作し、ブラウザペインが実行される場所ではないからです。Claudeが生成したHTMLをユーザーに表示するには、代わりにアーティファクトを使用します。

組み込みブラウザにアクセスできない場合

ツールに mcp__remote-devices__Claude_Browser__ プレフィックスが付いている場合、ペインはユーザーのコンピューター上のClaudeデスクトップアプリ内で実行され、Claudeは別の場所で実行されているため、そのアプリが開いていてオンラインである場合にのみアクセス可能です。これらのツール呼び出しがデスクトップアプリに到達できない場合(接続エラーまたは応答なし)、Claudeは再試行せずに、ユーザーに組み込みブラウザがコンピューター上でオフラインのように見えることを伝え、セッションのブラウザガイダンスに従って、他のブラウザを続けて使用するか、最初に問い合わせるかを決定します。

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

ashley-seymour/claude-skills

Arm, run and disarm an unattended away run (a night or a few hours). A queue of items is worked one per fresh `claude -p --agent away-orchestrator` process, relaunched by a watchdog under a Windows scheduled task, in its own worktree on branch away/<date>, ending in a morning report. Use only when the operator asks to arm, check or disarm an away run, or when running as away-orchestrator. Not for interactive project waves (project-workflow) or one-off `claude -p` scripts (headless-claude).

ashley-seymour/claude-skills

Use this skill when the user's prompt requires (1) researching a topic across multiple sources, comparing options or alternatives, analyzing trends or history, understanding markets or industries, or reviewing literature or studies and (2) synthesizing that research into a comprehensive, narrative report. If you're planning to search the web or internal knowledge bases, consider using this skill. This skill coordinates research subagents, so use it only when you have a tool for spawning subagents (the Agent or Task tool); otherwise, research the question directly.

ashley-seymour/claude-skills

Read this skill before the first step that uses Claude in Chrome, the browser extension whose tools are named mcp__claude-in-chrome__* (also called Chrome, the browser extension, or the external browser) and which acts in the person's real Chrome with their own sign-ins; before those tools are turned on there may be a single enable__mcp__claude-in-chrome tool instead. It covers loading the tools in one ToolSearch call, checking the person's open tabs and working in a new tab, site permissions, GIF recordings, console logs, dialogs to avoid, and when to stop and ask. It is not for the built-in browser (mcp__Claude_Browser__* or mcp__remote-devices__Claude_Browser__* tools), which has its own skill, and it does not decide which browser to use.

ashley-seymour/claude-skills

Read this skill before the first step of any request to do something in an app on the person's own computer (Notes, Finder, System Settings, any desktop app), to look at their screen, or for \"computer use\". Computer use (desktop control) lets Claude take screenshots of the person's desktop and control it with clicks, typing and scrolling through the Claude desktop app; its tools are named mcp__computer-use__* when the session runs in the desktop app and mcp__remote-devices__computer_* when a cloud session is linked to the person's computer; before computer use is turned on for a conversation there may be no such tools, only an enable__mcp__remote-devices__computer tool, which turns it on. It covers turning it on, picking the right tool, the access flow, and the safety rules for tiered apps, links and financial actions. It is not for websites, which go through Claude in Chrome or the built-in browser and their own skills.

関連スキル