Token导航 LogoToken导航

Agent Skill · 研究检索

browser-automation(浏览器自动化)

browser-automation 用于处理浏览器自动化、网页检查和页面信息提取,适合在 Codex、Claude、Cursor、Gemini CLI 中需要让 Agent 打开页面、读取网页或验证前端流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

browser-automation 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证为 MIT,暂无第三方扫描结果,按安装量在研究检索类的 73,674 个 Skill 里排第 71,089。

总安装 196周安装 8GitHub Stars 公开资料未说明下载 63核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:browser-automation(浏览器自动化)
来源仓库:https://github.com/toilahuongg/google-antigravity-kit
仓库路径:skills/browser-automation
安装命令:
npx skills add toilahuongg/google-antigravity-kit --skill "browser-automation"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add toilahuongg/google-antigravity-kit --skill "browser-automation"

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

发现并安装 AI 代理的技能。适用于扩展 Agent 功能、集成第三方工具和服务场景。安装后可通过 npx skills add toilahuongg/google-antigravity-kit --skill "browser-automation" 使用,需确认宿主环境是否支持技能加载。

使用前请检查权限范围,避免触发不必要的网络请求或代码执行操作。建议结合具体用例查阅原始仓库文档,确保技能兼容且安全可靠。

来源仓库内路径:skills/browser-automation

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add toilahuongg/google-antigravity-kit --skill "browser-automation";命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

browser-automation 怎么安装?

在终端执行 npx skills add toilahuongg/google-antigravity-kit --skill "browser-automation"。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

browser-automation 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

browser-automation 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

browser-automation 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

browser-automation 用的人多吗?

公开数据是累计安装 196 次,近一周安装 8 次,下载 63 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

browser-automation 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
browser-automation

浏览器自动化 · 本页

196—操作浏览器MIT未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
browser-automation
description
Guide for browser automation and testing using the browser_subagent tool. Use this skill when users need to interact with web pages, test user flows, scrape dynamic content, automate form submissions, capture screenshots, verify UI changes, or record browser sessions. Supports clicking, typing, navigation, scrolling, waiting for elements, and all standard browser interactions with automatic video recording.
license
Complete terms in LICENSE.txt

Browser Automation

This skill provides comprehensive guidance for browser automation using the browser_subagent tool.

Overview

The browser_subagent enables autonomous browser control with automatic session recording. All interactions are captured as WebP videos saved to the artifacts directory.

Core Capabilities

  1. Navigation - Open URLs, navigate pages, handle redirects
  2. Interaction - Click, type, scroll, hover, drag-and-drop
  3. Extraction - Read DOM content, capture screenshots, scrape data
  4. Verification - Test user flows, validate UI changes
  5. Recording - Automatic video capture of all sessions

When to Use

Use browser_subagent (vs read_url_content) when:

  • JavaScript execution is required
  • User interaction is needed (forms, clicks, navigation)
  • Authentication or session state is required
  • Dynamic content loads after page render
  • Visual verification or screenshots are needed
  • Recording demonstrations or tutorials

Use read_url_content for static HTML content where JavaScript isn't needed.

Tool Parameters

TaskName (required)

Human-readable title for the browser task.

  • Should be properly capitalized
  • Example: "Testing Login Flow", "Scraping Product Data"
  • Avoid URLs or technical jargon

Task (required)

Detailed instructions for the browser subagent. Be explicit about:

  • What to do
  • When to stop
  • What information to return

Critical: The subagent is autonomous and one-shot. Provide comprehensive instructions upfront.

RecordingName (required)

Filename for the video recording.

  • All lowercase with underscores
  • Maximum 3 words
  • Describes what the recording contains
  • Example: login_flow_demo, checkout_process

Best Practices

1. Clear Task Instructions

Bad: "Check the website"

Task: Go to example.com and check it

Good: Specific, with clear completion criteria

Task: Navigate to https://example.com, wait for the page to fully load, 
verify that the main heading contains "Welcome", capture a screenshot of 
the page, then return the page title and the text content of the main 
heading.

2. Return Conditions

Always specify what the subagent should return:

Task: Navigate to the product page at https://shop.example.com/products/123
and extract the following data:
- Product title
- Price
- Availability status
- Number of reviews

Return this information in a structured format when complete.

3. Error Handling

Instruct the subagent how to handle failures:

Task: Attempt to log in to https://app.example.com with username "testuser" 
and password "testpass123". If login succeeds, navigate to the dashboard 
and return the user's display name. If login fails, capture a screenshot 
of the error message and return the error text.

4. Wait Conditions

Specify wait conditions for dynamic content:

Task: Navigate to https://example.com/search, type "widgets" into the 
search box, click the search button, and wait until the results list 
appears (look for element with class "search-results"). Once results load, 
count the number of result items and return that count.

5. Multi-Step Flows

Break down complex flows into clear steps:

Task: Complete the following checkout flow:
1. Navigate to https://shop.example.com
2. Click "Add to Cart" on the first product
3. Click the cart icon in the top right
4. Click "Proceed to Checkout"
5. Fill in the shipping form with test data
6. Capture a screenshot of the order summary
7. Return the total price shown on the order summary

Common Patterns

Authentication Testing

