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.
curl -O https://raw.githubusercontent.com/xun404/dsh-pihuo-plugins/main/.agents/skills/dsh-plugin-client/SKILL.mdgit clone --depth 1 https://github.com/xun404/dsh-pihuo-pluginsWrote 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.
[](https://agentmods.dev/skills/xun404/dsh-pihuo-plugins/dsh-plugin-client)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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。
何时需要浏览器半
| 目标 | 要不要 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)。
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.
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.
- 2mo ago First seen · 91 lines · 75 tokens per session scan A d10e3934cd78
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.
dsh-plugin-client compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dsh-plugin-clientxun404/dsh-pihuo-plugins | Skill | 2 | 2mo ago | MIT | A | 75 | Claude Code, Codex |
| dsh-plugin-guidePerryLink/dsh-plugin-guide | Skill | 65 | yesterday | Apache-2.0 | A | 62 | Claude Code, Codex |
| codex-syncWalvez/dsh-codex-sync | Skill | 30 | 1mo ago | MIT | B | 40 | Claude Code, Codex |
| dsh-plugin-developmentw2112515/dsh-plugin-development | Skill | 11 | 2mo ago | MIT | A | 130 | Codex |
| dsh-tui-guideccch1mneyyy/dsh-TUI | Skill | 7.2k | today | MIT | A | 41 | Claude Code, Codex |
| modsearchliustack/modsearch | Skill | 952 | 11d ago | MIT | A | 99 | Claude Code |
| submit-dsh-pluginimsai-sh/awesome-deepseek-harness-plugins | Skill | 370 | yesterday | MIT | A | 103 | Codex |