Install
openclaw skills install browser-automation-zero-tokenBuild and run low-code browser automation workflows with agent-browser CLI and reusable skills, especially for repetitive web tasks like 登录、签到、表单填写、固定点击流程、状态保存、 重复网页操作, or when the user says things like “做浏览器自动化”, “用 agent-browser 跑网页流程”, “0 token 浏览器自动化”, “把网页重复操作固化成 skill”, “做自动签到 skill”, or “用 CLI + Skill 搭建 AI 浏览器自动化框架”.
openclaw skills install browser-automation-zero-tokenUse agent-browser plus OpenClaw skills to turn repeatable browser tasks into reusable, low-maintenance workflows.
Use this skill for repeatable browser workflows such as:
Prefer this pattern when Playwright/Puppeteer feels too heavy, selectors are brittle, or repeated screenshot/tool loops waste tokens.
Always think in this loop:
@refs@refsShort form:
OPEN → SNAPSHOT → INTERACT → VERIFY → REPEAT → CLOSE
Before using this skill, verify:
agent-browser is installedInstall CLI:
npm install -g agent-browser
agent-browser install --with-deps
agent-browser --version
Optional ecosystem install:
clawhub install openclaw-skills-browserautomation-skill
Use this minimal loop:
agent-browser open <url>
agent-browser snapshot -i
agent-browser click @e<n>
agent-browser fill @e<n> "text"
agent-browser state save auth.json
agent-browser state load auth.json
agent-browser close
Important rule: @refs come from the latest snapshot. After navigation or major DOM changes, snapshot again. More command notes live in references/source-notes.md.
Do not guess refs. Always obtain fresh @refs from agent-browser snapshot -i before click/fill/select actions.
After login, route changes, modal opens, tab switches, or dynamic content loads, run snapshot again.
Use @e<n> from snapshots whenever possible. Fall back to complex selectors only when refs or semantic locators are insufficient.
If the workflow requires login and will be reused:
agent-browser state save auth.json
agent-browser state load auth.json
This is often the difference between “semi-automated” and “truly one-command repeatable.”
After key actions, confirm progress using one or more of:
agent-browser get urlagent-browser get titleUse zero-token mode when the workflow is already known and stable:
Example:
agent-browser open https://example.com/login
agent-browser snapshot -i
agent-browser fill @e3 "username"
agent-browser fill @e4 "password"
agent-browser click @e5
agent-browser snapshot -i
agent-browser click @e21
agent-browser close
When the user wants to turn one website flow into a reusable skill:
A good site skill should capture:
---
name: auto-signin-example
description: Automatically sign in to example.com using agent-browser CLI.
---
# Auto Sign-In Example
## Workflow
1. Open the login page.
2. Snapshot interactive elements.
3. Fill username and password using current refs.
4. Click the login button.
5. Re-snapshot after navigation.
6. Click the sign-in button.
7. Save state if reuse is needed.
8. Close the browser.
If the automation breaks, check in this order:
For command examples, see references/source-notes.md.
Avoid overcommitting to zero-token browser automation when:
If you need the distilled source rationale, read references/source-notes.md.
Depending on the request, this skill should help produce one of:
Avoid these:
If the workflow can be discovered once, re-run many times, and verified through snapshots/state checks, it is a strong candidate for this skill.