Self-Improving Agent
一个面向 Automation 场景的 Agent 技能。原始说明:Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Clau...
一个面向 Automation 场景的 Agent 技能。原始说明:A visual, human-like web browser for OpenClaw agents.Supports reading,screenshots, and visible mode.
author: "@canbirlik"
dependencies:
python:
description: A visual, human-like web browser for OpenClaw agents.Supports reading,screenshots, and visible mode.
emoji: 🌐
name: claw-browser
platforms:
This skill gives the agent "Eyes" to browse the web using a real
Chromium browser.
Unlike simple HTTP requests, claw-browser:
⚠️ 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:
``` bash
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
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)
``` bash
source venv/bin/activate && python browser.py --url "https://github.com/trending" --action read
``` bash
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)
``` bash
source venv/bin/activate && python browser.py --url "https://google.com" --action read --visible
This will launch a real Chromium window on screen.
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.
Use claw-browser when:
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