ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified browser automation Safety 3/5

cdp-browser

CDP browser control at localhost:9222. Use when you need to inspect tabs, take screenshots, navigate, scroll, post to X, or run JS in a persistent browser session (e.g. logged into X, Gmail).

Why use this skill?

Automate Chromium browsers with the cdp-browser skill. Inspect tabs, take screenshots, scrape web data, and manage social media posts with secure confirmation flows.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/gostlightai/cdp-browser
Or

What This Skill Does

The cdp-browser skill provides a robust command-line interface for controlling Chromium-based browsers via the Chrome DevTools Protocol (CDP). It enables an OpenClaw agent to interact with persistent browser sessions running at localhost:9222. Whether you are managing active tabs, capturing visual snapshots, navigating complex web applications, or automating social media workflows on platforms like X, this skill offers fine-grained control. It is designed for headless or local GUI environments where automation consistency is key, such as maintaining a logged-in session for browser-based tasks.

Installation

To begin, ensure you have a Chromium instance running with the --remote-debugging-port=9222 flag enabled. This is the entry point for the skill to establish a connection. You can install the skill by running clawhub install openclaw/skills/skills/gostlightai/cdp-browser. If you intend to utilize the Telegram-integrated confirmation workflow for posting content, you must copy the configuration template: cp .cdp-browser.json.example ~/.openclaw/workspace/.cdp-browser.json. Ensure the tweet.confirmButton parameter is set to true within this file to enable interactive confirmation buttons in Telegram.

Use Cases

  1. Social Media Management: Draft, review, and schedule tweets with an explicit manual confirmation step to ensure safety.
  2. Visual Monitoring: Take automated full-page screenshots of dashboards or internal web tools to report status updates to stakeholders.
  3. Data Extraction: Use the query command to fetch text or HTML from specific page selectors, enabling the agent to read dynamic web content.
  4. Session Persistence: Operate within a persistent browser window where authentication cookies are already stored, bypassing repetitive login screens.

Example Prompts

  1. "Check the status of my open browser tabs and take a full-page snapshot of the first tab."
  2. "Extract the current news headline from the main container on this page and summarize it for me."
  3. "Draft a post for X saying 'OpenClaw just automated my browser workflow!' and send it to me for final approval."

Tips & Limitations

Always ensure the browser is launched with the correct remote debugging port, as the skill defaults to 9222. When posting sensitive content, use the tweet-post command strictly with the --confirm flag to prevent accidental submission. Be aware that this skill directly executes browser commands; complex interactions with heavily obfuscated websites may require specific CSS selectors. If you encounter issues with modal popups, use the close-popup command to clear the overlay before proceeding.

Metadata

Stars2387
Views4
Updated2026-03-09
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-gostlightai-cdp-browser": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#browser#automation#cdp#web#social
Safety Score: 3/5

Flags: network-access, code-execution