返回目录
其他 待识别

dsh-skills-manager

MichengAI/dsh-skills-manager

DSH Skills Manager 基于 DeepSeek Harness 的Skills管理插件

Stars
5
Forks
1
Issues
0
更新
今天

PROJECT TOPICS

项目标签

PROJECT README

README

DSH Skills Manager

DSH Skills Manager

A DeepSeek Harness Web plugin for safely managing local skills and viewing shared Agent skills.

Report an issue · View on npm · 简体中文

Apache License 2.0 npm package DSH Web Plugin Node.js 20 or later

DSH Skills Manager is a community-maintained plugin, not an official DeepSeek AI product.

Skills Manager settings page

The screenshot shows DSH-local skills with enable, disable, and delete actions. Shared Agent skills stay read-only.

Features

  • Shows local $DSH_HOME\skills and shared $DSH_AGENTS_HOME\skills in one Settings page.
  • Enables, disables, uploads, replaces, and deletes DSH-local skills.
  • Keeps shared Agent skills strictly read-only and never changes their global metadata.
  • Imports a plugin directory containing SKILL.md through the native file picker and confirms every name collision.
  • Rejects traversal names, imports from the DSH skills directory itself, and symbolic links.

Prerequisites

  • A working DeepSeek Harness Web installation with dsh available in PowerShell.
  • Examples use the web profile; replace it with the target profile.
  • Source installation and development require Node.js 20+. npm installation does not require running npm install in an arbitrary directory.

Installation

Install from npm

Run this from any PowerShell directory. Install into the DSH profile through dsh plugin:

[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
$OutputEncoding = [System.Text.Encoding]::UTF8
dsh plugin --profile web add @michengai/dsh-skills-manager
dsh --profile web --dump-config

Restart DSH Web or reload the active Web profile. If a package mirror is behind, append --registry=https://registry.npmjs.org/.

Install from source

Use this for debugging or unpublished changes. The cloned directory becomes the plugin source path:

[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
$OutputEncoding = [System.Text.Encoding]::UTF8
Set-Location D:\Repository\deepseek-harness-plugin
git clone https://github.com/MichengAI/dsh-skills-manager.git
Set-Location .\dsh-skills-manager
npm install
npm test
dsh plugin --profile web add .
dsh --profile web --dump-config

Restart DSH Web or reload the active Web profile. Local installation reads and applies cordis.patch.yml; do not copy lib files manually.

Usage

Open Settings → Skills, then use the panel as follows:

Goal Action Scope
Inspect a skill Review its name, form, description, and invocation state. DSH and shared Agent skills
Enable or disable Select Enable or Disable; this controls model invocation and the / command. DSH-local skills only
Upload a plugin Select Upload Plugin, then choose the plugin directory’s SKILL.md. Its scripts and resources are copied too. DSH-local skills only
Choose the directory If the selected file has no usable path, choose the directory containing SKILL.md. DSH-local skills only
Replace or delete Confirm a name collision, or select Delete for an unneeded local skill. DSH-local skills only
Inspect shared skills Review shared Agent skills without changing their metadata. Read-only

Shared Agent skills remain visible when no local skills are installed

Shared Agent skills stay visible when the DSH-local group is empty.

Upload plugin dialog

The compact upload dialog accepts a plugin SKILL.md, a plugin directory, or drag-and-drop.

Delete plugin confirmation

Deleting a DSH-local skill requires confirmation and cannot be undone.

Chat slash command after enabling a local skill

Enabling a DSH-local skill restores its / command in the chat composer.

Escape closes only the frontmost upload or confirmation dialog and leaves Settings open.

Permissions and safety limits

Directory View Enable or disable Upload or replace Delete
$DSH_HOME\skills Yes Yes Yes Yes
$DSH_AGENTS_HOME\skills Yes No No No
  • Enable, disable, and delete accept only one ordinary skill-name path segment.
  • Replacements copy to a temporary sibling path first and keep the original until that succeeds.
  • Write endpoints require JSON and the DSH client request marker, so cross-site browser requests cannot trigger local file operations.

Secondary development

This repository has no src directory. lib is directly maintained runtime source, which is its current layout rather than the recommended layout for new plugins. New plugins should prefer src built to lib.

  • lib\index.js: host service and local skill file operations.
  • lib\client.js: Settings page, upload, and confirmation interactions.
  • test\core-test.mjs: file-operation, permission, and import boundary tests.
  • test\locale-test.mjs: UI locale tests.

After changing the runtime source, test, inspect package contents, and install from the local directory:

[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
$OutputEncoding = [System.Text.Encoding]::UTF8
npm test
npm run pack:check
dsh plugin --profile web add .

Preserve path validation, temporary-copy replacement, and shared-skill read-only behavior when changing file-mutation code.

Validation

[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
$OutputEncoding = [System.Text.Encoding]::UTF8
npm test
npm run pack:check

prepublishOnly runs the core tests before publishing.

Documentation and license

Project status, usage boundaries, architecture, and iteration records begin at the documentation entry point. The detailed operational guide is docs\02-产品与业务\01-使用说明.md.

Licensed under Apache License 2.0.

CLASSIFICATION EVIDENCE

分类依据

项目类型待识别
功能分类其他
规则置信度

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。