跳到主要内容

browser_visible 精选

当用户需要控制 browser 的浏览器启动方式时,使用本 skill。browser 默认由 Playwright 直接管理、不开放调试端口(需让其他本地工具附加时显式传 `cdp_port`);`headed` 控制是否显示窗口,`private_mode` 保留用于兼容、不再改变默认行为,`browser_args` 传入额外的 Chromium 启动参数,`executable_path` 指定自定义浏览器可执行文件路径。

自动化 Codex CLIMCP 客户端 Apache-2.0 3.6 万
在 GitHub 打开

安装方式

cp -r src/qwenpaw/agents/tools/deprecated_browser/skills/browser_visible-zh ~/.claude/skills/browser-visible-zh

把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/

整仓一次性获取:git clone --depth 1 https://github.com/agentscope-ai/QwenPaw.git

依赖与权限

  • 无需 API Key
  • 需要联网访问外部服务
  • 依赖外部命令:playwright
  • 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。
触发场景
兼容不再改变默认行为

SKILL.md 正文

来源 agentscope-ai/QwenPaw@02b6a6d · 许可 Apache-2.0 · 内容未修改
已弃用: 此参考服务于稳定的 browser 实现。启用实验模式时,请优先使用统一的 browser 工具。

浏览器启动模式

browser.start 的启动方式:

  • 默认:Playwright 直接管理,不开放调试端口
  • cdp_port=N:managed CDP,开放本地调试端口供其他本地工具附加(详见 browser_cdp skill)
  • private_mode=true:与默认相同,保留用于兼容

参数含义:

  • headed:是否显示浏览器窗口
  • private_mode:保留用于兼容,不再改变启动方式
  • browser_args:额外的 Chromium 启动参数(字符串),多个参数用空格分隔。适用于所有启动路径(headless、headed、managed CDP)。例如 "--incognito" 启用隐身模式,"--proxy-server=http://127.0.0.1:7890" 设置代理。默认空字符串(无额外参数)。
  • executable_path:自定义浏览器可执行文件路径(字符串)。设置后覆盖系统默认浏览器检测,可指定任意基于 Chromium 的浏览器。例如 "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe"。仅允许包含已知浏览器关键词(chrome、chromium、edge、firefox、brave 等)的可执行文件,且文件必须存在。默认空字符串(使用系统默认)。

以上参数互不影响,可自由组合。

常见用法

默认启动:

{"action": "start"}

打开可见窗口:

{"action": "start", "headed": true}

隐身模式:

{"action": "start", "headed": true, "browser_args": "--incognito"}

指定浏览器路径 + 设置代理:

