dsh-pihuo-plugins: Skill for Claude Code

.agents/skills/development-cdp/SKILL.md

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

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is xun404/dsh-pihuo-plugins's own configuration. It tells Claude Code and Codex how to work on dsh-pihuo-plugins itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything dsh-pihuo-plugins configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/write-dev-patch.mjs /tmp/dsh-pihuo-web.patch.yml.

Reuse

Borrowing it

Nothing to install: this file belongs to xun404/dsh-pihuo-plugins. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/xun404/dsh-pihuo-plugins/main/.agents/skills/development-cdp/SKILL.md
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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for development-cdp

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00079 $0.01512
Opus 5.5 $0.00032 $0.00605
Sonnet 5.5 $0.00016 $0.00302
Haiku 4.5 $0.00008 $0.00151

Measured 2mo ago against content hash c6d9b70316db, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 2mo ago), licensed MIT. It adds 79 tokens to every session and 1,512 once invoked, about $0.0003 per session on Opus 5.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

development-cdp compared with skills from other repositories

development-cdp next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
development-cdpxun404/dsh-pihuo-pluginsSkill22mo agoMITA79Claude Code, Codex
modsearchliustack/modsearchSkill95211d agoMITA99Claude Code
dsh-plugin-guidePerryLink/dsh-plugin-guideSkill65yesterdayApache-2.0A62Claude Code, Codex
dsh-troubleshootpingfanfan/hello-dshSkill1071mo agoMITA61Claude Code, Codex
error-handlingpingfanfan/hello-dshSkill1071mo agoMITA51Claude Code, Codex
ask-good-questionspingfanfan/hello-dshSkill1071mo agoMITA61Claude Code, Codex
perf-optimizepingfanfan/hello-dshSkill1071mo agoMITA44Claude Code, Codex