浏览器

数据 社区

技能解读

当前原文的自动摘译,尚未人工审校。

输入

目标 URL 或任务描述(自然语言) 可选的结构化提取模式(JSON 字段 → 类型)

行为

确保 Chrome 通过 Stagehand 运行,本地配置文件存储在.chrome-profile中。支持以下命令: navigate <url>:打开页面并截图。 act "<instruction>":执行自然语言动作。 extract "<instruction>" '{"field":"type"}':返回结构化数据。

验证

如果导航/操作失败,请包含错误消息并提示用户执行后续步骤。在结束会话之前,请确保close已运行,这样 Chrome 进程就不会徘徊。

注释

该技能需要ANTHROPIC_API_KEY(用于舞台工作人员),并且如果通过droid exec使用,则FACTORY_API_KEY已配置。工作目录应保留在克隆的技能文件夹内,以便正确解析相对路径。

流狐档案 运行与权限由流狐静态检查推断,不代表作者声明或实际测试结果。
领域
数据
作者声明的智能体
未找到明确声明;不据此推断已兼容或已测试
静态检查
88 / 100 · 启发式扫描,不代表运行安全
运行环境证据
未执行;当前没有隔离运行测试证据
作者 / 版本 / 许可证
@diegosouzapw · 未声明许可证
上下文用量评级
低消耗
接入复杂程度
需简单配置
是否需要外部接口密钥
需要 · Anthropic
兼容的系统
未声明(默认跨平台)
运行环境要求
未检出明确要求
检测到的文件与系统行为
  • 只读
  • 允许写入 / 修改
  • 命令执行
网络行为
允许外网请求
安装命令数
无(仅作为资料)

需要注意: 未声明工具权限范围;实际权限由运行环境决定。

作者说明文件(原文) SKILL.md

# Skill: Browser

Use this skill when you need live browser automation during a Factory session—opening sites, clicking through flows, gathering structured data, or capturing screenshots.

## Inputs
- Target URL or task description (natural language)
- Optional structured extraction schema (JSON field → type)

## Behavior
1. Ensure Chrome is running via Stagehand with the local profile stored in `.chrome-profile`.
2. Support these commands:
   - `navigate <url>`: open a page and capture a screenshot.
   - `act "<instruction>"`: perform natural-language actions.
   - `extract "<instruction>" '{"field":"type"}'`: return structured data.
   - `observe "<goal>"`: list suggested steps the agent can take.
   - `screenshot`: capture the current viewport.
   - `close`: shut down the session when finished.
3. Save screenshots to `agent/browser_screenshots` and report the file path in the response.
4. When tasks finish, summarize what happened plus any follow-up steps for the user.

## Verification
- If a navigation/action fails, include the error message and prompt the user for next steps.
- Before ending the session, ensure `close` has been run so Chrome processes don’t linger.

## Notes
- This skill expects `ANTHROPIC_API_KEY` (for Stagehand) and, if used via `droid exec`, `FACTORY_API_KEY` to already be configured.
- The working directory should remain inside the cloned skill folder so relative paths resolve correctly.

讨论

基于 GitHub Discussions。登录 GitHub 即可参与讨论、点赞、订阅更新。