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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/gostlightai/cdp-browserWhat 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
- Social Media Management: Draft, review, and schedule tweets with an explicit manual confirmation step to ensure safety.
- Visual Monitoring: Take automated full-page screenshots of dashboards or internal web tools to report status updates to stakeholders.
- Data Extraction: Use the
querycommand to fetch text or HTML from specific page selectors, enabling the agent to read dynamic web content. - Session Persistence: Operate within a persistent browser window where authentication cookies are already stored, bypassing repetitive login screens.
Example Prompts
- "Check the status of my open browser tabs and take a full-page snapshot of the first tab."
- "Extract the current news headline from the main container on this page and summarize it for me."
- "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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-gostlightai-cdp-browser": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, code-execution
Related Skills
casual-cron
Create Clawdbot cron jobs from natural language with strict run-guard rules. Use when: users ask to schedule reminders or messages (recurring or one-shot), especially via Telegram, or when they use /at or /every. Examples: 'Create a daily reminder at 8am', 'Remind me in 20 minutes', 'Send me a Telegram message at 3pm', '/every 2h'.
agent-step-sequencer
Multi-step scheduler for in-depth agent requests. Detects when user needs multiple steps, suggests plan and waits for confirmation, persists state, and runs heartbeat-aware flow. Use when requests have 3+ actions, sequential dependencies, output dependencies, or high scope/risk.