Skip to content
Back to skills

Openclaw Browser

ASecurity

"Browser automation via Chrome DevTools Protocol (CDP) for

  • 14 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 7, 2026
toolsjavascriptjavabashnodedebugging

Security analysis

A92/100
  • mediumUses curl or wget to download content

Pro scans all 5 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill openclaw-browser --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Openclaw Browser?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Openclaw Browser
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-openclaw-browser/badge)](https://www.skillsdirectory.com/skills/modbender-openclaw-browser)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: openclaw-browser
description: "Browser automation via Chrome DevTools Protocol (CDP) for
  OpenClaw. Use when user needs to take screenshots of websites, automate
  browser actions, or interact with web pages programmatically. Triggers on:
  screenshot requests, browser automation, web page capture, CDP-based browser
  control."
---


# OpenClaw Browser

Browser automation for OpenClaw via Chrome DevTools Protocol.

## Prerequisites

Chrome must be installed and running with remote debugging enabled:

```bash
# Start Chrome with CDP (port 9222)
chrome --remote-debugging-port=9222 --remote-debugging-address=0.0.0.0
```

## Quick Start

### Screenshot a Website

```bash
# Using the provided script
node ~/.openclaw/workspace/skills/openclaw-browser/scripts/screenshot.js https://example.com /tmp/output.png

# With custom viewport
node ~/.openclaw/workspace/skills/openclaw-browser/scripts/screenshot.js https://example.com /tmp/output.png --width=1920 --height=1080
```

### Full Page Screenshot

The script automatically captures full page content, not just viewport.

## How It Works

1. Connects to running Chrome via CDP (http://127.0.0.1:9222)
2. Creates new tab or uses existing one
3. Navigates to target URL
4. Waits for page load
5. Takes screenshot
6. Saves to specified path

## Common Issues

**Chrome not running:**
- Start Chrome with CDP flags first
- Verify with: `curl http://127.0.0.1:9222/json/version`

**Headless detection:**
- Some sites (Xiaohongshu, Taobao) detect headless browsers
- Solution: Use non-headless Chrome (visible window)
- This skill connects to existing Chrome, avoiding detection

**Permission errors:**
- Use `--no-sandbox` when starting Chrome if needed

## Script Reference

See [scripts/screenshot.js](scripts/screenshot.js) for the main automation script.

## Advanced Usage

For custom automation beyond screenshots, modify the script or use Puppeteer directly:

```javascript
const puppeteer = require('puppeteer');
const browser = await puppeteer.connect({ browserURL: 'http://127.0.0.1:9222' });
// ... custom actions
```

Files in this skill

  • SKILL.md2.1 KB
  • scripts/help.sh885 B
  • scripts/screenshot.js4 KB
  • scripts/screenshot.sh1.3 KB
  • scripts/start-chrome.sh2.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…