dsh-pihuo-plugins: Skill for Claude Code

.agents/skills/dsh-plugin-client/SKILL.md

dsh-plugin-client is a skill for Claude Code, Codex from xun404/dsh-pihuo-plugins. It costs 75 tokens per session (1,275 once invoked), scanned A, original, MIT.

A guide for building browser-side parts of DeepSeek Harness plugins, such as settings cards, chat nodes, and panels. DeepSeek Harness is the plugin system this add-on targets.

In plain words
What is it for?
Use it when adding web UI, registering slots, creating a settings tab, or adding a new chat conversation node.
Why use it?
It explains when browser code is needed and how it should connect to the host plugin.

Skill for Claude CodeCodex

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

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 →

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/dsh-plugin-client/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 dsh-plugin-client

README.md
[![agentmods](https://agentmods.dev/badge/skills/xun404/dsh-pihuo-plugins/dsh-plugin-client/github.svg)](https://agentmods.dev/skills/xun404/dsh-pihuo-plugins/dsh-plugin-client)
Your own site
<a href="https://agentmods.dev/skills/xun404/dsh-pihuo-plugins/dsh-plugin-client"><img src="https://agentmods.dev/badge/skills/xun404/dsh-pihuo-plugins/dsh-plugin-client/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 dsh-plugin-client

Your own site · 80×15
<a href="https://agentmods.dev/skills/xun404/dsh-pihuo-plugins/dsh-plugin-client"><img src="https://agentmods.dev/badge/skills/xun404/dsh-pihuo-plugins/dsh-plugin-client.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,275 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00075 $0.01275
Opus 5.5 $0.00030 $0.00510
Sonnet 5.5 $0.00015 $0.00255
Haiku 4.5 $0.00007 $0.00128

Measured 2mo ago against content hash d10e3934cd78, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dsh-plugin-client scanned grade A with 0 findings 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/dsh-plugin-client/SKILL.md · 91 lines

How it starts

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

浏览器半插件

Host 插件与浏览器插件共用 Loader 语义(Fiber、inject、update),只换模块如何到达。本技能拥有 dsh.client、slots、组件纪律。Host 侧实现仍走 dsh-plugin-author。

对照:../deepseek-harness/packages/client/AGENTS.md、packages/client/modules。

展开:references/slots.md。

何时需要浏览器半

目标 要不要 Client 包
工具 / 适配器 / 钩子 不要。Host 即可
工具结果的卡片 通常只要 Host 上的 presentCall / presentResult;第一方 UI 会映射 card kind
设置页里自己的表单 要。且树外插件默认不会出现在内置「插件配置」白名单里
Chat 里一种新节点 要。ConversationNodeDefinition + conversation.chat.node
独立面板 / 设置分区 要。往已有 slot 注册

先问:能否用 render-intent / 会话事件完成?能就不要开 Client 包。

声明

package.json:

{
  "exports": {
    ".": { "default": "./lib/index.js" },
    "./client": { "default": "./lib/client.js" }
  },
  "dsh": {
    "client": { "platform": "web", "inject": ["slots"], "immediately": false }
  }
}
  • 必须同时是 Loader 树上的一条 Host 行,client-modules 才扫得到。--patch 开发行的 name 必须是包根目录的绝对路径(或已安装的包名),不要指向 src/index.ts,否则 require.resolve(<name>/package.json) 失败,该包永远不是 client 行。
  • exports["./client"] 必须指向 CJS factory bundle(通常 lib/client.js),不是 tsc 的 ESM 目录。缺文件时启动会聚合成 run pnpm run build 错误。
  • immediately: true 仅给外壳级包。功能插件默认懒加载。
  • dsh.client.inject 是信息性包名边(如 @deepseek-ai/dsh-client-ui-tool),不是 Cordis 服务名。export const inject = ['slots'] 才是 apply 的服务依赖。

扫描按包名缓存且不过期:改「是不是 client 包」要重启 dsh。改 bundle 内容走 rebuild 通知,不是改 package.json 字段。

./client 产物合同

Host 把该文件当经典脚本挂到 /plugins/<id>/client.js。浏览器半是惰性 CJS:脚本执行时必须登记 factory,require 时才跑模块体。

window.__ModuleLoader__.load({
  id: '<package name>', // 必须等于 Loader 行的 name / boot entries[].id
  factory: (require) => {
    var module = { exports: {} }; var exports = module.exports;
    // CJS body; `require('react')` 走外壳 module table
    return module.exports;
  },
});
  • react / react/jsx-runtime / 其它 platform module 必须 external,不要打进包。
  • 不要发 ESM import。tsc 的 lib/client/index.js 只能当类型,不能当 served bundle。
  • 本仓库:packages/ui-acp-worker/scripts/build-client.mjs(esbuild)。

Read the full file on GitHub · 91 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 91 lines · 75 tokens per session scan A d10e3934cd78

Subscribe to this mod's changes

dsh-plugin-client is a skill published in the GitHub repository xun404/dsh-pihuo-plugins (2 stars, last pushed 2mo ago), licensed MIT. It adds 75 tokens to every session and 1,275 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

dsh-plugin-client compared with skills from other repositories

dsh-plugin-client next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dsh-plugin-clientxun404/dsh-pihuo-pluginsSkill22mo agoMITA75Claude Code, Codex
dsh-plugin-guidePerryLink/dsh-plugin-guideSkill65yesterdayApache-2.0A62Claude Code, Codex
codex-syncWalvez/dsh-codex-syncSkill301mo agoMITB40Claude Code, Codex
dsh-plugin-developmentw2112515/dsh-plugin-developmentSkill112mo agoMITA130Codex
dsh-tui-guideccch1mneyyy/dsh-TUISkill7.2ktodayMITA41Claude Code, Codex
modsearchliustack/modsearchSkill95211d agoMITA99Claude Code
submit-dsh-pluginimsai-sh/awesome-deepseek-harness-pluginsSkill370yesterdayMITA103Codex