← Back to Skills Marketplace
haohao-ui

OpenClaw Browser

by haohao-ui · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ✓ Security Clean
128
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install haohao-ui-openclaw-browser
Description
Use the OpenClaw-managed browser for real website interaction, page operations, snapshots, clicks, typing, waits, screenshots, and tab control. Use when the...
README (SKILL.md)

OpenClaw Browser

Use this skill whenever a task needs a real browser under OpenClaw control.

This skill is for:

  • opening websites in a managed browser
  • operating pages with click/type/wait flows
  • using browser snapshots and refs
  • keeping browser sessions isolated by profile
  • checking tabs, status, screenshots, requests, and errors

This skill is not for:

  • simple web search that can be answered with search/fetch tools alone
  • launching a random system browser window with no automation follow-up
  • bypassing OpenClaw browser via standalone Playwright/Puppeteer unless the user explicitly asks

Core rule

When real browser automation is needed, prefer the OpenClaw-managed browser flow. Do not default to:

  • the system default browser
  • ad-hoc Chrome launches
  • standalone Playwright/Puppeteer
  • another agent's shared browser profile

Interface priority

Prefer the highest-level OpenClaw browser surface available in the current environment:

  1. Built-in browser tool when the runtime exposes it
  2. openclaw browser CLI when the CLI is available

Official CLI form:

openclaw browser --browser-profile \x3Cprofile> \x3Csubcommand> ...

The rule is not "use this exact shell string at all costs". The real rule is:

  • stay inside the OpenClaw browser control surface
  • use an explicit profile when possible
  • do not fall back to a generic unmanaged browser flow

Local debugging note

The OpenClaw browser system is backed by a loopback control service. For normal work, use the browser tool or CLI first. Raw HTTP access is mainly for local debugging/integration, not the default operator workflow.

Built-in browser tool guidance

If the runtime exposes the OpenClaw browser tool, prefer it over shelling out. Use the tool's browser operations with an explicit profile whenever possible. Typical operation sequence is the same:

  • status
  • start
  • open / navigate
  • snapshot
  • act (click/type/hover/select/drag)
  • wait
  • screenshot / requests / errors for debugging

The same profile rules in this skill still apply when using the built-in tool.

Profile policy

Default behavior

Always choose an explicit browser profile when possible:

--browser-profile \x3Cprofile>

Preferred profile order

  1. Current agent's dedicated configured profile
  2. Task-specific profile explicitly requested by the user
  3. Configured OpenClaw default profile
  4. openclaw as the safe fallback

Profile rules

  • Prefer a dedicated profile per agent / workflow / long-running task.
  • Do not assume arbitrary profile names exist; prefer already-configured profiles.
  • If no dedicated configured profile is known, use openclaw.
  • Do not reuse another agent's profile unless the user explicitly wants shared state.
  • Use user only when the task truly needs the user's signed-in browser session and the user is present to approve attach prompts.

Naming guidance for dedicated profiles

If the environment already supports multiple configured profiles, prefer names that identify ownership or scope, for example:

  • agent-main
  • agent-research
  • shopify-ops
  • session-foo

But do not invent and rely on a new profile name unless it is actually configured.

What OpenClaw browser is

OpenClaw browser is a managed browser system with:

  • isolated browser profiles
  • deterministic tab control
  • snapshots that return action refs
  • page actions such as click/type/hover/select/drag/wait
  • screenshots, requests, console, errors, cookies, storage, and downloads

The browser is controlled through OpenClaw's local browser control service. The service is loopback-only and its port family is derived from gateway.port. Profile CDP ports are also managed by OpenClaw. Normally, do not hardcode raw ports for normal work; use the OpenClaw browser CLI/tool surface first.

Standard operating procedure

1) Check status

openclaw browser --browser-profile \x3Cprofile> status

2) Start the browser if needed

openclaw browser --browser-profile \x3Cprofile> start

3) Open the target page

openclaw browser --browser-profile \x3Cprofile> open \x3Curl>

4) Take a snapshot before acting

openclaw browser --browser-profile \x3Cprofile> snapshot

For dense pages, prefer interactive snapshots:

openclaw browser --browser-profile \x3Cprofile> snapshot --interactive

5) Operate using refs from the snapshot

Examples:

openclaw browser --browser-profile \x3Cprofile> click \x3Cref>
openclaw browser --browser-profile \x3Cprofile> type \x3Cref> "hello" --submit
openclaw browser --browser-profile \x3Cprofile> wait --text "Done"

6) Re-snapshot after navigation or large DOM changes

Refs are not stable across navigations. If an action fails or the page changed, take a fresh snapshot and use the new refs.

High-value commands

Browser / tabs

openclaw browser --browser-profile \x3Cprofile> tabs
openclaw browser --browser-profile \x3Cprofile> tab
openclaw browser --browser-profile \x3Cprofile> focus \x3CtargetId>
openclaw browser --browser-profile \x3Cprofile> close \x3CtargetId>

Inspection

openclaw browser --browser-profile \x3Cprofile> snapshot --interactive
openclaw browser --browser-profile \x3Cprofile> screenshot
openclaw browser --browser-profile \x3Cprofile> console --level error
openclaw browser --browser-profile \x3Cprofile> errors
openclaw browser --browser-profile \x3Cprofile> requests --filter api

Actions

