๐ Claw Browser Skill
author: "@canbirlik"
by canbirlik ยท published 2026-03-22
$ claw add gh:canbirlik/canbirlik-claw-browser---
author: "@canbirlik"
dependencies:
python:
- playwright
description: A visual, human-like web browser for OpenClaw agents.Supports reading,screenshots, and visible mode.
emoji: ๐
name: claw-browser
platforms:
---
# ๐ Claw Browser Skill
This skill gives the agent **"Eyes"** to browse the web using a real
Chromium browser.
Unlike simple HTTP requests, `claw-browser`:
------------------------------------------------------------------------
# ๐ ๏ธ Installation & Setup (READ FIRST)
โ ๏ธ **Before using this tool, the agent MUST set up the Python
environment and download browser binaries.**
If `venv` does not exist, run this setup command block automatically:
# 1. Create virtual environment
python3 -m venv venv
# 2. Activate it
source venv/bin/activate
# 3. Install dependencies
pip install -r requirements.txt
# 4. Download Chromium binaries (CRITICAL STEP)
playwright install chromium
> โ ๏ธ The `playwright install chromium` step is **CRITICAL**.\
> Without it, the browser will NOT launch.
------------------------------------------------------------------------
# ๐ง Tools & Usage
`browser.py`
Arguments
-----------------------------------------------------------------------
Argument Description
----------------------------------- -----------------------------------
`--url` The website to visit (**Required**)
`--action` Action to perform: `read` or
`screenshot`
`--visible` (Optional) Runs the browser in
visible mode (NOT headless). Use if
the user wants to *see* the
browser.
-----------------------------------------------------------------------
------------------------------------------------------------------------
# ๐ Execution Examples
โ ๏ธ Always activate the virtual environment first.
------------------------------------------------------------------------
1๏ธโฃ Read a Page (Headless - Default)
source venv/bin/activate && python browser.py --url "https://github.com/trending" --action read
------------------------------------------------------------------------
2๏ธโฃ Take a Screenshot of a News Site
source venv/bin/activate && python browser.py --url "https://news.ycombinator.com" --action screenshot
This saves:
evidence.png
------------------------------------------------------------------------
3๏ธโฃ Visible Mode (Shows Browser UI - Great for Demos)
source venv/bin/activate && python browser.py --url "https://google.com" --action read --visible
This will launch a real Chromium window on screen.
------------------------------------------------------------------------
4๏ธโฃ Visible Mode (WSL / Linux Fix) โญ๏ธ
**Use this if you get "Missing X server" or "Display not found" errors:**
export DISPLAY=:0 && source venv/bin/activate && python browser.py --url "[https://google.com](https://google.com)" --action read --visible
This sets the `DISPLAY` variable so the browser can open on your screen.
------------------------------------------------------------------------
# ๐ง When Should the Agent Use This Skill?
Use `claw-browser` when:
------------------------------------------------------------------------
# โก Summary
`claw-browser` transforms your OpenClaw agent from a simple API caller
into a **real browser-powered assistant** with visual capabilities.
It enables:
------------------------------------------------------------------------
Made with โค๏ธ by @canbirlik
More tools from the same signal band
Order food/drinks (็น้ค) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...