AI Browser for Openclaw

A high-performance browser automation skill that enables AI agents to control Chromium instances via a real-time WebSocket protocol.

linbo405
v1.0.0
Apr 13, 2026
0
1.1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install ai-browser-ws

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install ai-browser-ws using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is AI Browser?

The AI Browser skill provides a robust interface for programmatic interaction with the web. By leveraging the Chromium engine, it allows developers and AI agents to execute complex web workflows—such as navigating to URLs, interacting with DOM elements, and capturing screenshots—all through a low-latency WebSocket connection. As a core part of the Openclaw Skills ecosystem, it bridges the gap between static LLM processing and dynamic web environments, offering both headless and headful modes for maximum flexibility.

AI Browser Use Cases

  • Automated end-to-end web testing and quality assurance.
  • Dynamic data scraping from modern JavaScript-heavy websites.
  • Real-time website monitoring and visual change detection.
  • AI-driven form completion and multi-step workflow automation.
  • Generating high-resolution web page screenshots and simplified DOM snapshots for analysis.

How AI Browser Works

  1. Initialize the Chromium instance upon starting the service.
  2. Establish a WebSocket connection to the local server on the designated port.
  3. Send JSON-formatted action requests (such as navigate, click, or type) via the established protocol.
  4. The skill translates the JSON commands into browser actions and returns a structured response.
  5. The browser maintains the session, allowing for continuous multi-step interactions within the same context.

AI Browser Setup

To get started with this skill, follow these installation steps:

# 1. Install dependencies
npm install

# 2. Start the service
npm start

# The service will run at ws://localhost:18790

AI Browser Data Schema & Taxonomy

The skill utilizes a standardized JSON protocol for all communications, ensuring compatibility across different programming environments.

Key Description
id A unique request identifier for asynchronous tracking.
action The specific command (e.g., navigate, snapshot, click).
params A dictionary containing action-specific parameters like url or selector.
success A boolean indicating the result of the browser operation.
result Contains the payload, such as Base64 image data or DOM structures.

AI Browser Advanced Features

  • Cross-platform compatibility for Linux, macOS (Darwin), and Windows environments.
  • Automatic Chromium binary management that handles downloads on first run.
  • Support for custom JavaScript execution within the page context using the evaluate action.
  • Intelligent DOM snapshotting that reduces noise for better AI context processing.
  • Configurable environment variables like AI_BROWSER_PORT for flexible deployment in Openclaw Skills setups.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*