development-cdp

development-cdp is a skill for Claude Code, Codex from xun404/dsh-pihuo-plugins. It costs 79 tokens per session (1,512 once invoked), scanned A, original, MIT.

A guide for inspecting and automating the DeepSeek Harness Web UI through Chrome DevTools Protocol, a browser debugging interface. It describes which local processes and browser tab to use and includes a project-specific checker.

In plain words
What is it for?
It helps verify startup, the message composer, tool cards, and other browser behavior, as well as run the repository's CDP checks and capture screenshots.
Why use it?
It prevents developers from connecting to the wrong browser page or stale development process when testing the UI. It also clarifies how source changes reach the running web app.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/xun404/dsh-pihuo-plugins/development-cdp
Any agent
npx skills add xun404/dsh-pihuo-plugins --skill development-cdp
Clone the repo
git clone --depth 1 https://github.com/xun404/dsh-pihuo-plugins

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for development-cdp

README.md
[![agentmods](https://agentmods.dev/badge/skills/xun404/dsh-pihuo-plugins/development-cdp.svg)](https://agentmods.dev/skills/xun404/dsh-pihuo-plugins/development-cdp)
Your own site
<a href="https://agentmods.dev/skills/xun404/dsh-pihuo-plugins/development-cdp"><img src="https://agentmods.dev/badge/skills/xun404/dsh-pihuo-plugins/development-cdp.svg" alt="Measured on agentmods" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,512 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00079 $0.01512
Opus 5 $0.00039 $0.00756
Sonnet 5 $0.00016 $0.00302
Haiku 4.5 $0.00008 $0.00151

Measured 4d ago against content hash c6d9b70316db, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

development-cdp scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -o /dev/null -w '%{http_code}\n' http://127.0.0.1:3080/
.agents/skills/development-cdp/SKILL.md · 140 lines

How it starts

The opening of the file, as written. The whole thing — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Development CDP (dsh Web)

This repo's UI is the dsh browser app, not PiHuo's Electron shell. Drive a Chrome/Chromium tab whose origin is the dsh host. Do not attach to a random tab, and do not treat router-agents :8315 as this project.

Authoritative checker: scripts/cdp-check.mjs (no extra npm deps; Node 22+).

Process map

Two processes, restarted separately:

Process Default Role
dsh host http://127.0.0.1:3080 Cordis tree, /api, /plugins/<id>/client.js
Chrome with CDP 127.0.0.1:9222 The actual Web UI

Web profile disables shared HMR. A plugin source change needs a dsh restart (and a hard reload). A stale host serves an old __DSH_BOOT__.

Packaged Chrome without --remote-debugging-port cannot be attached after the fact.

Start

From this repo, after pnpm build:

node scripts/write-dev-patch.mjs /tmp/dsh-pihuo-web.patch.yml

# npm-published launcher (no harness build)
npx --yes @deepseek-ai/dsh web --patch /tmp/dsh-pihuo-web.patch.yml

# or a source checkout after `pnpm install && pnpm run build`
pnpm --dir ../deepseek-harness dsh web --patch /tmp/dsh-pihuo-web.patch.yml

write-dev-patch.mjs writes package-name rows and symlinks this checkout into $DSH_HOME/profiles/web/node_modules. NODE_PATH is not enough: Node ESM import() ignores it. Do not use absolute src/index.ts paths for a dsh.client package: client-modules keys the graph by Loader name, and a path id will not match lib/client.js.

Do not --patch packages/bundle/cordis.patch.yml against a stock web profile: those names are not in the profile, and empty args refuse start().

Chrome (loopback only — CDP has no auth):

"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" \
  --remote-debugging-port=9222 \
  --user-data-dir=/tmp/dsh-pihuo-cdp \
  http://127.0.0.1:3080

Wait for both before automating:

curl -s -o /dev/null -w '%{http_code}\n' http://127.0.0.1:3080/
node scripts/cdp-check.mjs wait

Read the full file on GitHub · 140 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 140 lines · 79 tokens per session scan A c6d9b70316db

Subscribe to this mod's changes

development-cdp is a skill published in the GitHub repository xun404/dsh-pihuo-plugins (2 stars, last pushed 18d ago), licensed MIT. It adds 79 tokens to every session and 1,512 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

dsh-web-web-qa

Use to validate a dsh-web client or skin change in the real DeepSeek Harness Web GUI, including build readiness, responsive rendering, interaction checks, and evidence capture.

zhu1090093659/dsh-web · 41 tokens

modsearch

Plug-in web search, X (Twitter) search, and page fetch for models without native web access. Use whenever the task needs current information, external facts, source links, posts from X, or the content of a specific URL, and the active model/harness has no native search or fetch tool. Runs the modsearch CLI to return…

liustack/modsearch · 99 tokens

dsh-plugin-guide

Use when developing, reviewing, packaging, debugging, or answering questions about DeepSeek Harness (DSH) plugins — the plugin-based agent harness on vendored Cordis. Applies the official plugin-development constraints (plugin contract, cordis.yml layers, services/events/effects, tool DSL, bundles/profiles) backed by…

PerryLink/dsh-plugin-guide · 76 tokens

codex-sync

Operate dsh-codex-sync from this session — preview and import Codex chats, toggle Skills/MCP/import settings, check MCP mirror health, install the reverse MCP bridge.

Walvez/dsh-codex-sync · 40 tokens

dsh-plugin-development

Use when designing, creating, modifying, packaging, installing, reviewing, auditing, or diagnosing a DeepSeek Harness plugin: a live dynamic Cordis plugin driven by cordisdefine, a source-backed workspace plugin under packages, or an out-of-tree installable bundle using dsh.bundle and cordis.patch.yml. Also use for…

w2112515/dsh-plugin-development · 130 tokens

browser-use-cli

Drive a real browser from the shell with the browser-use CLI when a task needs page interaction, rendered DOM, or a logged-in session.

amplifthq/oh-my-dsh · 32 tokens