browser-cdp SKILL.md skillB

browser-cdp from zenstory-ai/oh-story-claudecode is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add zenstory-ai/oh-story-claudecode/browser-cdp@git:20261018.f63b71f

Pins git:20261018.f63b71f in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
zenstory-ai/oh-story-claudecode
Path
skills/browser-cdp/SKILL.md
Versions recorded
7
Latest version
git:20261018.f63b71f, committed Oct 18, 2026
First version recorded
Jun 23, 2026
Size
8,083 bytes
Repository stars
7,898
License
MIT

Use this skill when you need to control a Chrome browser via CDP (Chrome DevTools Protocol) to reuse existing login sessions. Covers: launching Chrome in debug mode, opening URLs, waiting for page load, evaluating JavaScript, taking snapshots, and extracting auth tokens. Trigger phrases: browser automation, CDP, agent-browser, 浏览器操作, 操作浏览器, Chrome CDP, 复用登录态, extract token from browser.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Browser CDP 操作工具

通过 CDP(Chrome DevTools Protocol)连接 Chrome,复用登录态并执行浏览器操作。

## 前置条件

- macOS / Linux / Windows(实验性),已安装并使用过 Google Chrome,来源 profile 已存在
- Node.js 20+
- `agent-browser` 已安装:`npm install -g agent-browser`

> 启动或重建时,若需结束 Chrome 进程,先按下方流程征得同意;未保存的标签页或草稿可能丢失。

---

## 启动流程(每次都按这个顺序)

下文 `{SKILL_DIR}` 指本 skill(browser-cdp)的目录。

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

```bash
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
```

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

- `CDP_STATUS=needs-setup` 且 `CHROME_INSTALLED=no` → 本机没找到 Chrome,告诉用户先安装并用它登录一次需要的网站,不要运行 setup。
- `CDP_STATUS=ready` 且本次只需连接 → 直接使用 `agent-browser --cdp 9222 ...`,**不要运行 setup**。
- 明确请求 `--reset` / `--profile` → 即使 ready 也走重建,按下方「需要结束 Chrome 时」处理。
- `CDP_STATUS=needs-setup` 且 `CHROME_RUNNING=no` → 安全启动:
  ```bash
  node {SKILL_DIR}/scripts/setup-cdp-chrome.js 9222 --yes
  ```
- `CDP_STATUS=needs-setup` 且 `CHROME_RUNNING=yes` → 按下方「需要结束 Chrome 时」处理。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add zenstory-ai/oh-story-claudecode/browser-cdp@sha256:04ed954c82023bea

The line at the top of this page pins the label git:20261018.f63b71f, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_dvuv6dg34s2xgbdv.svg)](https://markdownregistry.com/a/art_dvuv6dg34s2xgbdv)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 7 versions of this file, between Jun 23, 2026 and Oct 18, 2026, about one every 19 days.

versioncommittedcommitsizeaudit
git:20261018.f63b71f latest2026-10-18 f63b71f 8,083 BB view · diff
git:20261015.31557e92026-10-15 31557e9 6,871 BB view · diff
git:20260824.a78f75a2026-08-24 a78f75a 6,962 BB view · diff
git:20260806.a4fe5552026-08-06 a4fe555 6,964 BB view · diff
git:20260716.45c25bf2026-07-16 45c25bf 6,303 BB view · diff
git:20260626.8d08e232026-06-26 8d08e23 6,303 BB view · diff
git:20260623.ea2a9bc2026-06-23 ea2a9bc 6,314 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No link to a raw IP address (matched: http://127.0.0.1:9222)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (8083 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No script tag

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

zenstory-ai/oh-story-claudecode · 7,898 stars · license MIT · pushed 2026-10-18 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_dvuv6dg34s2xgbdv
GET https://markdownregistry.com/api/v1/resolve?ref=zenstory-ai/oh-story-claudecode/browser-cdp
GET https://markdownregistry.com/api/v1/blob/04ed954c82023beac3a0115e2afb97f99960c8afe26730bdca0a088f45a6f7cd

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from zenstory-ai/oh-story-claudecode

AGENTS.md AGENTS.md file
zenstory-ai/oh-story-claudecode · AGENTS.md
git:20260927.b89dae0 · audit A · 7,898 stars
CLAUDE.md CLAUDE.md file
zenstory-ai/oh-story-claudecode · CLAUDE.md
git:20260918.442a82f · audit B · 7,898 stars
story-cover SKILL.md skill
zenstory-ai/oh-story-claudecode · skills/story-cover/SKILL.md · 小说封面生成。根据书名、作者名自动分析题材风格,调用 GPT-Image-2 生成含标题和署名的专业级网文封面;Codex CLI 优先使用内置 ImageGen,无需单独 API…
v1.0.0 · audit A · 7,898 stars
story-deslop SKILL.md skill
zenstory-ai/oh-story-claudecode · skills/story-deslop/SKILL.md · 网文去AI味。从表达、叙事用笔、故事因果三层诊断并修复文本,保留作者文风与已定剧情。触发方式:/story-deslop、/去AI味、「去AI味」「这篇太AI了」「网文去AI味」。
v1.0.0 · audit A · 7,898 stars
story-import SKILL.md skill
zenstory-ai/oh-story-claudecode · skills/story-import/SKILL.md · 逆向导入已有小说。将已写好的小说(半成品或完本)反向解析为标准项目目录结构,兼容 story-long-write / story-short-write 后续写作流程;内部复用 story-long-analyze /…
v1.0.0 · audit A · 7,898 stars
story-long-analyze SKILL.md skill
zenstory-ai/oh-story-claudecode · skills/story-long-analyze/SKILL.md · 长篇网文拆文。保留黄金三章、逐章摘要、剧情、情绪、节奏、角色、设定和文风接口,以连续章节块完成因果、双时间线、关系与三维节奏分析;兼容旧成果直接使用、按需增强和断点续跑。含可选三层灵感库管道(灵感库、跨书灵感聚合、更新灵感库)。触发方式:/…
v1.0.0 · audit A · 7,898 stars
story-long-scan SKILL.md skill
zenstory-ai/oh-story-claudecode · skills/story-long-scan/SKILL.md · 长篇网文扫榜。分析起点、番茄、晋江、七猫等平台排行榜与新书数据,提炼市场趋势与热门题材。触发方式:/story-long-scan、/长篇扫榜、「长篇什么火」「起点排行」「扫七猫新书」。
v1.0.0 · audit A · 7,898 stars
story-long-write SKILL.md skill
zenstory-ai/oh-story-claudecode · skills/story-long-write/SKILL.md · 长篇网文规划与写作。支持只讨论结构、只写大纲或指定细纲,明确要求正文后再写章节。触发方式:/story-long-write、/写长篇、「帮我开书」「定设定」「出卷纲」「规划剧情」「写大纲」「补细纲」「日更」「续写」「继续写」「修改第X章」…
v1.0.0 · audit A · 7,898 stars
story-review SKILL.md skill
zenstory-ai/oh-story-claudecode · skills/story-review/SKILL.md · 多视角对抗式审查。full/lean 模式在已部署 reviewer agents 时并行 spawn;缺失/异常 agents 或 spawn 失败时自动降级 solo,参考文件不可读时使用内置 rubric…
v1.1.1 · audit A · 7,898 stars
story-setup SKILL.md skill
zenstory-ai/oh-story-claudecode · skills/story-setup/SKILL.md · 网文写作工具集基础设施部署与检查。为 Claude Code / OpenCode / Codex / Google Antigravity / ZCode / OpenClaw / Reasonix 提供内置适配;Web AI / 通用…
v1.3.4 · audit A · 7,898 stars
story-short-analyze SKILL.md skill
zenstory-ai/oh-story-claudecode · skills/story-short-analyze/SKILL.md · 短篇网文拆文。拆解爆款短篇小说(番茄短篇 / 故事会 / 知乎盐言 / 追妻 / 世情 / 重生 / 虐渣等通俗题材)的故事核、结构、情感线、反转设计、写作手法、共鸣层次。单一全量拆解管道:跑完 Stage 2-6…
v3.1.0 · audit A · 7,898 stars
story-short-scan SKILL.md skill
zenstory-ai/oh-story-claudecode · skills/story-short-scan/SKILL.md · 短篇网文扫榜。分析知乎盐言、七猫、黑岩、点众等平台热门短篇数据,捕捉风口题材。触发方式:/story-short-scan、/短篇扫榜、「短篇什么火」「知乎故事排行」。
v1.0.0 · audit A · 7,898 stars

Every file in zenstory-ai/oh-story-claudecode

Other files named browser-cdp

browser-cdp SKILL.md skill
adolfousier/opencrabs · src/docs/reference/templates/skills/browser-cdp/SKILL.md · Native CDP browser automation reference. Headless/headed Chrome control, screenshots, JS evaluation. (/browser-cdp…
git:20260916.5d77e6c · audit A · 1,004 stars
browser-cdp SKILL.md skill
opencrabs/opencrabs · src/docs/reference/templates/skills/browser-cdp/SKILL.md · Native CDP browser automation reference. Headless/headed Chrome control, screenshots, JS evaluation. (/browser-cdp…
git:20260916.5d77e6c · audit A · 1,000 stars
browser-cdp SKILL.md skill
uu201/character-arc · resources/skills/oh-story-claudecode/browser-cdp/SKILL.md · Use this skill when you need to control a Chrome browser via CDP (Chrome DevTools Protocol) to reuse existing login…
git:20260612.364daa3 · audit B · 590 stars
browser-cdp SKILL.md skill
zenstory-ai/oh-story-dsh · packages/knowledge/oh-story/skills/browser-cdp/SKILL.md · Use this skill when you need to control a Chrome browser via CDP (Chrome DevTools Protocol) to reuse existing login…
git:20261019.8ff6019 · audit B · 557 stars

Browse by kind, by grade B, or by owner.