openclaw-browser-auto

openclaw-browser-auto is a skill for Claude Code, Codex from davidtoby/agent-skills. It costs 0 tokens per session (545 once invoked), scanned A, original, MIT.

A setup guide for connecting OpenClaw, an AI-agent platform, to a remote Chrome browser through CDP, a browser control interface. It covers Docker-hosted browsers and Browserless.io, a hosted browser service.

In plain words
What is it for?
Use it to configure a remote or headless Chrome browser, set the browser connection in OpenClaw, restart its gateway, and check browser status.
Why use it?
It explains how to connect OpenClaw to a browser running elsewhere instead of trying to start a local browser. It also provides configuration and checks for confirming the connection.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to configure a remote or headless Chrome browser, set the browser connection in OpenClaw, restart its gateway, and check browser status.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/davidtoby/agent-skills/openclaw-browser-auto
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add davidtoby/agent-skills --skill openclaw-browser-auto
Clone the repo
git clone --depth 1 https://github.com/davidtoby/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for openclaw-browser-auto

README.md
[![agentmods](https://agentmods.dev/badge/skills/davidtoby/agent-skills/openclaw-browser-auto/github.svg)](https://agentmods.dev/skills/davidtoby/agent-skills/openclaw-browser-auto)
Your own site
<a href="https://agentmods.dev/skills/davidtoby/agent-skills/openclaw-browser-auto"><img src="https://agentmods.dev/badge/skills/davidtoby/agent-skills/openclaw-browser-auto/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for openclaw-browser-auto

Your own site · 80×15
<a href="https://agentmods.dev/skills/davidtoby/agent-skills/openclaw-browser-auto"><img src="https://agentmods.dev/badge/skills/davidtoby/agent-skills/openclaw-browser-auto.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 545 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00545
Opus 5.5 $0.00000 $0.00218
Sonnet 5.5 $0.00000 $0.00109
Haiku 4.5 $0.00000 $0.00055

Measured 3mo ago against content hash b8e5e3f248a6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

openclaw-browser-auto scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl http://127.0.0.1:9222/json/version
skills/.archive/umbrella-curation-2026-04-29/openclaw-imports/openclaw-browser-auto/SKILL.md · 88 lines

What it actually says

OpenClaw 浏览器自动化配置

配置OpenClaw连接远程Chrome/CDP浏览器进行自动化操作。

适用场景

  • 连接远程服务器的Chrome浏览器
  • 使用Docker容器运行的无头浏览器
  • 连接browserless.io云服务

配置步骤

1. 启动CDP浏览器容器

推荐使用 chromedp/headless-shell(轻量且保持会话):

docker run -d --name browser-auto -p 9222:9222 --shm-size=512m chromedp/headless-shell:latest

验证CDP可用:

curl http://127.0.0.1:9222/json/version

2. 配置OpenClaw

在 ~/.openclaw/openclaw.json 中添加browser配置:

{
  "browser": {
    "enabled": true,
    "defaultProfile": "remote-chrome",
    "attachOnly": true,
    "profiles": {
      "remote-chrome": {
        "cdpUrl": "http://127.0.0.1:9222",
        "color": "#00AA00"
      }
    }
  }
}

3. 重启Gateway

systemctl --user restart openclaw-gateway

4. 验证

openclaw browser status

关键配置项

配置项 说明
browser.enabled 启用浏览器
browser.defaultProfile 默认使用的浏览器配置名
browser.attachOnly true=不尝试启动本地浏览器,只连接远程
profiles.<name>.cdpUrl 远程CDP地址

云服务方案

Browserless.io(付费)

{
  "browser": {
    "defaultProfile": "browserless",
    "profiles": {
      "browserless": {
        "cdpUrl": "https://production-sfo.browserless.io?token=<API_KEY>"
      }
    }
  }
}

常见问题

  1. 端口被占用 - 设置 attachOnly: true
  2. 标签页丢失 - 使用 chromedp/headless-shell 而非 browserless/chrome
  3. 环境变量不生效 - 需要修改systemd服务配置
Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 88 lines · 0 tokens per session scan A b8e5e3f248a6

Subscribe to this mod's changes

openclaw-browser-auto is a skill published in the GitHub repository davidtoby/agent-skills (11 stars, last pushed 16d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 545 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

openclaw-browser-auto compared with skills from other repositories

openclaw-browser-auto next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
openclaw-browser-autodavidtoby/agent-skillsSkill1116d agoMITA0Claude Code, Codex
web-skills-protocol0xtresser/Web-Skills-ProtocolSkill89mo agononeA141Claude Code, Codex
dingtalk_channel_connectagentscope-ai/QwenPawSkill39k2d agoApache-2.0A69Claude Code, Codex
morph-pptiOfficeAI/OfficeCLISkill34k5d agoApache-2.0A169Claude Code, Codex
officecli-academic-paperiOfficeAI/OfficeCLISkill34k5d agoApache-2.0A141Claude Code, Codex
officecli-pptxiOfficeAI/OfficeCLISkill34k5d agoApache-2.0A106Claude Code, Codex
browser_cdpagentscope-ai/QwenPawSkill39k2d agoApache-2.0A70Claude Code, Codex