TaskName: "Testing User Login"
Task: Navigate to https://app.example.com/login, enter " [email protected] " 
in the email field, enter "password123" in the password field, click the 
"Sign In" button, wait for navigation to complete. If login succeeds and 
you see a dashboard, return "Login successful". If there's an error message, 
return the error text.
RecordingName: login_test

Data Scraping

TaskName: "Scraping Product Listings"
Task: Navigate to https://shop.example.com/products, wait for all product 
cards to load, then extract the title and price from each product card. 
Return a list of products with their titles and prices. If pagination 
exists, only scrape the first page.
RecordingName: product_scrape

Form Submission

TaskName: "Submitting Contact Form"
Task: Navigate to https://example.com/contact, fill in the form with:
- Name: "Test User"
- Email: " [email protected] "
- Message: "This is a test message"
Then click the submit button and wait for the confirmation message. 
Return the confirmation message text.
RecordingName: contact_form

Screenshot Capture

TaskName: "Capturing Homepage Design"
Task: Navigate to https://example.com, wait for complete page load including 
all images, scroll to show the full page layout, capture a full-page 
screenshot, and return confirmation that the screenshot was saved.
RecordingName: homepage_capture

UI Verification

TaskName: "Verifying Responsive Layout"
Task: Navigate to https://example.com, resize the browser window to mobile 
width (375px), capture a screenshot, then resize to desktop width (1920px), 
capture another screenshot. Return the dimensions used and confirm both 
screenshots were captured.
RecordingName: responsive_check

Element Selectors

The browser subagent can find elements using:

  • CSS selectors
  • Text content
  • ARIA labels
  • Position/proximity
  • Visual descriptions

Be specific when describing elements:

Good:

  • "Click the blue 'Submit' button at the bottom of the form"
  • "Type into the input field labeled 'Email Address'"
  • "Click the first product card in the grid"

Avoid:

  • "Click the button" (which button?)
  • "Fill in the field" (which field?)

Waiting Strategies

Wait for Navigation

After clicking "Submit", wait for the page to navigate to the success page.

Wait for Elements

Wait until the spinner disappears and the results table is visible.

Wait for Content

Wait until the product count shows a number greater than 0.

Fixed Delays (use sparingly)

Wait 3 seconds for animations to complete.

Recording Best Practices

Naming Convention

  • Use lowercase with underscores
  • Be descriptive but concise
  • Maximum 3 words
  • Examples:

- login_flow - checkout_test - nav_demo - form_submit

Recording Purpose

Recordings are automatically saved and useful for:

  • Debugging failed automation
  • Demonstrating user flows
  • Documenting test results
  • Creating tutorials
  • Reviewing UI behavior

Advanced Techniques

Session State

The browser maintains state during a single subagent execution:

  • Cookies persist across navigation
  • Login sessions remain active
  • Form data can carry forward

Multiple Tabs

If needed, the subagent can work with multiple tabs:

Task: Open https://example.com in the current tab, then open a new tab 
and navigate to https://example.com/compare. Switch between tabs to 
compare data from both pages.

File Downloads

Task: Navigate to https://example.com/downloads, click the "Download Report" 
button, wait for the download to complete, and return confirmation.

Iframes

Task: Navigate to https://example.com, locate the embedded iframe 
containing the video player, switch context to that iframe, then click 
the play button.

Error Recovery

If the browser tool encounters issues:

  1. The subagent will report what went wrong
  2. Read the error message carefully
  3. Adjust your Task instructions
  4. Try again with more specific instructions or wait conditions

Common issues:

  • Element not found: Be more specific about element description
  • Timeout: Add explicit wait conditions or increase wait time
  • Navigation failed: Check URL validity, network issues

Performance Tips

  1. Be Specific: Clear selectors are faster than vague descriptions
  2. Minimize Waits: Only wait when necessary; don't add arbitrary delays
  3. Single Purpose: One task per browser_subagent call
  4. Return Fast: Return as soon as the required information is collected

Examples

See examples/ directory for complete working examples:

  • examples/login_test.md - Authentication flow
  • examples/form_automation.md - Form submission
  • examples/data_extraction.md - Web scraping
  • examples/ui_testing.md - Visual verification

Limitations

  • Each subagent call is independent (no session sharing between calls)
  • Cannot execute arbitrary JavaScript (but can interact with page elements)
  • Video recordings use system resources (keep sessions focused)
  • Some sites may block automation (CAPTCHA, bot detection)

Integration with Workflows

Browser automation pairs well with:

  • Testing workflows: Automate E2E tests
  • Data collection: Scrape and process information
  • Documentation: Record user flows automatically
  • Verification: Validate deployments

When NOT to Use

Avoid browser automation when:

  • Static HTML scraping is sufficient → use read_url_content
  • API endpoints are available → use direct API calls
  • File processing is needed → use file manipulation tools
  • The task requires human judgment (CAPTCHA, visual verification)

平台分布

windsurf

29.76%
按下载量换算19

OpenCode

23.42%
按下载量换算15

Codex

18.02%
按下载量换算11

Claude Code

11.57%
按下载量换算7

Antigravity

7.15%
按下载量换算5

Gemini CLI

3.17%
按下载量换算2

安全审计

暂无安全审计结果可展示。

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills