dsh-skill-mini-manager: Minimalist Management of Skills in DSH Web

Preface

In DeepSeek Harness (DSH), skills are distributed across the global layer, various agent preset layers, and multiple source directories. The skills a model can actually load depend on the discovery results of the runtime registry and file system providers, rather than something you can align simply by “opening a folder and taking a look.”

If you only modify files on disk, or are unclear about which layer a skill originates from, you easily run into situations where you “think you deleted it, but it’s still appearing in the conversation” or where “skills with the same name point to different files.” The built-in “Plugins” page manages bundle dependencies and does not handle the browsing and recoverable removal of individual skills.

The following introduces the community plugin dsh-skill-mini-manager (Chinese name: skill 极简管理 / Minimal Skill Management). It occupies a separate page in the DSH Web Settings panel on the left side, peer-level with the built-in “Plugins” section (it is not a tab inside the Plugins section). It lists the skills currently visible to the host, displays their descriptions and disk usage, and supports moving them individually into a recoverable trash bin.

What is this

  • Plugin ID: dsh-skill-mini-manager
  • Maintainer: runcat-tommy
  • Category: Client (dsh.client, platform is web)
  • License: MIT (see repository package.json)
  • Current Release Version (npm / repository): 2.0.4

In one sentence, the positioning is: Minimal skill manager for DSH Web—it lists the summaries, sources, and disk usage of installed skills within Settings, and moves any removable item into a recoverable trash bin.

This plugin does not register prompts, tools, or messages to the model; the only indirect impact on the model is that after a skill is removed, the file system provider makes that skill disappear from the model’s directory.

Core Features

What is displayed in the list

Each row corresponds to one skill, with fields derived from the skill’s own frontmatter and the host registry, primarily including:

Display Item Description
Name The name from frontmatter
Description The description from frontmatter (displayed as-is)
When to Use Optional whenToUse
Source e.g., user-dsh, user-agents, project-dsh, project-agents, custom, bundled
Invocability Model-invocable / User-invocable (corresponding to disable-model-invocation, user-invocable)
Usage Absolute path of the skill directory, file count, total bytes
Provided To Which presets (or the global layer) pass this skill to the agent

The top of the page features a search box for filtering by name / description / when-to-use, a refresh button, and a count; the bottom contains the trash bin.

Why it can list all “skills currently available in Web”

The DSH skill registry is layered by host + scope. On the standard web profile, the global layer is often empty, and user skills are mostly in various preset layers. This plugin reads each preset layer in the global layer and the roster one by one, then merges them by name; presets that cannot be read will explicitly report an error on the page, rather than silently omitting them.

  • Since DSH 0.2: Acquire leases via acquireScope(id), and dispose must be called in finally after reading is complete.
  • DSH 0.1.x: Obtain keys via standingKeyFor(id), no release required.

Content comes from the host’s actually running ctx.skills; every time it is opened or refreshed, it reads live, no caching—what you see on the page is what the model can load right now.

If skills with the same name point to different files in different preset layers, they will be listed but marked as non-removable (ambiguous).

Removal and Trash Bin

Clicking “Remove” triggers a secondary confirmation, where the dialog displays the exact path to be moved. After confirmation, the host-side flow is:

  1. Move the entire skill directory (or the single .md file in flat layouts) to <DSH_HOME>/.skill-mini-manager/trash/<timestamp>-<name>-<random_string>/payload, and write a meta.json recording the original path.
  2. This location is outside all skill root directories, so the provider’s discovery no longer sees this skill, and the model directory updates validity immediately.
  3. The trash bin supports Restore (moving back to the original path); Empty Trash is the only irreversible operation within the plugin and also requires secondary confirmation.

Situations where a skill cannot be removed (the page displays the reason and does not provide the button) include: bundled-source, runtime-provider, system-owned, not-on-disk, outside-skill-roots, unsupported-layout, missing, ambiguous, etc. The browser side only submits the skill name or trash entry id, no paths; the host resolves the target itself every time and will not treat the entire skill root directory as a deletion target.

Host HTTP Interfaces

