dsh-skill-mount: Mounting and Unmounting SKILL in the Chatbar

Introduction

When using SKILLs in DeepSeek Harness (DSH), the common approach is to rely on the model to select the skill tool on its own, or to repeatedly explain in the conversation which SKILL.md should be followed. If you want to explicitly enable certain skills in the current session, turn them off at any time, and avoid writing long prompts every time, you need a layer of “mounting” control.

dsh-skill-mount is a community-maintained client plugin (maintainer: Hzans777, classified as a client plugin on SkillHub). It adds a skill tray on the right side of the input box and provides centralized management of notes, local installation, and uninstallation in the settings page. On the host side, it injects the content of mounted skills into the conversation before sending messages. The following sections cover its positioning, installation method, and daily usage.

What Is This

dsh-skill-mount (npm package name dsh-skill-mount, version 1.0.2 in the current documentation, MIT license) turns SKILLs into toggleable mount items in the chat bar: once checked, the corresponding SKILL.md is injected as <skill_content> before the next user message; once unchecked, an unmount prompt is injected in the next turn, making it easy for the model to stop following old instructions.

The plugin has zero dependencies and no build step—the source code is the runtime code. SkillHub directory page: dsh-skill-mount; source repository: GitHub · Hzans777/dsh-skill-mount. The installation example in the README points to zshlove321-cyber/dsh-skill-mount, which coexists with the above repository in the documentation. Installation steps follow the README verbatim.

Core Features

  1. Chat bar tray: The conversation.input.right slot adds a “Skills” entry where you can check/uncheck SKILLs to mount for this session, with support for “Turn all off”.
  2. Settings page “Skill Mounting”: In the settings.section, you can write notes for each SKILL (saved on blur; the note name is displayed in the tray list, with the real name kept in small text); local installation (path or uploaded .zip), and uninstallation to the trash. The ●/○ in the table indicates the global default mount (applies to all new sessions).
  3. Host injection: In agent/pre-step, for skills that are mounted and not yet injected in this session, it reads the content and injects it; if it exceeds 120,000 characters, it will be truncated and the directory path will be noted.
  4. Skill scanning: It merges disk skills under $DSH_HOME/skills and workspace .dsh/skills, as well as harness built-in/provider skills; built-in items cannot be uninstalled, and their content is read through the skills service when mounted.
  5. Local HTTP interface: Registers /skill-mount/* for the client to read and write the mount table, notes, and installation status; write operations only accept loopback addresses and same-origin Origin.

Mount status and notes are persisted in $DSH_HOME/skill-mount.json (the documentation example includes version, mounts, notes; the global mount key is "*", and the session’s own list takes precedence over the global one).

Installation and Activation

The installation method described in the documentation is: place the plugin into ~/.dsh/plugins, link it into the desktop profile’s node_modules, modify the dependencies and dsh.profile.bundles in package.json, and finally restart DSH. The PowerShell example given in the README is as follows (paths and repository URLs match the original):

git clone https://github.com/zshlove321-cyber/dsh-skill-mount.git "$env:USERPROFILE\.dsh\plugins\dsh-skill-mount"

New-Item -ItemType Junction `
  -Path "$env:USERPROFILE\.dsh\profiles\desktop\node_modules\dsh-skill-mount" `
  -Target "$env:USERPROFILE\.dsh\plugins\dsh-skill-mount"

Then edit ~/.dsh/profiles/desktop/package.json: add "dsh-skill-mount": "file:../../plugins/dsh-skill-mount" under dependencies, add "dsh-skill-mount" under dsh.profile.bundles, then restart DeepSeek Harness.

To upgrade, run git pull in the plugin directory and restart (README command: git -C "$env:USERPROFILE\.dsh\plugins\dsh-skill-mount" pull).

Typical Usage

  1. Mount in this session: Open the skill tray on the right of the input box → check the desired SKILL → when sending the next message, the skill content is injected, and the model follows the skill’s instructions without needing to invoke the skill tool.
  2. Unmount: Uncheck again; or use “Turn all off” to clear this session’s list.
  3. Notes: Settings → Skill Mounting → fill in a display name in the note box; it saves on blur.
  4. Global default: Toggle ●/○ in the settings page table to make new sessions include the corresponding skill by default.
  5. Local installation: In the settings page, fill in a local folder or .zip path, or choose a zip file to upload and install.
  6. Uninstall: Click “Uninstall” at the end of the row → then “Confirm uninstall”; files are moved to $DSH_HOME/skills-trash/<timestamp>-<name>, which you can restore manually.

For programmatic control, refer to the interface table in the README, e.g., GET /skill-mount/state?sessionId= to get the list and mount status, POST /skill-mount/toggle with {sessionId, name, mounted} (sessionId empty means global).

Use Cases and Notes

This is suitable for developers who frequently switch between different SKILLs in DSH and want to separate session-level and global-level default behavior. The plugin runs with the permissions of the current DSH process; before installing, review the source code and the MIT license yourself, and confirm the repository source.

Be sure to understand the README’s “Boundaries” section:

  • Mounting writes skill instructions into the conversation; it is not a whitelist for the skill tool. <available_skills> may still list all installed skills, and the model may still proactively load unmounted items.
  • Injection completes per turn: it injects only once when the skill content is not yet present in the conversation; after history is compacted, it will be re-added.
  • SkillHub is a community directory with no official affiliation to DeepSeek/Hunyuan. The facts in this article come from the public README and directory page; star counts and other data are subject to what the site displays (the documentation shows 1 GitHub star).

Conclusion

dsh-skill-mount turns SKILLs from “occasionally loaded by a tool” into “session capabilities that can be toggled, noted, and managed in the chat bar,” making it a good client-side enhancement in the DSH plugin ecosystem. For further information, visit the SkillHub plugin page and the GitHub repository.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye