🌐
AutomationJavaScript

Browser CDP

by worldwonderer

Browser CDP is an Automation skill for Claude Code, published by worldwonderer in oh-story-claudecode.

5.6K stars844 forkson worldwonderer/oh-story-claudecodeAdded 2026/08/15+2% in starsRepository updated 2026/08/14
ai-agentai-writingchinese-novelclaude-codeclaude-skillscreative-writingnovel-writingopenclawskillweb-novelwriting-assistant
Install in seconds
Install Browser CDP
Copy Browser CDP into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/worldwonderer/oh-story-claudecode/tree/main/skills/browser-cdp ~/.claude/skills/browser-cdp

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/worldwonderer/oh-story-claudecode.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/browser-cdp/SKILL.md in worldwonderer/oh-story-claudecode
Installs to
~/.claude/skills/browser-cdp
Collection
One of 13 skills cataloged from this repository
Category
Automation1523 skills

What Browser CDP does

Browser CDP controls Chrome via the Chrome DevTools Protocol to reuse existing login sessions. Use it for browser automation, opening URLs, waiting for page load, evaluating JavaScript, taking snapshots, and extracting auth tokens.

Browser CDP is cataloged under Automation on DirSkills. Browser CDP comes from a repository tagged ai-agent, ai-writing, chinese-novel, claude-code and claude-skills.

Documentation

README

Browser CDP 操作工具

通过 CDP 协议控制 Chrome,复用已有登录态,执行浏览器自动化操作。

前置条件

  • macOS / Linux / Windows(实验性),已安装 Google Chrome
  • Node.js 20+
  • agent-browser 已安装:npm install -g agent-browser

⚠️ 首次启动会 kill 用户的常规 Chrome。 在启动前必须征求用户同意(见下方"启动流程"),否则用户可能丢失未保存的标签页/草稿。


启动流程(skill-mode 强制步骤)

第一步:探测当前状态(无副作用)

node {SKILL_DIR}/scripts/setup-cdp-chrome.js 9222 --detect-only

输出形如:

CDP_STATUS=ready                        # 已就绪,可直接复用
CDP_URL=http://127.0.0.1:9222/json/version
BROWSER=Chrome/148.0.7778.168

或:

CDP_STATUS=needs-setup
CHROME_RUNNING=yes                      # 用户有 Chrome 在跑,启动会杀掉
CHROME_PID_COUNT=3

第二步:根据探测结果分支

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Browser CDP

  • What else does worldwonderer publish alongside Browser CDP?

    Browser CDP is one of 13 skills that DirSkills catalogs from worldwonderer/oh-story-claudecode, the repository it ships in. Its siblings there include Long-Form Novel Writing, Long-Form Story Analysis and Short Story Analyzer. Each one is a separate skill with its own page in this directory, installs the same way Browser CDP does, and is maintained by worldwonderer in that same repository. The rest of the collection is listed on the worldwonderer/oh-story-claudecode page.

  • How does Browser CDP compare to other Automation skills?

    Browser CDP ranks #238 by stars among the 1523 Automation skills in this catalog. The most-starred ones next to it are Autonomous Loops, Autonomous Agent Harness and Automation Audit Ops. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Browser CDP against them. Open each page to compare what they document and how they install.

More from worldwonderer/oh-story-claudecode

Browser CDP is one of 13 skills cataloged on DirSkills from worldwonderer/oh-story-claudecode.

See all 13 skills
✍️
2w ago

Long-Form Novel Writing

Long-Form Novel Writing helps authors plan and draft long-form web novels, from premise confirmation and outline building to chapter-by-chapter writing and revision. Use it when starting a new novel, expanding an outline, or continuing daily updates.
Writing
5.6K844
📖
2w ago

Long-Form Story Analysis

Long-Form Story Analysis breaks down long Chinese web novels to extract golden three chapters, character architecture, pacing, and payoff design. Use it when analyzing or reverse-engineering hit novels to improve your own writing.
Writing
5.6K844
🔍
2w ago

Short Story Analyzer

Short Story Analyzer dissects popular short web novels (such as Tomato Short Stories, Story Club, Zhihu Yandex) into story core, structure, emotional arcs, twists, and writing techniques. It produces a full analysis report, plot nodes, and metadata that a downstream writing skill uses to draft the next story.
Writing
5.6K844
🔍
2w ago

Short Story Market Scan

Short Story Market Scan analyzes hot short-form web novel rankings across platforms such as Zhihu Yanyan, Qimao, Heiyan, and Dianzhong to identify emotional trends, topic signals, and viable story directions for writers.
Writing
5.6K844
✍️
2w ago

Short Web Novel Writer

Short Web Novel Writer drafts complete short-form Chinese web novels from concept to finished draft, focusing on emotional impact, reversal-driven pacing, and platform-specific formatting. Use it for 盐言/七猫-style short stories.
Writing
5.6K844
🎨
2w ago

Story Cover

Story Cover generates professional Chinese web novel covers with title and author name using GPT-Image-2, based on book title and genre. Use it when you need a ready-to-upload cover for platforms like 番茄小说.
AI Engineering
5.6K844