dsh-plugin-skill2cn: Chinese Localization for DeepSeek Harness Skill Descriptions
kaluosifa/dsh-plugin-skill2cn
A DSH plugin that localizes skill descriptions: it translates the English description in SKILL.md into Simplified Chinese, writes it back to disk, and offers one-click restore plus batch translation.
dsh-plugin-skill2cn is a localization plugin for DeepSeek Harness that swaps the English description of a skill for Simplified Chinese, so Chinese-speaking users can tell at a glance what each skill does. It touches only the description value in SKILL.md frontmatter, keeps the skill name and body untouched, and writes the translation back to disk where the host hot-reloads it without a restart. The settings page offers Untranslated, Translated, and Model Settings tabs with per-skill and batch translation, a view-original toggle, one-click restore, and a choice of translation routes including custom endpoints.
How to Install
dsh plugin --profile web add dsh-plugin-skill2cn- Category
- UI & Experience
- Platform
- DSH Plugin
- Author
- kaluosifa
- Distribution
- Plugin
dsh-plugin-skill2cn Key Features
dsh-plugin-skill2cn Repo Summary
What Does It Do?
Skill2CN is a DSH plugin for DeepSeek Harness that translates the English description of DSH skills into Simplified Chinese and restores the original with one click. It solves the problem of English-only skill descriptions that Chinese users cannot quickly scan, touching only the description value in SKILL.md frontmatter while leaving the name and skill body byte-for-byte intact. Translations are written straight back to the SKILL.md on disk, and DSH hot-reloads it, so no restart is needed. Maintained by kaluosifa under the MIT license, written in TypeScript and last updated in 2026-09.
Core Features
- Single entry point: a dedicated "Skill Localization" section page in the DSH settings UI with three tabs (Untranslated / Translated / Model Settings), plus a bottom-right prompt card when new skills appear.
- Precise translation granularity: only the description value in SKILL.md frontmatter is rewritten; the skill name and body stay untouched.
- Write-to-disk: the translation goes straight back to the SKILL.md on disk and DSH hot-reloads it, so no restart is required.
- Batch jobs: asynchronous with a concurrency cap of 3, live progress, and a success/failure summary; failed items stay on the panel with a Retry button.
- Backup ledger: manifest.json is the single source of truth, and the panel reconciles disk against ledger to derive each skill's state (untranslated / translated / no-translation-needed / stale).
- Flexible model settings: follow the current session route, pick a configured provider/model, or use a custom OpenAI- or Anthropic-compatible endpoint, with a Test button.
How to Use This Plugin?
After enabling it in DSH, open the "Skill Localization" page in the settings UI. The Untranslated tab groups skills by source (workspace / global / plugin package) and offers a Translate button per skill plus a Translate All batch action; the Translated tab provides Restore, a View original toggle, and Restore All. Batch jobs run asynchronously with a concurrency cap of 3 and end with a success/failure summary, and failed items can be retried. To change the translation route, go to the Model Settings tab and either follow the current session, pick a configured provider/model, or enter a custom endpoint and test it. Entries overwritten by a package upgrade are silently cleared or marked stale when the panel opens and can be re-translated, while descriptions already in Chinese are marked no-translation-needed by the CJK heuristic and skipped.
How to Troubleshoot This Plugin?
Click Restore All on the Translated tab before uninstalling, because write-to-disk changes are not undone automatically by uninstalling; the ledger file is left behind in the DSH home directory and is safe to delete by hand. If translations do not appear right away, the host half has probably not loaded yet, so restart DSH once as described in the official instructions; after that, changing only the client half just needs a browser reload.
This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: kaluosifa/dsh-plugin-skill2cn. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.