{"action": "start", "headed": true, "browser_args": "--proxy-server=http://127.0.0.1:7890", "executable_path": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe"}

private_mode

已是默认行为,无需设置。该参数仅为兼容旧调用而保留,与 cdp_port 同时传入会被拒绝。

什么时候用 browser_args

当用户需要传入 Chromium 原生启动参数时使用,常见场景:

  • 隐身/无痕模式(--incognito、--inprivate)
  • 设置代理(--proxy-server)
  • 指定窗口大小(--window-size=1920,1080)
  • 禁用 GPU(--disable-gpu)
  • 加载扩展(--load-extension=/path/to/ext)

参数使用 shell 风格的空格分隔,在 Windows 上会自动处理路径中的反斜杠。

什么时候用 executable_path

当用户需要使用非系统默认的浏览器时使用,常见场景:

  • 系统默认是 Chrome,但用户想用 Edge
  • 安装了多个浏览器,想指定某一个
  • 使用便携版浏览器

注意:executable_path 只接受包含已知浏览器关键词(chrome、chromium、edge、firefox、brave、vivaldi、opera、360se、yandex、tor)的可执行文件,且路径必须指向一个真实存在的文件。

注意

  • 默认由 Playwright 直接管理,不开放调试端口
  • 启动方式完全由调用参数决定
  • managed CDP 依赖本机存在 Chrome / Chromium / Edge
  • 用户手动操作可见浏览器时,不一定会刷新 idle 计时
  • private_mode、browser_args、executable_path 都是每次 start 的显式参数,不会持久保存
  • 若当前已有浏览器在运行,需要先 stop 再重新 start,才能切换启动方式、窗口可见性或启动参数。
  • 可见模式会占用桌面并需要图形环境,服务器或无图形环境可能无法使用。

质量与来源

所属仓库
agentscope-ai/QwenPaw
仓库星标
3.6 万
最近更新
今天
采集时间
今天
commit
02b6a6d088e3
内容指纹
sha256:6df804888692608
文件路径
src/qwenpaw/agents/tools/deprecated_browser/skills/browser_visible-zh/SKILL.md

同仓库其它 Skill

查看全部 48 个
edu-math-tutorial
数学题分步讲解视频的领域知识。适用场景:(1) 用户给出一道数学题并要求做讲解/ 解题视频;(2) 用户说"讲解这道题"、"生成解题视频"、"make a math tutorial"; (3) 需要中文数学教学视频,涉及方程、公式或几何图形。本 skill 只提供领域 知识(题目拆解、讲解节奏、旁白文案规范、版式与 KaTeX 排版风格);画面、 配音与成片一律用 Creator 原生 Element 与工具从源头构建。
精选 agentscope-ai/QwenPaw 3.6 万 原文
Codex CLIMCP 客户端
professional-media-prompts
为 Creator 编译制作级视觉资产图、电影分镜图和参考生视频 Prompt。适用于 角色身份板/设定图、关键帧或多宫格分镜、短片动作节拍、R2V/I2V/T2V 提示词, 尤其适合要求角色一致性、镜头语言、参考图职责、Seedance 时间段或声音设计的 任务。不用于纯素材剪辑、只查询模型参数,或只评价已经生成的成片。
精选 agentscope-ai/QwenPaw 3.6 万 原文
Codex CLIMCP 客户端
visual-asset-design
为角色/场景/道具设计视觉资产、编写或修复 VisualVariant 与阵容图的生成 Prompt 时使用。涵盖参考图布局(艺术身份板/序列关键帧/环境研究板/道具研究 板)、构图与镜头语言、图片审核误判规避、实体 continuity 与以主图为参考 的跨 Variant 衍生设计。不用于视频 Prompt 编译(见 professional-media-prompts)、 纯素材剪辑或只评价已生成产物。
精选 agentscope-ai/QwenPaw 3.6 万 原文
Codex CLIMCP 客户端
alicloud_cli
阿里云 CLI 中文文档镜像检索与命令辅助:先走章节索引,再下钻正文页面,给出命令前必须有本地文档证据。
精选 agentscope-ai/QwenPaw 3.6 万 原文
Codex CLIMCP 客户端
terraform-cli-setup
Terraform CLI 安装与初始化技能。当用户本地未安装 Terraform 时自动完成安装,确保 terraform 命令可用并能执行 init/validate。不负责 Provider 凭证配置,凭证在实际使用时由 terraform-skill 引导。
精选 agentscope-ai/QwenPaw 3.6 万 原文
Codex CLIMCP 客户端
terraform-skill
Use when working with Terraform or OpenTofu - creating modules, writing tests (native test framework, Terratest), setting up CI/CD pipelines, reviewing configurations, choosing between testing approaches, debugging state issues, implementing security scanning (trivy, checkov), or making infrastructure-as-code architecture decisions
精选 agentscope-ai/QwenPaw 3.6 万 原文
Codex CLIMCP 客户端
agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.
精选 shanraisshan/claude-code-best-practice 6.7 万 原文
Claude CodeCodex CLIGemini CLI
presentation-structure
Knowledge about the presentation slide format, weight system, navigation, and section structure
精选 shanraisshan/claude-code-best-practice 6.7 万 原文
Claude CodeCodex CLIGemini CLI
presentation-styling
Knowledge about CSS classes, component patterns, and syntax highlighting in the presentation
精选 shanraisshan/claude-code-best-practice 6.7 万 原文
Claude CodeCodex CLIGemini CLI
vibe-to-agentic-framework
The conceptual framework behind the presentation — what "Vibe Coding to Agentic Engineering" means, why the journey is structured the way it is, and how every slide fits the narrative arc
精选 shanraisshan/claude-code-best-practice 6.7 万 原文
Claude CodeCodex CLIGemini CLI
time-skill
Display the current time in Pakistan Standard Time (PKT, UTC+5). Use when the user asks for the current time, Pakistan time, or PKT.
精选 shanraisshan/claude-code-best-practice 6.7 万 原文
Claude CodeCodex CLIGemini CLI
weather-fetcher
Instructions for fetching current weather temperature data for Dubai, UAE from Open-Meteo API
精选 shanraisshan/claude-code-best-practice 6.7 万 原文
Claude CodeCodex CLIGemini CLI