openclaw browser --browser-profile \x3Cprofile> navigate \x3Curl>
openclaw browser --browser-profile \x3Cprofile> click \x3Cref>
openclaw browser --browser-profile \x3Cprofile> type \x3Cref> "text"
openclaw browser --browser-profile \x3Cprofile> hover \x3Cref>
openclaw browser --browser-profile \x3Cprofile> select \x3Cref> \x3Cvalue>
openclaw browser --browser-profile \x3Cprofile> press Enter
openclaw browser --browser-profile \x3Cprofile> wait "#main" --url "**/dashboard" --load networkidle

Decision rules

Use OpenClaw browser when

  • the task needs a real logged-in or stateful browser session
  • the task needs clicking, typing, file upload, downloading, or page verification
  • the task needs deterministic tab control or screenshots
  • the task should stay isolated in a dedicated browser profile

Use user profile only when

  • the task truly requires the user's live signed-in browser state
  • the user is at the computer to approve browser attach prompts
  • the increased risk of acting in the user's real session is acceptable

Do not switch away from OpenClaw browser just because

  • a page looks dynamic
  • you want raw selectors
  • another automation stack feels more familiar

First try the OpenClaw browser flow properly: status → start → open → snapshot → act → re-snapshot.

Debugging workflow

If something fails:

  1. Run a fresh interactive snapshot.
  2. Use the newest ref.
  3. If targeting is unclear, use highlight \x3Cref> or screenshot.
  4. Inspect errors and requests.
  5. If the page navigated or rerendered, re-snapshot.

Useful commands:

openclaw browser --browser-profile \x3Cprofile> highlight \x3Cref>
openclaw browser --browser-profile \x3Cprofile> screenshot --full-page
openclaw browser --browser-profile \x3Cprofile> errors --clear
openclaw browser --browser-profile \x3Cprofile> requests --filter api --clear

Anti-patterns

Avoid these unless the user explicitly asks:

  • launching a generic browser with no OpenClaw control path
  • mixing one agent's task into another agent's profile
  • assuming refs remain valid after navigation
  • skipping snapshots and guessing actions blindly
  • bypassing OpenClaw browser with standalone Playwright/Puppeteer for ordinary website work
  • hardcoding raw browser control ports for normal usage when the CLI/tool already exposes the operation

Minimal quick-start template

PROFILE=\x3Cconfigured-profile-or-openclaw>

openclaw browser --browser-profile "$PROFILE" status
openclaw browser --browser-profile "$PROFILE" start
openclaw browser --browser-profile "$PROFILE" open https://example.com
openclaw browser --browser-profile "$PROFILE" snapshot --interactive

Success criteria

A correct OpenClaw browser workflow should usually show all of the following:

  • browser status can be queried
  • a target page can be opened in the selected profile
  • snapshot returns page structure with refs or a readable page tree
  • at least one follow-up action such as click/type/wait/screenshot works in the same profile

If these are true, the page is being controlled through the proper OpenClaw browser path.

Usage Guidance
This skill appears coherent and focused on using OpenClaw's managed browser control surface. Before using it, ensure your runtime actually exposes the OpenClaw browser tool or CLI. Be cautious when attaching to a 'user' profile — only do so with explicit user consent because that can expose signed-in sessions and sensitive data. Also avoid providing secrets directly in chats; use secure credential mechanisms if you need to automate logins.
Capability Analysis
Type: OpenClaw Skill Name: haohao-ui-openclaw-browser Version: 1.1.0 The skill bundle provides instructions and a CLI interface for an AI agent to interact with a managed browser within the OpenClaw environment. The documentation in SKILL.md outlines standard browser automation workflows, such as navigation, snapshots, and element interaction, while emphasizing session isolation through browser profiles. No evidence of malicious intent, data exfiltration, or harmful prompt injection was found.
Capability Assessment
Purpose & Capability
Name and description match the SKILL.md: the skill exists to control an OpenClaw-managed browser and all instructions relate to that purpose. It does not request unrelated binaries, env vars, or external services.
Instruction Scope
The SKILL.md stays within browser automation scope (status/start/open/snapshot/click/type/etc.). It does not instruct reading arbitrary files, environment variables, or sending data to unexpected external endpoints. It warns against hardcoding ports and prefers using the provided control surface.
Install Mechanism
No install spec and no code files are present (instruction-only), so nothing is written to disk or downloaded during install—this is the lowest-risk pattern.
Credentials
The skill declares no required env vars, credentials, or config paths. The instructions reference local loopback control and profiles which are appropriate for a managed browser integration.
Persistence & Privilege
always is false and model invocation is allowed (default). The skill does not request permanent agent presence, nor does it instruct modifying other skills or system-wide settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install haohao-ui-openclaw-browser
  3. After installation, invoke the skill by name or use /haohao-ui-openclaw-browser
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.0
managed browser workflow, profile policy, snapshot and debugging guidance
Metadata
Slug haohao-ui-openclaw-browser
Version 1.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is OpenClaw Browser?

Use the OpenClaw-managed browser for real website interaction, page operations, snapshots, clicks, typing, waits, screenshots, and tab control. Use when the... It is an AI Agent Skill for Claude Code / OpenClaw, with 128 downloads so far.

How do I install OpenClaw Browser?

Run "/install haohao-ui-openclaw-browser" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is OpenClaw Browser free?

Yes, OpenClaw Browser is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does OpenClaw Browser support?

OpenClaw Browser is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created OpenClaw Browser?

It is built and maintained by haohao-ui (@haohao-ui); the current version is v1.1.0.

💬 Comments