スキル agent-browser
🌐

agent-browser

安全 ⚙️ 外部コマンド🌐 ネットワークアクセス📁 ファイルシステムへのアクセス

使用 AI Agent 自動化網頁瀏覽

こちらからも入手できます: inference-sh-9,inference-sh-8,inferencesh,inf-sh,vercel-labs,inference-sh-0

自動化網頁互動,如表單填寫、資料擷取和測試,無需手動控制瀏覽器。此技能透過簡單的元素參照系統為 AI Agent 提供瀏覽器自動化功能,消除對複雜選擇器或 XPath 查詢的需求。

対応: Claude Codex Code(CC)
🥉 76 ブロンズ
1

スキルZIPをダウンロード

2

Claudeでアップロード

設定 → 機能 → スキル → スキルをアップロードへ移動

3

オンにして利用開始

テストする

「agent-browser」を使用しています。 Open https://example.com and show me interactive elements

期待される結果:

Session created: abc123

Interactive elements:
@e1 [a] 'Home' href='/'
@e2 [input type='text'] placeholder='Search'
@e3 [button] 'Submit'

Screenshot saved to: /tmp/screenshot.png

「agent-browser」を使用しています。 Click the search button and wait for results

期待される結果:

Action completed: clicked @e3
Waiting for page load...
Snapshot updated: 5 new elements found

Current URL: https://example.com/search?q=test

「agent-browser」を使用しています。 Extract all headlines from the page

期待される結果:

Executing JavaScript: document.querySelectorAll('h2').map(h => h.textContent)

Result: ['Introduction', 'Features', 'Pricing', 'Contact']
Screenshot saved

セキュリティ監査

安全
v1 • 3/5/2026

All 606 static findings are false positives. The skill contains only documentation (markdown files) and template shell scripts. The external_commands findings are code examples in markdown showing users how to use the infsh CLI tool. The network findings are example URLs in documentation. The filesystem findings are example file paths. The skill itself does not execute any commands - it provides documentation for a third-party CLI tool (inference.sh). Users execute the commands themselves, not the skill.

10
スキャンされたファイル
2,312
解析された行数
3
検出結果
1
総監査数

リスク要因

監査者: claude

品質スコア

45
アーキテクチャ
100
保守性
87
コンテンツ
50
コミュニティ
100
セキュリティ
91
仕様準拠

作れるもの

自動化表單測試

QA 工程師可以跨多個瀏覽器自動化表單提交工作流程,測試驗證邏輯和錯誤處理,無需手動點擊

從網頁應用程式擷取資料

研究人員可以從需要登入的網頁應用程式中擷取結構化資料,透過已驗證的作業階段導航以抓取報告或儀表板

回歸測試

開發人員可以建立可重現的瀏覽器自動化腳本,在程式碼變更後驗證關鍵的使用者流程,如結帳流程或帳戶註冊

これらのプロンプトを試す

開啟網頁
Open https://example.com and show me all interactive elements on the page
填寫並提交表單
Fill in the login form with username 'user@example.com' and password 'secret123', then click the submit button
使用 JavaScript 擷取資料
Navigate to https://example.com/data and execute JavaScript to extract all product names and prices into a structured format
錄製除錯影片
Open a browser session with video recording enabled, navigate through the checkout flow, and save the video for debugging

ベストプラクティス

  • 在��面導航後務必重新擷取快照以取得新的元素參照,因為當 DOM 變更時 @e 參照會失效
  • 使用環境變數來儲存敏感憑證,而不是在自動化腳本中硬式編碼
  • 完成時關���瀏覽器作業階段以釋放資源並擷取錄製的影片
  • 在開發期間啟用影片錄製,然後在生產執行時停用以提升效能

回避

  • 請勿在點擊連結或提交表單後重複使用元素參照 - 始終呼叫 snapshot 以取得新的參照
  • 避免長時間的作業階段持續時間而沒有活動 - 作業階段可能逾時並遺失��態
  • 絕不要在使用此技能的自動化腳本中提交憑證或 API 金鑰
  • 請勿在元素於檢視區中可見之前嘗試與其互動

よくある質問

使用此技能需要安裝任何東西嗎?
是的,您需要安裝 inference.sh CLI 工具 (infsh)。執行 'npx skills add inference-sh/skills@agent-tools' 以取得安裝指示。
點擊連結後我的元素參照會發生什麼事?
元素參照 (@e) 在任何導航或 DOM 變更後會失效。導航後務必呼叫 snapshot 函式以取得新的參照。
我可以使用此技能從網站抓取資料嗎?
是的,您可以導航至頁面、執行 JavaScript 以擷取資料並擷取螢幕擷圖。此技能支援已驗證的作業階段以抓取受保護的內容。
如何處理具有雙因素驗證的登入表單?
此技能支援雙因素驗證的手動介入 - 您可以暫停自動化以輸入代碼,或使用 TOTP 工具以程式設計方式產生代碼。範例請參閱 authentication.md。
我的瀏覽活動是否私密?
此技能使用 inference.sh 服務來執行瀏覽器指令。檢閱其隱私權政策以了解資料處理的詳細資訊。使用 Proxy 支援以獲得額外的隱私保護。
我可以並行執行多個瀏覽器作業階段嗎?
是的,每個作業���段都有唯一的 session_id。您可以建立多個作業階段並並行執行以進行平行測試或資料擷取。