browser-cli Terminal Browser Control for Openclaw

A command-line interface for controlling Chrome browsers via the AIPex extension daemon, enabling seamless browser automation from any shell.

buttercannfly
v1.0.0
Mar 29, 2026
0
689
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install browser-cli-skills

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 browser-cli-skills 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 browser-cli Terminal Browser Control?

browser-cli is a powerful Openclaw Skills tool designed to bridge the gap between your terminal and the Google Chrome browser. By utilizing a WebSocket daemon and the AIPex extension, it allows developers and agents to execute complex browser actions—such as managing tabs, interacting with DOM elements, and capturing screenshots—directly through shell commands. This eliminates the need for heavyweight MCP clients and provides a streamlined way to integrate browser workflows into existing scripts or AI agent pipelines.

The tool is built for speed and reliability, featuring an auto-spawning daemon that handles the communication between the command line and the browser instance. Whether you are automating repetitive web tasks or building sophisticated AI agents that need to navigate the web, browser-cli provides the necessary infrastructure for headless-like control within a headed browser environment.

browser-cli Terminal Browser Control Use Cases

  • Automating web interactions without a dedicated automation framework.
  • Integrating browser control into shell scripts or CI/CD pipelines.
  • Performing AI-driven web research and page element identification.
  • Capturing high-quality screenshots and metadata for documentation or testing.
  • Managing large numbers of browser tabs and groups via command line.

How browser-cli Terminal Browser Control Works

  1. The user executes a command via the browser-cli tool in the terminal.
  2. The tool connects to a local WebSocket daemon (auto-spawning if not already running).
  3. The daemon forwards the command to the AIPex Chrome extension.
  4. The extension executes the action using native Browser APIs within the active Chrome session.
  5. The results or metadata are sent back through the WebSocket chain to be displayed in the terminal.

browser-cli Terminal Browser Control Setup

Prerequisites

  • Node.js >= 18
  • AIPex Chrome extension

Installation

Run the following command to install the tool globally:

npm install -g browser-cli

Extension Connection

  1. Open Chrome and navigate to the AIPex extension options.
  2. Set the WebSocket URL to ws://localhost:9223/extension.
  3. Click Connect and verify the status with:
browser-cli status

browser-cli Terminal Browser Control Data Schema & Taxonomy

Data Type Description
Tab Objects Contains ID, title, URL, and window association.
Element UIDs Unique identifiers generated for page elements during searches.
Screenshots Base64 encoded images or local file paths.
Metadata JSON objects containing page titles, headers, and description tags.
Interventions Request objects for human-in-the-loop actions like voice input.

browser-cli Terminal Browser Control Advanced Features

  • AI-powered tab organization and grouping for complex sessions.
  • Batch form filling and complex interaction macros using element UIDs.
  • Screenshot analysis integration for LLM-based navigation and verification.
  • Support for human-in-the-loop interventions during automated browser tasks.
  • Management and execution of custom Openclaw Skills directly from the command line.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*