360 Secure SkillHub
360 安全技能中心

Browsecraft

通过 BrowseCraft CLI 驱动 RoxyBrowser、Camoufox 或 Chrome,按状态检查、启动、打开页面、快照、点击填表、截图等步骤执行可重复的网页登录、数据提取、批量操作和表单填写,并按要求输出目标、步骤、结果、失败原因与下一步的结构化结果。

whjstc
whjstc
热度 54.24
最近更新 2026-05-11 17:30:11
分类:自动化依赖:联网浏览搜索 / 代码执行应用场景:自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add browsecraft
Metadata
name
browsecraft
description
Memory-oriented browser automation skill for repeatable web workflows (login, extraction, bulk actions, form filling, screenshots, checks) across RoxyBrowser, Camoufox, and Chrome.
allowed-tools
Bash(browsecraft:*)
metadata
{"openclaw":{"emoji":"🧭","requires":{"bins":["browsecraft"]},"install":[{"id":"npm","kind":"node","package":"browsecraft-cli","bins":["browsecraft"],"label":"Install BrowseCraft CLI (npm)"}]}}

BrowseCraft Skill

Installation Prerequisites

  1. Install CLI: npm install -g browsecraft-cli
  2. Verify install: browsecraft --help
  3. Optional (RoxyBrowser only): configure your Roxy API endpoint and token in local env/config.

If the CLI is missing, stop and ask the user to install it first. Do not assume local package scripts are available.

Recommended Flow

  1. Check status: browsecraft status
  2. Start browser if needed: browsecraft start
  3. Open target page: browsecraft open <url>
  4. Capture snapshot: browsecraft snapshot
  5. Prefer click-ref / fill-ref for stable interactions
  6. Re-snapshot after page transitions
  7. Capture result evidence: browsecraft screenshot

Backend Strategy

  • RoxyBrowser: browsecraft start --type roxy --roxy-window-id ...
  • Camoufox: browsecraft start --type camoufox (optional --camoufox-path)
  • Existing endpoint: browsecraft connect <endpoint> --type <chrome|camoufox|roxy>

Credential & Scope Policy

  • Roxy credentials are optional and only needed when the user explicitly chooses RoxyBrowser.
  • Prefer environment variables over CLI token flags. Avoid printing or echoing secrets.
  • Never send credentials or page data to third-party endpoints unless the user explicitly requests it.
  • If a step needs network access outside the target website, ask for confirmation first.

Stability Rules

  • If element lookup fails: refresh with snapshot, then retry.
  • If page is unstable: use wait-for before interaction.
  • Always return structured output: objective / steps / result / failure reason / next action.