Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计提醒

upgrade-browser升级浏览器

Agent Skill

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

总安装

238

周安装

10

GitHub Stars

176,194

下载量

83
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/flutter/flutter --skill upgrade-browser

简介

用于处理浏览器自动化、网页检查和页面信息提取。

  • 适合让 Agent 打开页面、读取内容或验证前端流程。
  • 使用时需确认目标站点访问权限和页面结构稳定性。
  • 涉及敏感数据时应脱敏处理,避免泄露用户信息。upgrade-browser 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 安装前建议确认权限范围和维护状态,以及是否会触发网络请求。

SKILL.md

Upgrade Browser

This skill automates the process of upgrading Chrome and Firefox versions in the Flutter Web Engine and the Framework tests.

Workflow

1. Identify and Verify the New Version

Before updating any files, find and verify the existence of the version you want to use.

  • To find the latest stable version: dart scripts/fetch_versions.dart latest <chrome|firefox>
  • To verify a specific version exists: dart scripts/fetch_versions.dart verify <chrome|firefox> <version> This command will return true or false.

Verification Rules:

  • Enforced by default: If the command returns false, do not proceed.
  • Optional if requested: If the user explicitly asks to skip verification (e.g., "Upgrade to version X without verification"), you may skip this step.
  • Failed verification: If verification fails but the user confirms they want to proceed anyway, you may continue.

2. Update Local Files

The user may request to upgrade one or both locations. They may also use different versions for each location.

Flutter Web Engine (engine/src/flutter/lib/web_ui/dev/package_lock.yaml)

Update the version field for chrome or firefox.

chrome:
  version: 'NEW_VERSION'

firefox:
  version: 'NEW_VERSION'

Framework Tests (.ci.yaml)

Update all occurrences of chrome_and_driver with the new version.

- {"dependency": "chrome_and_driver", "version": "version:NEW_VERSION"}

Use replace with allow_multiple: true to ensure all instances are updated. Note: Currently, only Chrome is managed this way in .ci.yaml.

3. CI Config Sync

After updating the browser versions, synchronize the CI configurations. This step updates engine/src/flutter/ci/builders/linux_web_engine_test.json.

Only run this once. To verify if it needs to run, check the modification time of the file:

ls -l engine/src/flutter/ci/builders/linux_web_engine_test.json

From engine/src/flutter/lib/web_ui, run:

dev/felt generate-builder-json

Validation: Confirm the file engine/src/flutter/ci/builders/linux_web_engine_test.json has a new timestamp after the command finishes.

4. Local Verification

Before uploading to CIPD, run tests locally to ensure no regressions. From engine/src/flutter/lib/web_ui, run:

dev/felt test

*Note: You can use --browser <chrome|firefox> to limit the scope.*

5. CIPD Upload (Package Roller)

This is the final step as it uploads binaries to CIPD and requires special, temporary permissions.

  1. Ask the user if they have the necessary CIPD permissions (contact #hackers-infra on Discord if unsure).
  2. If confirmed, from engine/src/flutter/lib/web_ui, run: dart dev/package_roller.dart *Note: Use --dry-run if the user wants to test first.*

Examples

  • User: "Upgrade Chrome and Firefox to the latest stable versions everywhere."
  • Agent:

1. Runs dart scripts/fetch_versions.dart latest to get the latest versions. 2. Updates engine/src/flutter/lib/web_ui/dev/package_lock.yaml and .ci.yaml. 3. Runs dev/felt generate-builder-json to sync CI configs. 4. Suggests running local tests. 5. Finally, asks about CIPD permissions.

  • User: "Roll Chrome to version 135.0.0.0 everywhere. Skip verification."
  • Agent:

1. Skips dart scripts/fetch_versions.dart verify because the user requested it. 2. Updates package_lock.yaml and .ci.yaml directly with 135.0.0.0. 3. Follows the rest of the workflow (Sync, Test, CIPD).

  • User: "Update Firefox in the web engine to 130.0."
  • Agent:

1. Verifies version 130.0 for Firefox using dart scripts/fetch_versions.dart verify firefox 130.0. 2. If verification fails, informs the user: "I was unable to verify Firefox version 130.0 through Mozilla's official release history. Are you sure this is the correct version number?" 3. If user confirms or verification succeeds, updates package_lock.yaml. 4. Follows the rest of the workflow (Sync, Test, CIPD).

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.7%
按下载量换算29

Claude

31.04%
按下载量换算26

Cursor

20.02%
按下载量换算17

Gemini CLI

9.83%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills