Introduction¶
When working on Web interface tasks in DeepSeek Harness (DSH), UI/UX design skills like ui-ux-pro-max are frequently used. While this skill works in general scenarios, it is not natively integrated as a DSH plugin. If you wish to toggle it on or off during a conversation without modifying profile configurations or restarting the service, you need a client plugin that gates skills at runtime.
dsh-ui-design-toggle (repository YukoZ1227/dsh-ui-design-toggle), provided by maintainer YukoZ1227, is categorized as a client plugin. It adds a “UI Design Skill” toggle at the bottom of the Web GUI sidebar to enable or disable ui-ux-pro-max, and is compatible with DSH 0.2.1-rc.2. The following sections describe its positioning, capabilities, and installation usage.
What is this¶
In one sentence: It is a DSH plugin that renders a toggle at the bottom of the web profile’s sidebar, switching at runtime whether ui-ux-pro-max participates in skill consumption on the model side.
The current npm package version of the plugin is 0.2.1, depending on @deepseek-ai/cordis ~4.0.5, @deepseek-ai/dsh-skill 0.2.1-rc.2, and @deepseek-ai/schemastery ~3.18.5. On the host side, it uses only DSH’s built-in @deepseek-ai/* packages; on the browser side, it utilizes the React and services already provided by the shell, with no additional third-party dependencies.
Core Features¶
Sidebar Toggle and Interface Behavior¶
The toggle is mounted in the sidebar.footer.action slot, ensuring it does not occupy the main content area. The subtitle will display ui-ux-pro-max · Enabled or Disabled. When the sidebar is collapsed, it becomes an icon button, with a status tooltip available on hover.
Runtime Gating¶
Changes take effect immediately upon toggling, requiring no DSH restart; the switch state is persisted and retained after restarts.
When disabled, the target skill is removed from the following three paths (covered by snapshot() / list() / get()):
<available_skills>directory display;skilltool loading;/ui-ux-pro-maxgesture.
The skill name to be gated and the switch state are written in the plugin entry’s Config volatile() field and saved with the profile settings documentation.
Environment and Compatibility¶
Applicable profile: web (requires services such as slots, configForms, etc.).
| DSH Version | Status |
|---|---|
0.2.1-rc.2 |
Verified (development baseline in README) |
0.2.0 and earlier |
Not applicable (legacy settings API removed) |
Before installation, please confirm that DSH and pnpm are installed on your machine:
dsh --version # Should display 0.2.1-rc.2 or higher
pnpm -v # If no output, try: npm i -g pnpm first
Node requirement is >=20 (see package.json engines).
Installation and Activation¶
The plugin is installed and run with the permissions of the current dsh process; it is recommended to browse the repository source code and the MIT license before installation. The DSH community plugin directory is an independent site (e.g., SkillHub entry page) and is not officially affiliated with DeepSeek or High-Flyer.
Method 1: Plugin Market (No Terminal Needed)¶
- Open Web GUI → Top right account menu → Settings → Plugin Market (In DSH
0.2.1, this entry is located in the account menu). - Search for
dsh-ui-design-toggle, or look under the UI Enhancement category. - Click Install and refresh the page once complete.
If you cannot find it in the market: The market only displays plugins from the awesome-dsh-plugin curated list. If it is not included, you need to install via the command line method described below.
Method 2: One npm Command (Common)¶
Execute the following assuming dsh and pnpm are already installed:
dsh plugin --profile web add dsh-ui-design-toggle
This command adds the package to the profile dependencies and writes dsh-ui-design-toggle to dsh.profile.bundles in %DSH_HOME%/profiles/web/package.json. After restarting or refreshing the Web GUI, the “UI Design Skill” toggle should appear at the bottom of the sidebar.
Verify if the configuration was written:
dsh --profile web --dump-config | grep -A2 ui-design-toggle
You should see id: ui-design-toggle, name: dsh-ui-design-toggle, and the config: section.
Other Installation Methods (As Needed)¶
- Pre-built tarball (For fixed versions or internal distribution):
dsh plugin --profile web add https://github.com/YukoZ1227/dsh-ui-design-toggle/releases/download/v0.2.1/dsh-ui-design-toggle-0.2.1.tgz
- One-click script: Use
install.ps1for Windows,install.shfor macOS / Linux (see the repository README “Method 4”). - If
dsh plugin addresults innpm error 404, it means the package may not yet be published on npm. You can switch to the tarball or install from the source path as per the README “Method 5”.
If you see skipping profile bundle "dsh-ui-design-toggle" after upgrading DSH, it is usually because the profile node_modules was cleared while the bundles still reference the package; simply re-execute the add command above.
Typical Usage¶
- Open the Web GUI and locate the “UI Design Skill” toggle at the bottom of the sidebar.
- Enable: The model-side skill directory includes
ui-ux-pro-max, allowing the design skill to be used normally. - Disable: The skill is hidden from the directory and the
skilltool; none of the three consumption paths mentioned above are reachable. - Use the icon button to operate when the sidebar is collapsed, and hover to view the current status.
Configuration Description¶
The configuration is written to the profile’s cordis.patch.yml (settings documentation), but can also be modified solely via the sidebar toggle:
- id: ui-design-toggle
name: dsh-ui-design-toggle
config:
skill: ui-ux-pro-max # Skill name to gate (default ui-ux-pro-max)
enabled: true # Switch state (default true)
Use Cases and Notes¶
Suitable for developers already using DSH in the web profile who need to toggle ui-ux-pro-max on demand: open it while writing frontend/UI drafts, and close it when doing pure backend work or when you do not want to occupy a skill slot, eliminating the need to manually edit YAML or restart repeatedly.
Notes:
- Only for the
webprofile; the sidebar toggle will not appear in other profiles. - It gates the skill name specified in the
skillconfig item, defaulting toui-ux-pro-max; if you rename it or switch to another skill, you must sync the change inconfig.skill. - The plugin does not replace ui-ux-pro-max itself; it only controls its visibility and loading within DSH; the design skill must still be installed separately and meet the DSH skill system requirements.
Conclusion¶
dsh-ui-design-toggle turns “whether to enable ui-ux-pro-max” into a persistent toggle on the sidebar. When disabled, it completely removes the skill from the directory, skill tool, and gesture paths, making it suitable for lightweight gating in DSH 0.2.1-rc.2 Web workflows.
- Community Directory: SkillHub - dsh-ui-design-toggle
- Source Code & Docs: GitHub - YukoZ1227/dsh-ui-design-toggle