Preface¶
In DeepSeek Harness (DSH), agent skills are often scattered across .dsh/skills and .agents/skills in project directories, as well as global skill paths in the user directory. Confirming whether a skill is active, which layer it comes from, or whether it can be safely modified usually requires manually browsing directories, editing SKILL.md, or relying on the command line. The dsh-skill-manager introduced below is a client plugin provided by community maintainer Nay-1. It adds a “Skill Management” section to the left side of the DSH Settings Panel (positioned below “Agent Presets”), listing local skills grouped by location or source, and supports searching, enabling/disabling, locating, previewing, and deleting (within the scope of permitted permissions).
What is this¶
- Repository: Nay-1/dsh-skill-manager
- Directory Page: skillhub.cn plugin entry
- Category: Client (
platform: web, injects@deepseek-ai/dsh-client-ui-slots) - Current Version (package.json): 1.2.0, MIT License
The plugin consists of a host half (lib/index.js: scanning, HTTP API, file operations) and a client half (lib/client.js: settings page UI), integrated into the DSH bundle via cordis.patch.yml. It does not replace the built-in DSH skill provider; instead, it merges “skills recognized in the registry” and “skills scanned on disk” for display at the UI and local API layers, facilitating daily maintenance.
What the UI in Settings looks like¶
After installation and restarting DSH, the settings navigation is roughly as follows:
Settings
├── General Settings
├── Model
├── Built-in Plugins
├── Agent Presets
└── Skill Management ← This plugin, order 30
The top of the page features a search box and a refresh button; a summary line displays the total number of skills, the number of disabled skills, and the number of scanned root directories. The list is grouped by “Location”, with an interaction style aligned with the built-in “Built-in Plugins” page: each group is collapsed by default, clicking the entire row expands it; performing a search automatically expands all groups.
Key grouping rules:
- Project Level:
.dsh/skillsand.agents/skillsfrom the same project are merged into one group. The title is the shortened project path (e.g.,~\Desktop\agent-test), making it easy to distinguish projects with the same name. - User Level & Built-in: Ordered by source: User
.dsh→ User.agents→ Package Bundled → Runtime.
Each card has a uniform height (description is fixed to two lines, truncated if exceeded, hover to see full text), displaying the name, source tag, description, shortened SKILL.md path (home directory displayed as ~), and actions appearing based on permissions.
| Action | Appearance Condition | Function |
|---|---|---|
| Enable / Disable | Skills writable on filesystem | Prioritizes writing frontmatter, does not rename files |
| Open Directory | Has disk or registry resourceBase path |
Locates in File Explorer (Windows; non-Windows interfaces return revealed: false) |
| View / Collapse | Skills with a path | In-place preview of SKILL.md content (does not render Markdown) |
| Delete | Skills writable on filesystem | Deletes the entire skill, inline secondary confirmation, irreversible |
Skills provided by bundled and runtime providers are read-only: they can be located and previewed, but have no enable/disable or delete actions (consistent with host-side 403 errors).
How it recognizes skills and where the list comes from¶
The scanning rules align with @deepseek-ai/dsh-skill-filesystem. Common root directories and display weights are as follows (weights are only used for sorting within this plugin and are not related to the SkillSummary public contract which has no rank field):
| Root Directory | source | Display Weight |
|---|---|---|
<project>/.dsh/skills |
project-dsh |
100 |
<project>/.agents/skills |
project-agents |
200 |
$DSH_HOME/skills (default ~/.dsh/skills) |
user-dsh |
400 |
$DSH_AGENTS_HOME/skills (default ~/.agents/skills) |
user-agents |
500 |
$DSH_BUNDLED_SKILL_DIR |
bundled |
600 |
Project roots come from the DSH process cwd and paths registered in the workspace ledger (ctx.workspaceRegistry). Under each root, it identifies directory packages <name>/SKILL.md and flat files <name>.md; entries starting with . (including .system) are skipped.
The list is merged from two sources:
ctx.skills.list()— Skills in the DSH registry (including package bundled and runtime providers);- Disk Scan — File location and writability.
Merging claims identity strictly by path to avoid incorrectly associating entries still “alive” in the registry with disabled files of the same name on disk. If the registry is unavailable, the page will indicate that only disk scan results are currently available. The README notes: In the tested environment version 0.2.0-rc.2, ctx.skills.list() in the host context may only return package bundled and runtime providers. Skills from the filesystem provider appearing on the page come from the disk scan, which is expected behavior; diagnostics can use GET /skill-manager/api/registry.
Enabling and Disabling (Since 1.2.0)¶
Disabling by default no longer involves renaming files. The plugin writes DSH native switches to the SKILL.md frontmatter:
---
name: my-skill
description: ...
disable-model-invocation: true # Model catalog and loading path are unreachable
user-invocable: false # Slash command channel is also filtered
---
When enabling, it writes back false / true (explicit, idempotent). Writing uses a temporary file in the same directory followed by rename, preserving BOM and CRLF/LF. Naked files without frontmatter will throw no-frontmatter and fall back to the historical renaming method; SKILL.md.disabled / <name>.md.disabled will still display as disabled, and the filename can be restored when enabling.
Note: Marking as disabled does not release the name from the registry; skills already loaded in a running session will only reflect directory changes after the provider invalidates and rescans; the bundled root is always read-only (403).
HTTP API (Local)¶
All endpoints are mounted at /skill-manager/api for use by the settings page and local scripts:
| Method | Path | Description |
|---|---|---|
| GET | /health |
Self-check for availability of home, agentsHome, bundledDir, and registry |
| GET | /list |
Full list (concurrent registry query, overall 8-second deadline) |
| GET | /registry |
Diagnostics: Raw return of ctx.skills.list() expanded by cwd |
| POST | /toggle |
{ target } Enable/Disable |
| POST | /delete |
{ target } Delete |
| POST | /read |
{ target } Return content (>512 KB rejected) |
| POST | /reveal |
{ target } Locate in File Explorer (Windows) |
Target paths for file operations are verified via re-scanning to prohibit path traversal; write interfaces have additional restrictions for non-JSON or cross-site Origin requests.
Installation and Activation¶
The plugin is installed into a profile as a local file: dependency (The README example uses Windows PowerShell; desktop is the profile name, please modify according to your environment). The path should not contain spaces.
First, obtain the source code locally, then execute:
git clone https://github.com/Nay-1/dsh-skill-manager.git C:/dsh-plugins/dsh-skill-manager
dsh plugin --profile desktop add "file:C:/dsh-plugins/dsh-skill-manager"
After installation, confirm that the profile’s package.json contains dsh-skill-manager in dsh.profile.bundles (Only when included in bundles will the insertion from cordis.patch.yml take effect; dsh plugin add usually writes this, otherwise, you need to manually add a line).
Host and client are loaded only once when DSH starts; there is no hot reload. You need to restart the desktop client after installation or source code changes.
If you modify the source code in the cloned directory: pnpm’s file: dependency is a copy, not a symlink. Running add again will often show Already up to date and won’t update the disk copy. You need to remove first, then add:
dsh plugin --profile desktop remove dsh-skill-manager
dsh plugin --profile desktop add "file:C:/dsh-plugins/dsh-skill-manager"
Uninstallation:
dsh plugin --profile desktop remove dsh-skill-manager
And delete the entry with the same name from dsh.profile.bundles.
Runtime environment requirements (package.json): Node ^22.15.0 || >=24.0.0, peer cordis >=4.0.0-rc <5.
Typical Usage¶
- Open DSH Settings → Skill Management, check the summary line and grouped list, and confirm whether project-level and user-level skills are in their expected locations.
- Use the search box to find by name or path fragment; groups will automatically expand after searching.
- Click Disable for a writable skill, then verify in the conversation that the model catalog and
skilltool no longer load that skill (depends on frontmatter policy). - Use View to preview
SKILL.mdwhen content needs checking; use Open Directory to select the file in File Explorer on Windows. - When troubleshooting “Registry vs. Disk inconsistency,” you can request local
GET /skill-manager/api/registryor/list(requires DSH to have loaded the plugin and accessed locally).
When developing the plugin itself, the repository provides:
node test-host.mjs # Host half self-test (90 items)
node test-client.mjs # Client half self-test (67 items)
Use Cases and Precautions¶
Who it is for: DSH users who frequently switch between multiple projects and user-level directories, need to uniformly view skill sources and disable status, and do not want to manually edit frontmatter or rename files.
Please be aware before use:
- The plugin reads and writes local files with current DSH process permissions; before installation, you should read the source code and MIT license to confirm trust in the maintainer and the scope of operations.
- Project roots are estimated: The host plugin cannot grasp the full semantics of the “current session working directory,” relying only on cwd and the workspace ledger. Project-level lists may contain extra or missing entries.
- Deletion is irreversible; there is no recycle bin; preview does not render Markdown.
- Symbolic links are not followed; skill entries in link form will be skipped.
- The DSH community directory (skillhub.cn) is an independent site with no official affiliation with DeepSeek / High-Flyer; the DSH ecosystem emphasizes “everything is a plugin,” and this plugin is a community contribution, not a built-in component.
Conclusion¶
dsh-skill-manager consolidates the viewing and daily maintenance of agent skills into the settings panel: clear grouping, enable/disable aligned with DSH frontmatter semantics, and distinct boundaries between read-only and writable sources. If you need to centrally manage local skills on the desktop, you can install it into your profile using the file: method described in the README and restart DSH.
- Directory Page: https://www.skillhub.cn/plugins/Nay-1/dsh-skill-manager
- GitHub: https://github.com/Nay-1/dsh-skill-manager