ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

browser-cli

Control Chrome browsers from the terminal via the AIPex extension. Use this skill when the agent needs to manage browser tabs, search page elements, click buttons, fill forms, capture screenshots, or download content — all through shell commands without an MCP client.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/buttercannfly/browser-cli-skills
Or

browser-cli — Terminal Browser Control

browser-cli is a command-line tool that controls Chrome browsers through the AIPex extension's WebSocket daemon. It translates shell commands into browser actions — managing tabs, clicking elements, filling forms, capturing screenshots, and more.

Architecture:

browser-cli ──WebSocket──▶ aipex-daemon ──WebSocket──▶ AIPex Chrome Extension ──▶ Browser APIs

The daemon auto-spawns on first use and self-terminates when idle. No manual setup beyond initial extension connection.


When to Use This Skill

Use this skill when the user wants to:

  • Control a Chrome browser from the terminal without an MCP client
  • Open, close, switch, or organize browser tabs via CLI
  • Search for page elements and interact with them (click, fill, hover)
  • Capture screenshots of browser tabs
  • Automate browser workflows in shell scripts or CI pipelines
  • Download page content as markdown or images
  • Request human input during automated browser tasks
  • Manage AIPex skills from the command line

Trigger phrases: "browser-cli", "control browser from terminal", "browser automation CLI", "click element from shell", "terminal browser control", "command line browser", "shell browser automation"


Prerequisites

  • Node.js >= 18 installed
  • AIPex Chrome extension installed and connected to the daemon
  • browser-cli installed globally: npm install -g browser-cli

First-time Setup

After installing, connect the AIPex extension to the daemon:

  1. Open Chrome → AIPex extension icon → Options
  2. Set WebSocket URL to ws://localhost:9223/extension
  3. Click Connect
  4. Verify: browser-cli status

Command Groups

tab — Manage browser tabs

browser-cli tab list                         # List all open tabs
browser-cli tab current                      # Get the active tab
browser-cli tab new https://example.com      # Open a new tab
browser-cli tab switch 42                    # Switch to tab by ID
browser-cli tab close 42                     # Close a tab
browser-cli tab info 42                      # Get tab details
browser-cli tab organize                     # AI-powered tab grouping
browser-cli tab ungroup                      # Remove all tab groups

page — Inspect and interact with page content

Metadata

Stars4190
Views1
Updated2026-04-18
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-buttercannfly-browser-cli-skills": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.