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.
npx skills add hackerFish/awesome-dsh-skills --skill dsh-plugin-i18ngit clone --depth 1 https://github.com/hackerFish/awesome-dsh-skillsWrote 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/hackerfish/awesome-dsh-skills/dsh-plugin-i18n)<a href="https://agentmods.dev/skills/hackerfish/awesome-dsh-skills/dsh-plugin-i18n"><img src="https://agentmods.dev/badge/skills/hackerfish/awesome-dsh-skills/dsh-plugin-i18n/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/hackerfish/awesome-dsh-skills/dsh-plugin-i18n"><img src="https://agentmods.dev/badge/skills/hackerfish/awesome-dsh-skills/dsh-plugin-i18n.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.00046 | $0.00563 |
| Opus 5.5 | $0.00018 | $0.00225 |
| Sonnet 5.5 | $0.00009 | $0.00113 |
| Haiku 4.5 | $0.00005 | $0.00056 |
Grade A, and why
dsh-plugin-i18n 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 3mo 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.
What it actually says
DSH 插件客户端国际化(依据 @deepseek-ai/dsh-client-locale 实现与实战验证)
机制
- 每个插件注册自己的命名空间字典:
ctx.locale.register('my.ns', { zh: {...}, en: {...} }) - 在 slot 注册里声明
locale: 'my.ns'→ 组件 props 自动获得t(key, params) t每次调用实时读当前语言(切语言即时生效,无需重启)- 未命中回退顺序:当前语言 → zh → 返回 key 本身
步骤
- client 的
inject数组加'locale' - 定义命名空间与双字典(key 用点分命名,如
'mic.err.network'):
const NS = 'my.ns'
const zh = { 'btn.title': '开始', 'err.generic': '出错:{code}' }
const en = { 'btn.title': 'Start', 'err.generic': 'Error: {code}' }
- apply 里注册(放
ctx.effect,随插件生命周期释放):
ctx.effect(() => ctx.locale.register(NS, { zh, en }), 'my-plugin: dictionaries')
- slot 声明
locale: NS;组件内t('btn.title')、t('err.generic', { code })({param}插值) - 设置页标签用惰性 label:
label: () => t('settings.tabLabel')—— 每次渲染求值,切语言即更新
验证
- 切换入口:设置 → 语言(Language)选 zh/en,UI 文案即时切换
- 自测里 mock
ctx.locale.register/bind,断言字典注册与 slot 的locale声明 - 双语 README 惯例:
README.md(英文)+README.zh.md(中文),开头互链[中文](README.zh.md)/[English](README.md) - 注意:经 HTTP API 写中文(如 GitHub description)避免 PowerShell 直接传中文 body,见 dsh-plugin-publish
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.
- 3mo ago First seen · 42 lines · 46 tokens per session scan A 03f8ca0b2064
dsh-plugin-i18n is a skill published in the GitHub repository hackerFish/awesome-dsh-skills (5 stars, last pushed 2mo ago), licensed MIT. It adds 46 tokens to every session and 563 once invoked, about $0.0002 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-i18n compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dsh-plugin-i18nhackerFish/awesome-dsh-skills | Skill | 5 | 2mo ago | MIT | A | 46 | Claude Code, Codex |
| chinese-documentationjnMetaCode/superpowers-zh | Skill | 8.6k | 14d ago | MIT | A | 62 | Claude Code |
| playlet-wechat-feedredfox-data/redfox-community-dsh | Skill | 13 | 6d ago | MIT | A | 269 | Claude Code, Codex |
| xiaohongshu-searchredfox-data/redfox-community-dsh | Skill | 13 | 6d ago | MIT | A | 84 | Claude Code, Codex |
| wechat-creatorredfox-data/redfox-community-dsh | Skill | 13 | 6d ago | MIT | A | 187 | Claude Code, Codex |
| wechat-searchredfox-data/redfox-community-dsh | Skill | 13 | 6d ago | MIT | A | 77 | Claude Code, Codex |
| xiaohongshu-creatorredfox-data/redfox-community-dsh | Skill | 13 | 6d ago | MIT | A | 154 | Claude Code, Codex |