agent-browser
できること
このエージェントは、実際のブラウザを使ってWebサイトを表示し、操作します。何かが期待どおりに動いているかを確認したり、スクリーンショットを撮ったり、Webページから特定の情報を取得したりするときに使われます。
使う場面
- ✓ブラウザでWebサイトのページがどのように表示されるかを確認し、変更が反映されているかを確かめたいとき。
- ✓ページが完全に読み込まれた後にだけ表示されるテキストや情報を取得する必要があるとき。
- ✓ユーザーからサイトに不具合があるという報告があり、エラーを実際に確認する必要があるとき。
スキルのリンク
https://github.com/paperclipai/paperclip/blob/master/packages/skills-catalog/catalog/optional/browser/agent-browser/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“ニュースサイトのトップページのスクリーンショットを撮って、ログインボタンが表示されているかを教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
ブラウザを開き、指定されたアドレスにアクセスします。ボタンをクリックしたり、入力欄に文字を入力したりすることもできます。その間に、スクリーンショットを撮ったり、表示されたエラーを記録したりできます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Agent Browser
Use a controlled browser to verify behavior, capture evidence, or extract information from web pages that a static fetch cannot reach (SPAs, login-gated pages, dynamic content). This skill is about supervised verification, not unattended scraping.
When to use
- You need a screenshot of a deployed page or a local dev server to confirm a UI change.
- You need to read JavaScript-rendered content that
curl/wgetwill not see. - A user reports a UI bug and you need to reproduce it interactively to capture console errors, network requests, or layout state.
- You need to walk through a short flow (load page, click, observe) to verify acceptance criteria.
When not to use
- The page is reachable as static HTML. Use
curl/HTTP fetch — it is cheaper, faster, and more reliable. - The task is unattended large-scale scraping. That belongs to a dedicated scraper with rate limits, robots.txt handling, and a real user agent policy — not this skill.
- The site is behind authentication you do not own credentials for, or whose terms of service prohibit automation.
- The site involves sensitive accounts (banking, healthcare, government) where automation risks lockout or compliance issues.
Before launching the browser
- Confirm the URL and what state should be true after navigation.
- Decide what evidence is needed: full-page screenshot, viewport screenshot, console log, network trace, HTML snapshot, extracted text.
- Decide the viewport size that matters for the task (mobile vs desktop). Default to a desktop size unless the task is mobile-specific.
- For local dev servers, confirm the server is running and the port is what you expect.
Driving the browser
A typical verification session:
- Launch with a real-looking user agent when the target is the public internet; an unrealistic UA flags automation traffic.
- Set a sane viewport (e.g., 1366×768 desktop, 390×844 iPhone-ish).
- Navigate and wait for the right signal. Prefer waiting for a specific selector or network-idle over arbitrary sleeps.
- Capture evidence immediately after the wait condition succeeds, before any interaction perturbs the state.
- Interact deliberately. One click at a time, with a wait between actions; re-screenshot after each meaningful state change.
- Read the console and network panels for unexpected errors, 4xx/5xx responses, or slow requests.
- Close the browser cleanly when done. Long-running browser sessions leak memory and hold ports.
What evidence to record
For a verification task, deliver:
- A full-page or viewport screenshot of each meaningful state.
- The console log, filtered to warnings/errors.
- Any non-2xx network response with the URL, status, and a short response body excerpt.
- A short narration: "Navigated to X, observed Y, clicked Z, observed W."
For a UI bug repro, also record:
- The exact reproduction steps the user can follow.
- Viewport size and (where relevant) device pixel ratio.
- Whether the bug reproduces on first load vs after interaction.
Login-gated pages
- Prefer programmatic auth (API token, magic link) over UI login.
- If UI login is the only path, the user must provide credentials explicitly for this run. Never reuse credentials outside the session.
- Do not store credentials in the session log, screenshot, or returned output.
Performance and politeness
- Throttle to one navigation per few seconds when touching shared infra.
- Respect
robots.txtfor public sites you are inspecting at any volume. - Cancel navigations if a page exceeds a reasonable timeout (e.g., 30s); the page is broken or rate-limiting you.
- Do not retry forever on failure. Retry once with a longer timeout, then escalate.
Common failure modes
- Selector not found. Page changed, or you are waiting before render. Take a screenshot to see actual state; adjust the selector.
- Click does nothing. The element is offscreen, covered by a modal, or in a shadow DOM. Scroll into view or pierce the shadow root.
- Headless detection. Some sites detect headless Chrome and serve a different page. Use a non-headless mode or a fingerprint-realistic configuration only when authorized.
- Cross-origin iframe blocking. Iframes you do not own cannot be inspected; the page must offer the data outside the iframe or the task is infeasible.
Anti-patterns
- Long unsupervised browser sessions that drift from the original task.
…
よくある質問
これを使って、Webサイトから多くのファイルをダウンロードできますか?
いいえ。このエージェントは特定の内容を確認するためのもので、ファイルを自動でダウンロードしたり、データをまとめて収集したりするためのものではありません。
ログインが必要なWebサイトにもログインできますか?
はい、可能です。ただし、その都度ユーザー名とパスワードを提供する必要があり、この情報は保存されません。銀行などの機密性の高いサイトでは使用しないでください。
Webサイトが読み込まれない場合はどうなりますか?
適切な時間まで待機し、ページが表示されなければ処理を中止して、問題があったことを報告します。
詳細
作者による元の説明
Drive a real browser to inspect or interact with a web page or app — navigate, take screenshots, read console and network, fill simple forms — for verification tasks, not unattended automation.
repo: paperclipai/paperclip
人気
- GitHubのスター
- 103k
- ランキング
- #806
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
delegate-work
103kエージェントが作業を別のエージェントに任せられるよう支援します。複雑なタスクを分割し、進捗を整理して管理するのに役立ちます。
follow-up-results
103kエージェントが以前の作業結果を確認できるようにします。タスクの進捗を追跡し、人間のフィードバックを追加するのに役立ちます。
review-my-team
103kエージェントが接続されたチームの状況を確認できるよう支援します。チーム、タスク、ブロッカー、承認待ちの概要を把握するのに役立ちます。
paperclip-task-bridge
103kエージェントが別のプラットフォーム上でタスクを作成・管理できるようにします。プロジェクト管理システムと直接やり取りするのに役立ちます。
似ているスキル
test-driven-development
311k機能や修正を作る前に、まず失敗するテストを書き、それが失敗するのを確認してから、合格させる最小のコードを書くようエージェントに教えます。
verification-before-completion
311kタスク、修正、ビルドが完了した、または合格したと主張する前に、実際のチェックを実行し、その出力を読むようエージェントに教えます。
migrate-to-shoehorn
310kテストファイル内の危険な型キャストを、shoehornライブラリに置き換え、テストが部分的なデータを使いつつ型チェックを通るようにします。