本文へスキップ
Skillpedia
エージェント36k · #7587

agent-browser

できること

このスキルは、AIエージェントがWebのタスクのためにブラウザを操作できるようにします。フォームへの入力、ページの確認、Webサイトからのデータの取り出しなどのタスク向けです。

使う場面

  • ✓Webページを開き、クリックして、フォームに入力する必要があるとき。
  • ✓ページのスクリーンショットや、そこから抽出されたデータがほしいとき。
  • ✓Webアプリをテストしたり、ログインが必要なサイトを使ったりしたいとき。

スキルのリンク

https://github.com/Tencent/WeKnora/blob/main/internal/application/service/builtin_skills/agent-browser/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/Tencent/WeKnora/blob/main/internal/application/service/builtin_skills/agent-browser/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“このWebサイトを開き、お問い合わせフォームに入力して、確認ページのスクリーンショットを撮ってください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このスキルは、ステップの間も開いたままになる、事前にインストールされたコマンドラインのブラウザを実行します。エージェントは、ページの操作できる要素を読み、一度に1つずつ操作し、変更のたびにページを読み直します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

agent-browser (browser inside the sandbox)

The CLI is already installed. Do not install it again, do not run agent-browser install, and never install a browser yourself: the sandbox pins its own Google Chrome. Run it with shell_exec and without skill_name. Every call is one command; the browser stays open between calls.

Start here

This file is only the map. Load the real usage guide from the CLI itself, so the instructions always match the installed version:

agent-browser skills get core        # workflows, common patterns, troubleshooting
agent-browser skills get core --full # adds the full command reference
agent-browser skills list            # specialized guides bundled with the CLI

For quick tasks the loop below is enough; read core before anything harder (waits, iframes, multiple tabs, downloads, auth flows).

Basic loop

agent-browser open https://example.com   # the window opens on the Desktop tab
agent-browser snapshot -i          # interactive elements as @e1, @e2, ...
agent-browser click @e2
agent-browser fill @e3 "text to type"
agent-browser screenshot /workspace/output/page.png
agent-browser close                # closes the browser; the screen stays

Run snapshot -i again after every page change: refs from an older snapshot go stale. agent-browser --help lists every other command.

Screens

The browser always opens as a visible window on the user's Desktop tab, so the user can watch it and take over. Do not ask the user whether to show it, and do not pass any flag to hide or show it. The user may click in the same window while you work: run snapshot -i again before acting if the page may have changed. A captcha, 2FA code or password is for the user to type in that window, never in the chat.

Rules

  • Do not pass --session, --profile, --cdp, --auto-connect, --state or --executable-path. The sandbox supplies the profile, the session and the browser; those flags are discarded.
  • Do not set DISPLAY, and do not target display :0. That screen belongs to other sessions.
  • Close the browser only with agent-browser close. Never pkill/kill chrome or agent-browser processes: other sessions' browsers run on this machine too, and agent-browser close only ever touches this session's own browser.
  • Cookie state is saved in a machine-level seed and restored before startup navigation. Live browsers mirror missing cookies and localStorage keys; existing keys are not overwritten. A receiving page may reload once idle. localStorage is shared from open pages, not persisted in the cookie seed. Cookie and password database files are shared; history, cache and IndexedDB stay in each profile. Signing out may affect shared login state. Windows remain on this session's screen. Never print cookie, password or token files.
よくある質問

私の個人のChromeブラウザを使いますか?

いいえ。サンドボックスの中の別のブラウザで、あなたのコンピューターのローカルのブラウザではありません。

ブラウザ自体をインストールしますか?

いいえ。ブラウザはすでにインストールされており、スキルはエージェントに別のブラウザをインストールしないよう指示します。

スクリーンショットはどこに保存されますか?

ワークスペースの出力フォルダ内のパスに保存できます。

詳細

作者による元の説明

Use when the task needs a real web browser inside the sandbox - open a page, click, fill forms, take screenshots, extract or scrape data, test a web app, or use a site that needs a login. Drives the preinstalled agent-browser CLI; the browser window shows on the user's Desktop tab. This is NOT the local_browser tool, which controls the user's own Chrome on their computer.

repo: Tencent/WeKnora

人気

GitHubのスター
36k
ランキング
#7587
ライセンス
—
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル