browser-cdp SKILL.md skillB

This file is byte-identical to the first copy the registry indexed. Same content hash, so the same checks give both the same grade.

browser-cdp from zenstory-ai/oh-story-dsh 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-dsh/browser-cdp@git:20261019.8ff6019

Pins git:20261019.8ff6019 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
zenstory-ai/oh-story-dsh
Path
packages/knowledge/oh-story/skills/browser-cdp/SKILL.md
Versions recorded
4
Latest version
git:20261019.8ff6019, committed Oct 19, 2026
First version recorded
Aug 20, 2026
Size
8,083 bytes
Repository stars
557
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-dsh/browser-cdp@sha256:04ed954c82023bea

The line at the top of this page pins the label git:20261019.8ff6019, 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_4pa7ie2vp4kfhltw.svg)](https://markdownregistry.com/a/art_4pa7ie2vp4kfhltw)

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

Versions

The registry has recorded 4 versions of this file, between Aug 20, 2026 and Oct 19, 2026, about one every 20 days.

versioncommittedcommitsizeaudit
git:20261019.8ff6019 latest2026-10-19 8ff6019 8,083 BB view · diff
git:20261015.215a6fa2026-10-15 215a6fa 6,871 BB view · diff
git:20260824.09a93622026-08-24 09a9362 6,962 BB view · diff
git:20260820.ee5bfd62026-08-20 ee5bfd6 6,964 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-dsh · 557 stars · license MIT · pushed 2026-10-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_4pa7ie2vp4kfhltw
GET https://markdownregistry.com/api/v1/resolve?ref=zenstory-ai/oh-story-dsh/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-dsh

AGENTS.md AGENTS.md file
zenstory-ai/oh-story-dsh · AGENTS.md
git:20261014.69c6f05 · audit A · 557 stars
CLAUDE.md CLAUDE.md file
zenstory-ai/oh-story-dsh · CLAUDE.md
git:20261014.69c6f05 · audit B · 557 stars
short-drama-assets SKILL.md skill
zenstory-ai/oh-story-dsh · packages/knowledge/drama/skills/short-drama-assets/SKILL.md · 从短剧剧本拆出人物/造型、地点/视图、道具/状态和跨场连续性,写成创作者可读的视觉设定。用户说“拆角色/场景/道具”“做资产设定”“判断复用还是新变体”“更新造型/道具状态”,或拿现成剧本直接做视觉资产准备时使用;不写图片提示词,不生成媒体…
git:20261015.215a6fa · audit A · 557 stars
short-drama-develop SKILL.md skill
zenstory-ai/oh-story-dsh · packages/knowledge/drama/skills/short-drama-develop/SKILL.md · 将中文小说、短剧或漫剧想法、梗概、改编材料、已有系列笔记或多集完整剧本发展成可追溯的改编方案、戏剧方向、创作简报、导演阐述、故事引擎与分集地图,并按题材与制作形态(画风)选择写法。用户提出“导入小说做短剧”“从多集整稿生成/补分集地图”“开…
git:20261015.215a6fa · audit A · 557 stars
short-drama-edit SKILL.md skill
zenstory-ai/oh-story-dsh · packages/knowledge/drama/skills/short-drama-edit/SKILL.md · 将已生成的短剧镜头剪成成片,记录入出点、镜序、声音、字幕与交付规格。用于套剪、加字幕、统一响度、调整节奏或导出精修素材;需要补素材或修改故事时转回对应创作阶段。
git:20261015.215a6fa · audit A · 557 stars
short-drama-image-prompts SKILL.md skill
zenstory-ai/oh-story-dsh · packages/knowledge/drama/skills/short-drama-image-prompts/SKILL.md · 为短剧人物、造型、地点、道具和状态编写或修改可直接复制的图片提示词 Markdown。用户提到角色设定图、三视图、参考图、场景板、道具图、风格帧、Look Development、状态变体或局部编辑提示词时使用;不生成图片,也不调用供应商。
git:20261015.215a6fa · audit A · 557 stars
short-drama-novel-analyze SKILL.md skill
zenstory-ai/oh-story-dsh · packages/knowledge/drama/skills/short-drama-novel-analyze/SKILL.md · 把长篇小说、连载网文或多集散稿拆成可追溯的原著分析:章节索引、改编价值快评、逐章功能提取、剧情单元与节奏聚合、人物与设定归并,最后给出改编价值判定与分集候选,交给 $short-drama-develop…
git:20261015.215a6fa · audit A · 557 stars
short-drama-produce SKILL.md skill
zenstory-ai/oh-story-dsh · packages/knowledge/drama/skills/short-drama-produce/SKILL.md · 在创作者明确确认后,执行短剧项目的图片、视频、TTS/配音或时间线音乐生产任务,并把结果与精简运行记录落回项目。用户说“生成这张图/这段视频/这句配音/这段配乐”“开始跑图/跑视频/合成语音/生成音乐”“把已确认提示词送去生产”,或要求批量…
git:20261015.215a6fa · audit A · 557 stars
short-drama-review SKILL.md skill
zenstory-ai/oh-story-dsh · packages/knowledge/drama/skills/short-drama-review/SKILL.md · 审查短剧项目中的原著分析、故事、剧本、视觉设定、图片提示词、分镜、冻结关键帧、视频提示词和已有媒体。用户提出“审稿/检查剧本”“检查资产或连续性”“检查图片/视频提示词”“检查原著分析”“审查模板感”“根据生产观察做项目校准”时使用;只写审…
git:20261015.215a6fa · audit A · 557 stars
short-drama-storyboard SKILL.md skill
zenstory-ai/oh-story-dsh · packages/knowledge/drama/skills/short-drama-storyboard/SKILL.md · 把中文短剧剧本和视觉设定写成有戏剧职责、连续性边界与冻结关键帧提示词的分镜 Markdown。用户提出“拆分镜/设计镜头/做镜头表”“场次视觉计划/调度故事板”“比较导演方案”“写首帧/关键帧提示词”或检查轴线、站位、视线、持物连续性时使用…
git:20261015.215a6fa · audit A · 557 stars
short-drama-video-prompts SKILL.md skill
zenstory-ai/oh-story-dsh · packages/knowledge/drama/skills/short-drama-video-prompts/SKILL.md · 把短剧分镜和冻结关键帧写成可直接复制的视频提示词 Markdown,也可按用户要求写时间线配乐/主题曲意图。用户提到文生/图生视频动作、人物表演、运镜、口型、环境运动、镜头时长、起止状态、把分镜转成视频提示词或写配乐提示词时使用;不生成媒体…
git:20261015.215a6fa · audit A · 557 stars
short-drama-write SKILL.md skill
zenstory-ai/oh-story-dsh · packages/knowledge/drama/skills/short-drama-write/SKILL.md · 编写或修订可拍摄的中文短剧、漫剧单集 Markdown 剧本,也负责保留作者原文并规范化现成剧本。用户提出“写/改一集短剧”“把大纲写成剧本”“优化场景/对白”“去模板感”“去 AI…
git:20261015.215a6fa · audit A · 557 stars

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

Other files named browser-cdp

browser-cdp SKILL.md skill
zenstory-ai/oh-story-claudecode · 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:20261018.f63b71f · audit B · 7,898 stars
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

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