HomeBrowseUpload
โ† Back to registry
โšก
// Skill profile

๐ŸŒ Claw Browser Skill

author: "@canbirlik"

by canbirlik ยท published 2026-03-22

ๅผ€ๅ‘ๅทฅๅ…ทAPI้›†ๆˆ
Total installs
0
Stars
โ˜… 0
Last updated
2026-03
// Install command
$ claw add gh:canbirlik/canbirlik-claw-browser
View on GitHub
// Full documentation

---

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:

  • darwin
  • linux
  • win32
  • ---

    # ๐ŸŒ Claw Browser Skill

    This skill gives the agent **"Eyes"** to browse the web using a real

    Chromium browser.

    Unlike simple HTTP requests, `claw-browser`:

  • Renders JavaScript
  • Handles dynamic content
  • Loads SPA applications
  • Takes real screenshots
  • Can run in visible (non-headless) mode
  • ------------------------------------------------------------------------

    # ๐Ÿ› ๏ธ 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:

  • The page requires JavaScript rendering
  • The site is dynamic (React, Vue, Angular, etc.)
  • Screenshots are required
  • The user explicitly asks to "open" or "see" a website
  • Traditional HTTP requests fail
  • ------------------------------------------------------------------------

    # โšก Summary

    `claw-browser` transforms your OpenClaw agent from a simple API caller

    into a **real browser-powered assistant** with visual capabilities.

    It enables:

  • Dynamic page interaction
  • Visual verification
  • Demo-ready browsing
  • Real-world automation
  • ------------------------------------------------------------------------

    Made with โค๏ธ by @canbirlik

    // Comments
    Sign in with GitHub to leave a comment.
    // Related skills

    More tools from the same signal band