Four same-origin routes (returns 403 if Origin and Host do not match):

Method Path Function
GET /dsh-skill-mini-manager/api/catalog Skill list + Trash bin + Root directory status
POST /dsh-skill-mini-manager/api/remove {"name":"<skill>"}
POST /dsh-skill-mini-manager/api/restore {"id":"<trash_entry>"}
POST /dsh-skill-mini-manager/api/purge Empty trash bin

Installation and Activation

This plugin is a standard DSH bundle (declaring dsh.bundle.patch and dsh.client) with no build step—the browser-side lib/client.js is already committed to the repository. You must restart dsh web once after installation; if you only refresh the page and the host half has not mounted, the page will prompt “The plugin’s host half is not responding.”

dsh plugin --profile web add dsh-skill-mini-manager

The package includes all artifacts, does not depend on git, and does not execute installation scripts. To update:

dsh plugin --profile web up dsh-skill-mini-manager

See the published package at npm: dsh-skill-mini-manager.

Install directly from GitHub

Suitable for cases where you want to follow the latest commits on the repository’s main branch, rather than just the npm release version (requires git on the local machine):

dsh plugin --profile web add github:runcat-tommy/dsh-skill-mini-manager

To update, simply rerun the same command.

Local directory installation

Suitable for cases involving code modifications, offline use, or when git is not available locally: After downloading or cloning the repository locally:

dsh plugin --profile web add /path/to/dsh-skill-mini-manager

If using GitHub’s Download ZIP, the extracted directory name often carries a -main suffix; add must point to the extracted directory, not the .zip file.

To view and uninstall the plugin (unrelated to “removing skills”):

dsh plugin --profile web list
dsh plugin --profile web remove dsh-skill-mini-manager

Typical Usage

  1. Install the plugin and restart dsh web.
  2. Open DSH Web Settings, and navigate via the left-side menu to the skill 极简管理 (Minimal Skill Management) page, which is peer-level with “Plugins.”
  3. Use the search box to filter by name or description; click refresh to re-fetch the catalog (every refresh re-reads all definitions, which may be slightly slow if there are many skills).
  4. After confirming a skill’s source, usage, and which presets it is “Provided To,” click “Remove” on removable items, and execute after verifying the path in the confirmation box.
  5. If deleted by mistake, click “Restore” in the trash bin at the bottom of the page; only click “Empty Trash” when you are certain it is no longer needed.

The repository provides a read-only probe to verify catalog reading and removal planning on locally installed skills (does not execute deletion):

node scripts/inspect-live-catalog.mjs

Use Cases and Notes

Who it is for

  • Developers who frequently debug skills in DSH Web and need to see frontmatter descriptions and disk usage at a glance.
  • Users who prefer reversible cleanup via “moving files + Trash bin” rather than manually searching for same-named directories across multiple preset directories.

Known Limitations (explicitly stated in README)

  • Only lists user-level skills: The settings panel has no workspace context; .dsh/skills and .agents/skills under the project root will not appear in the list; managing project skills requires other solutions with workspace entry points.
  • Removal is file moving, not package uninstallation: It does not modify package.json, registry, or plugin assembly.
  • The trash bin does not auto-clean; users must explicitly empty it.
  • If a custom skill root has a directory name other than skills, removal may be rejected due to outside-skill-roots—the judgment is based on path shape and is conservative.

Security and Permissions

The plugin reads and writes skill directories and <DSH_HOME>/.skill-mini-manager/trash with the permissions of the current dsh process. Before installation, it is recommended to review the GitHub Source Code and the MIT license to ensure it complies with your deployment strategy. The community directory SkillHub Plugin Page is an independent site and has no official affiliation with DeepSeek / High-Flyer.

Conclusion

dsh-skill-mini-manager consolidates skills scattered across multiple layers in DSH Web into a single page: summaries, sources, usage, and recoverable removal, while avoiding browser-side path submission for file deletion through strict path resolution on the host. If you primarily use the web profile to manage user-level skills, it is ready to use with a single npm install command plus a restart.

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

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

Xiaoye