WZZNNE/DSH-CyberWorkStation--plugins-dsh-skin-studio ↗★ 23

dsh-skin-studio-cws

让AI模型设计并一键安装界面皮肤 适合希望通过对话让AI设计、生成并直接应用Launcher或前端皮肤的用户。

套件
dsh-skin-studio-cws
相容性
待驗證
Harness 依賴範圍
*
版本
0.1.0
授權
NOASSERTION
最近更新
2026年9月16日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:WZZNNE/DSH-CyberWorkStation#54855352ddc1a46f62c26ebb8ba6e9e2a4f07875&path:plugins/dsh-skin-studio

dsh-skin-studio-cws

Lets a model design and install a launcher or frontend skin from inside a conversation, on the user's request, through the model-facing skin_studio tool.

Install

dsh plugin --profile web add dsh-skin-studio-cws

Restart dsh afterwards. As part of DSH CyberWorkStation the plugin is registered by setup.cmd from the repository checkout instead.

Flow

  1. A system-prompt section constrains the interaction: ask for requirements first; when the user gave no image and the model cannot generate one, ask the user for an image (never fabricate one); when an image-generation tool exists (for example dsh-media-lab), call it.
  2. The model writes the CSS and calls skin_studio with the target (launcher or frontend), a name and the CSS; local images are inlined as data URIs.
  3. The tool persists the skin through the launcher API (/api/skins/import) and, unless the call passes apply: false, applies it (/api/skins/apply), so the result shows up on the launcher's Skins page like any other skin and can be switched or deleted there.

Files

  • lib/index.js the tool and the prompt section
  • lib/studio.js pure helpers: target validation, name sanitising, CSS assembly, image inlining

Requirements

The launcher must be running: the tool talks to http://127.0.0.1: with the token from $DSH_HOME/launcher.token. dsh-skin-loader applies frontend skins to the Web UI.