dsh-skill-manager
其他 活跃维护

dsh-skill-manager

LongSir0419/dsh-skill-manager

可在Web设置界面管理所有用户级Skill,支持查看、启停、编辑、新增、删除、改名全操作,停用的Skill会自动从模型目录剔除不再加载。

1
Stars 标星
0
Forks 分支
1
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
108 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:LongSir0419/dsh-skill-manager
git clone https://github.com/LongSir0419/dsh-skill-manager.git
git clone git@github.com:LongSir0419/dsh-skill-manager.git
README.md main

dsh-skill-manager

English | 中文

A Skill management plugin for DeepSeek Harness (DSH) — manage all user-level Skills from the Web settings: view, enable/disable, edit, add, delete and rename. Disabled Skills are excluded from the model catalog (no longer loaded).

npm
License: MIT

preview

Features

  • Skill list: go to Settings → "Skill Manager", lists all Skills under $DSH_HOME/skills (name + description)
  • Click to expand / collapse: click anywhere on a row to expand details (Skill name + SKILL.md content), click again to collapse (input fields and buttons excluded)
  • Enable / disable: one toggle per Skill, takes effect immediately, updates state locally without flicker
  • Edit / rename: inline editing of name and SKILL.md content; renaming syncs the directory name
  • Add / delete: inline form to create new Skills; delete has a confirmation step
  • Disabled = not loaded: disabling adds disable-model-invocation: true to the SKILL.md frontmatter; DSH's skill-filesystem watcher picks it up and immediately excludes the Skill from the model catalog — no restart needed

Architecture

A single-package, two-half DSH bundle:

Half Entry Role
Host lib/index.js skillManager Remote service: skillList / skillSet / skillGet / skillCreate / skillUpdate / skillDelete / skillRename, edits SKILL.md frontmatter
Client lib/client.js "Skill Manager" section in the settings panel (dsh.client bundle)

Installation

dsh plugin --profile web add @wanghailong0419/dsh-skill-manager
dsh web   # restart to take effect

Local development / unpublished

dsh plugin --profile web add file:/path/to/dsh-skill-manager
dsh web

Upgrade / Remove

dsh plugin --profile web update @wanghailong0419/dsh-skill-manager
dsh plugin --profile web remove @wanghailong0419/dsh-skill-manager

Usage

  1. Start dsh web, open Settings → Skill Manager
  2. The list shows each Skill: status dot (green = enabled / gray = disabled), name, description
  3. Toggle enable/disable with the switch on the right
  4. Click a row to expand details: view Skill name and SKILL.md content, edit or delete
  5. Add: click "Add Skill", fill in the name and content inline

Disable effect: adds disable-model-invocation: true to the SKILL.md frontmatter. DSH's skill-filesystem provider excludes the Skill from the model catalog and loader (watcher auto-refreshes, no restart needed).

How It Works

  • skillList: scans $DSH_HOME/skills/<name>/SKILL.md, parses description and disable-model-invocation from frontmatter
  • skillGet: reads the full SKILL.md content of a single Skill
  • skillSet: text-level frontmatter editing (preserves existing fields and formatting such as name/description/origin), adds/removes disable-model-invocation: true
  • skillCreate / skillUpdate: creates a new SKILL.md or replaces the full content
  • skillRename: renames the Skill directory and syncs the name field in frontmatter
  • skillDelete: deletes the entire Skill directory
  • Idempotent: repeated toggles never double-modify

License

MIT