zenstory-ai/oh-story-claudecode

browser-cdp

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.

16K installs 7.7K stars

Before you install

Last update
Files in folder
2
Scripts
Contains scripts. Review them before running.
SKILL.md size
6.7 KB (about 1,718 tokens of context each time it loads)
License
MIT

Skills are plain text instructions the agent follows, sometimes with scripts. Check the source, prefer repositories with many installs and stars, and read any script it ships.

Install

npx skills add zenstory-ai/oh-story-claudecode@browser-cdp

Runs in a terminal with Node.js 18 or newer. Add -y to skip the prompts and -g to install for every project instead of this one.

Install for your agent

npx skills add zenstory-ai/oh-story-claudecode@browser-cdp --agent claude-code -y
Project install writes to
.claude/skills/browser-cdp
Global install writes to
~/.claude/skills/browser-cdp

Start a new session afterwards so the agent picks the skill up. In Claude Code you can also call it directly with /browser-cdp.

What it does

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-mode 强制步骤) 第一步:探测当前状态(无副作用) 输出形如: 或: 第二步:根据探测结果分支 - CDPSTATUS=ready 且本次只需连接 → 直接使用 agent-browser --cdp 9222 ...,不要运行 setup。 - 明确请求 --reset / --profile → 即使 ready 也走重建。用 --dry-run 查看将结束的进程,按下方同意流程带原定选项启动。 - CDPSTATUS=needs-setup 且 CHROMERUNNING=no → 安全启动: - CDPSTATUS=needs-setup 且 CHROMERUNNING=yes → 先向用户确认:告知会结束 N 个 Chrome…

Excerpt from the skill's own SKILL.md. Read the full file on GitHub before installing: skills run with your agent's permissions.

Categories

Related skills

  • story-deslop

    zenstory-ai/oh-story-claudecode

    网文去AI味。从表达、叙事用笔、故事因果三层诊断并修复文本,保留作者文风与已定剧情。触发方式:/story-deslop、/去AI味、「去AI味」「这篇太AI了」「网文去AI味」。

    17K installs 7.7K scriptsAI & agents
  • story-long-write

    zenstory-ai/oh-story-claudecode

    长篇网文规划与写作。支持只讨论结构、只写大纲或指定细纲,明确要求正文后再写章节。触发方式:/story-long-write、/写长篇、「帮我开书」「定设定」「出卷纲」「规划剧情」「写大纲」「补细纲」「日更」「续写」「继续写」「修改第X章」「回炉」「重写第X章」。

    17K installs 7.7K scriptsProductivityWriting
  • story-long-analyze

    zenstory-ai/oh-story-claudecode

    长篇网文拆文。保留黄金三章、逐章摘要、剧情、情绪、节奏、角色、设定和文风接口,以连续章节块完成因果、双时间线、关系与三维节奏分析;兼容旧成果直接使用、按需增强和断点续跑。含可选三层灵感库管道(灵感库、跨书灵感聚合、更新灵感库)。触发方式:/story-long-analyze、/长篇拆文、「帮我拆这本书」「拆这本书」「分析黄金三章」「深度拆解」「完整拆解」或提供小说文本文件路径。

    16K installs 7.7K scriptsAI & agents
  • story-short-write

    zenstory-ai/oh-story-claudecode

    短篇网文写作。辅助短篇小说创作,从构思到成稿,聚焦情绪拉扯与节奏把控。触发方式:/story-short-write、/写短篇、「帮我写一篇短篇」「写个盐言故事」。

    16K installs 7.7K scriptsDesign & UIProductivityWriting
  • story-long-scan

    zenstory-ai/oh-story-claudecode

    长篇网文扫榜。分析起点、番茄、晋江、七猫等平台排行榜与新书数据,提炼市场趋势与热门题材。触发方式:/story-long-scan、/长篇扫榜、「长篇什么火」「起点排行」「扫七猫新书」。

    16K installs 7.7K scripts
  • story-short-analyze

    zenstory-ai/oh-story-claudecode

    短篇网文拆文。拆解爆款短篇小说(番茄短篇 / 故事会 / 知乎盐选 / 追妻 / 世情 / 重生 / 虐渣等通俗题材)的故事核、结构、情感线、反转设计、写作手法、共鸣层次。单一全量拆解管道:跑完 Stage 2-6 产出完整拆文报告,落盘到 拆文库/{书名}/,下游 story-short-write 同时读拆文报告 + 情节节点 + 写作手法 + 原文 + _meta.json 写下一篇。触发方式:/story-short-analyze、/短篇拆文、「拆短篇」「拆这篇短文」「短篇拆文」「精细拆解短篇」「8000 字短篇拆解」「番茄短篇拆文」「故事会拆解」「盐言故事拆解」「分析这篇短篇」——均进入同一管道。

    16K installs 7.7K

← Search skills

/skills/zenstory-ai/oh-story-claudecode/browser-cdp/