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-author/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-author)<a href="https://agentmods.dev/skills/xun404/dsh-pihuo-plugins/dsh-plugin-author"><img src="https://agentmods.dev/badge/skills/xun404/dsh-pihuo-plugins/dsh-plugin-author/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-author"><img src="https://agentmods.dev/badge/skills/xun404/dsh-pihuo-plugins/dsh-plugin-author.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.00087 | $0.01456 |
| Opus 5.5 | $0.00035 | $0.00582 |
| Sonnet 5.5 | $0.00017 | $0.00291 |
| Haiku 4.5 | $0.00009 | $0.00146 |
Grade A, and why
dsh-plugin-author 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 — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
编写 dsh 插件
本技能是开发流程。运行时细节读 dsh-plugin-runtime;层与安装读 dsh-plugin-compose;命名与 seam 读 dsh-plugin-conventions;浏览器半读 dsh-plugin-client。模板只在 references/templates.md。
规范对照仓库:../deepseek-harness(若存在)。与源码冲突时以源码为准。
1. 分类,再动手
按用户目标选一种,且只选一种作为主交付。对照 conventions 的扩展点表:
| 用户要的 | 形态 | 必读 |
|---|---|---|
| 模型可调用的能力 | 工具插件:inject: ['tools'] + defineTool |
本技能 §3 + templates §工具 |
| 可替换的底层能力 | seam 三角(Definition / Provider / Consumer) | seams |
| 新模型提供方 | ctx.llm.registerAdapter |
templates §适配器 |
| 拦截 / 策略 | 事件钩子(优先 tools/*、agent/*) |
templates §钩子 |
| Web UI / 设置卡片 / Chat 节点 | 浏览器半 | dsh-plugin-client |
| 把已有模块装进 profile | 组合包(dsh.bundle + patch) |
dsh-plugin-compose |
不要为「以后可能扩展」先拆三角。一个包能诚实承担的职责就放一个包。
2. 落盘位置
本仓库是树外插件集,不要往 ../deepseek-harness/packages/ 加第一方包,除非用户明确要求改 harness。
默认骨架:
<pkg>/
package.json # name、exports、dsh.bundle
cordis.patch.yml # insert 本包行
src/index.ts # name / inject / Config / apply
tsconfig.json
README.md
- 包名:
dsh-<name>或@<scope>/dsh-<name>。不要用@deepseek-ai/。 - 插件
export const name用短横线 id,与 patchid对齐(见 conventions)。 - TypeScript 插件必须有自包含
prepare构建,git 安装才能用。步骤见 compose。
先列出将要创建的文件,再写。不要先写实现再补 manifest。
3. 实现顺序
- 写
package.json与cordis.patch.yml(compose 清单)。 - 导出
name、inject、可选Config(Schemastery,不是普通对象)、apply。三种形态见 runtime;默认用函数形态。只有要提供ctx.<key>时才用Service子类。 inject列出apply会读取的服务。可选服务用ctx.get('x'),不要写进inject。- 所有注册走
ctx(register/on/effect)。禁止模块顶层副作用。禁止自己removeListener/clearInterval来「对应」ctx.on/ctx.effect。 - 部署可能不同的值放进
Config。硬编码超时、路径、模型名是错的。 - 需要清理的外部资源包进一个
ctx.effect(() => disposer)。有顺序依赖的清理放进同一个 disposer。
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 · 99 lines · 87 tokens per session scan A d31589bad086
dsh-plugin-author is a skill published in the GitHub repository xun404/dsh-pihuo-plugins (2 stars, last pushed 2mo ago), licensed MIT. It adds 87 tokens to every session and 1,456 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-author compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dsh-plugin-authorxun404/dsh-pihuo-plugins | Skill | 2 | 2mo ago | MIT | A | 87 | Claude Code |
| 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 |