browser-cdp

Automate Chrome browser control via CDP to reuse existing login sessions.

482|72|Updated May 24, 2026
One-click install
npx skills add https://github.com/uu201/character-arc --skill browser-cdp-uu201
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: browser-cdp
Source: https://github.com/uu201/character-arc/tree/main/resources/skills/oh-story-claudecode/browser-cdp
Command: npx skills add https://github.com/uu201/character-arc --skill browser-cdp-uu201

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill enables automated browser control using Chrome DevTools Protocol (CDP) to reuse existing login sessions, reducing manual browser setup.

Core Features & Use Cases

  • CDP-based automation: launch Chrome in debugging mode, open URLs, wait for page loads, evaluate JavaScript, take snapshots, and extract auth tokens.
  • Use Case: Reuse logged-in sessions across automation tasks to streamline workflows without repeated sign-ins.

Quick Start

Connect to a running Chrome CDP session or launch Chrome in debug mode to reuse your login state.

Frequently Asked Questions about browser-cdp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reuse an existing login session for Chrome web automation?

To reuse login sessions for web automation, you connect to a running Chrome DevTools Protocol (CDP) session or launch Chrome in debug mode. This allows your scripts to interact with pages without requiring repeated manual sign-ins.

What is Chrome DevTools Protocol (CDP) used for in browser automation?

Chrome DevTools Protocol (CDP) is used in browser automation to control a running Chrome instance, enabling scripts to open URLs, wait for page loads, evaluate JavaScript, take snapshots, and extract authentication tokens.

Do I need Node.js and agent-browser to extract tokens with CDP?

Yes, extracting tokens and reusing login sessions with CDP requires Chrome with CDP support, Node.js, and the agent-browser tool. These dependencies provide the structured setup flow to detect CDP readiness and manage sessions safely.

How do I launch Chrome in debug mode to manage CDP sessions?

You launch Chrome in debug mode to expose the CDP endpoint, allowing the agent-browser tool to connect. The skill provides a structured setup flow to detect CDP readiness, connect to the active session, and manage browser automation tasks safely.

Can I evaluate JavaScript and take snapshots using an existing Chrome login session?

Yes, by connecting to a CDP session that reuses your existing Chrome login state, you can evaluate JavaScript on active pages and take snapshots. This streamlines automated workflows without needing to re-authenticate.