Browser CDP Control (browser-cdp)
Drive Chrome through the DevTools Protocol so automations reuse your existing logged-in sessions.
AutomationIntermediate★ 9,148⑂ 1,291AI score 9/10Last updated: Dec 4, 2026
What it does
- Safely launches Chrome in debug mode (CDP port 9222) while reusing your existing profile's login state.
- Uses the
agent-browserCLI to open URLs, wait for loads, evaluate JavaScript, take interactive snapshots, click and type. - Extracts page text or auth tokens from
localStorage/ cookies. - Enforces a consent workflow (
--dry-runfirst, then--yes) before any command that would kill running Chrome processes. - Ships a troubleshooting table for port conflicts, expired sessions, and 30s timeouts.
Who it's for
- Developers scraping or automating sites that sit behind a login wall.
- Anyone tired of rebuilding login flows in Playwright who'd rather reuse their everyday Chrome session.
- Engineers who need to pull a token from an internal dashboard to call an API.
Examples
- "Open the ranking page as my logged-in user and grab the text" → detect state →
open→wait→eval. - "Pull the auth token from the admin dashboard" →
eval 'localStorage.getItem("token") || document.cookie'. - "My debug session expired" → run the consent flow and
--resetthe debug profile, then log in once in the debug window.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/zenstory-ai/oh-story-claudecode/HEAD/skills/browser-cdp/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on AI Skill Mart. Copy the skills/browser-cdp folder from the GitHub repo zenstory-ai/oh-story-claudecode into my ~/.claude/skills/zenstory-ai-browser-cdp/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/zenstory-ai/oh-story-claudecode.git && mkdir -p ~/.claude/skills && cp -r oh-story-claudecode/skills/browser-cdp ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Confirm Node.js 20 or newer:
node -v - Install the browser CLI globally:
npm install -g agent-browser - Make sure Google Chrome is installed and you have logged into the target site at least once.
- Clone the repo and copy the skill:
git clone https://github.com/zenstory-ai/oh-story-claudecode.gitmkdir -p ~/.claude/skills && cp -r oh-story-claudecode/skills/browser-cdp ~/.claude/skills/ - Restart Claude Code and ask something like "use CDP to open the browser and fetch the content of ○○".
- On first run you may be asked to approve closing Chrome — save any open tabs beforehand.
View source on GitHub ↗License: MIT