Skip to main content
R

dsh-skill

ruhuaiql/dsh-skill

A sidebar skills and MCP console that lists every installed skill with its source, version, install date and preset layers, plus every MCP connection with its live state. Each row switches one thing: stop the model loading that skill on its own, or unmount that MCP connection.

Install

dsh plugin --profile web add github:ruhuaiql/dsh-skill

README

dsh-skill-dock

A DeepSeek Harness bundle that puts a Skills entry in the sidebar and opens a console for what the running profile has installed: every skill with its source, version, install date and the layers it is registered in, plus every MCP connection with its live state — and one switch per row.

Install

From GitHub (works before any npm release):

dsh plugin --profile web add github:RuHuaiQL/dsh-skill

From npm, once published:

dsh plugin --profile web add dsh-skill-dock

From a local checkout, while developing:

dsh plugin --profile web add C:/Project/dsh-skill

Then restart dsh web (or the Desktop app). The entry appears in the sidebar icon rail beside Plugins and Schedules.

What the page shows

  • Header — page title, total skill count, a search box, and a refresh button. The tab row also shows each skill layer's count and when the shown result was read.
  • 全部 / All — installed skills grouped by origin, with a section header and count for each group.
  • 我安装的 / Installed — skills outside the DSH distribution.
  • 系统内置 / Built-in — skills whose SKILL.md ships inside the DSH installation (app.asar or the npm package root).
  • Skills cards — name, version chip, source and invocation tags, a two-line description, then provider, layers and install date. Hovering a card reveals the skill file it was discovered from.
  • MCP 连接 / MCP — one card per connection: its state (connected with a tool count, connecting, reconnecting, waiting for credentials, switched off, or the failure reason), its kind, entry id and tool count.

The switches

Implicit invocation (per skill) — switched off, the model no longer loads that skill on its own. The Host registers a ctx.tools.guard() that refuses the skill tool call for that name before any instructions are read, so the body never enters the conversation. Typing /name yourself still works: that path is a pre-step gesture, not a tool call. The choice is saved to dsh-skill-dock.json in the DSH home and survives a restart.

Enabled (per MCP connection) — a plugin row (@deepseek-ai/dsh-mcp-client, such as mcp-arcgis-pro) switches through the plugin manager's setPluginEnabled, the same path the Plugins page uses; a manager-managed entry flips its enabled intent through the config editor, which reconciles the fleet without remounting the manager; a connection a plugin registered for its own lifetime is read-only. Switching a connection off unmounts it, so its tools leave the model tool list.

Which skills appear

Only skills registered through DSH's own handlers. Skills discovered in another agent's shared configuration (~/.agents, or an application's Agents directory — the registry reports them as user-agents / project-agents) are left out. Add includeAgentSources: true to this row's config in your own patch layer to list them again.

A skill's version comes from the .version file beside SKILL.md when an installer wrote one, otherwise the version key of its frontmatter. Its install date is the creation time of the skill's directory. Skills inside app.asar report neither, because an archive entry carries synthetic timestamps; the page omits a value it cannot prove rather than print a misleading one.

Requirements and side effects

  • DeepSeek Harness 0.2.2-rc.3 or newer, web profile (or Desktop).
  • Reads SKILL.md files and skill directory metadata to report versions, dates and paths.
  • Writes exactly one file of its own: dsh-skill-dock.json in the DSH home, which records which skills you switched off. Profile edits (an MCP row or a manager-managed entry) go through the official plugin manager and config editor, and land in your profile layer.
  • No network access of its own, no shell, no dynamic code. The Host serves three routes on the existing Web server (/dsh-skill-dock/api/skills, /api/toggle, /api/mcp-toggle); every one of them asks the Host connection's own requestRejection gate before answering, and the two mutating routes accept JSON POST only.

Limitations

  • The page is an inventory plus switches. It does not load skill bodies, edit or delete a skill, or uninstall a plugin.
  • DSH assembles the model-facing skill catalog from the skill registry, which exposes no per-skill policy override. A switched-off skill can still be listed in the model's catalog; if the model tries it, the call is refused with a reason instead of loading anything.
  • Project-scoped skills are discovered for the Host's default working directory, not for each open Session.
  • Preset layers are read on demand: with many presets, the first read or a refresh can take a moment.

Development

The bundle is plain JavaScript: no build step, no dependencies.

node --check index.js
node --check client.js
dsh plugin --profile web add C:/Project/dsh-skill

client.js registers a window.__ModuleLoader__ factory for the page rather than a Node module, so there is nothing to bundle: edit it, restart the row (or the Host), and the page picks up the new artifact.

Marketplace

See docs/marketplace.md for the catalog entry, category, and the remaining steps to list it in the community registry.

License

MIT

Related plugins