DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

@lijian-ui/dsh-skill-manage

Skill Manage

DeepSeek Harness (dsh) 的技能管理插件:可在 Web UI 设置面板中列出、启用、停用、删除和添加技能。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add @lijian-ui/dsh-skill-manage@0.2.7
README兼容性版本

说明

DeepSeek Harness 的技能管理插件:可在 Web UI 设置面板中列出、启用、停用、删除和添加技能。

兼容性与来源证明

Skill Manage 以 @lijian-ui/dsh-skill-manage 发布,当前版本为 0.2.7。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/11/5

版本

0.2.7stable
2026/9/23
0.2.6stable
2026/9/23
0.2.5stable
2026/9/23
查看其余 10 个版本收起版本
0.2.4stable
2026/9/23
0.2.3stable
2026/9/23
0.2.2stable
2026/9/23
0.2.1stable
2026/9/23
0.2.0stable
2026/9/23
0.1.4stable
2026/8/27
0.1.3stable
2026/8/25
0.1.2stable
2026/8/25
0.1.1stable
2026/8/23
0.1.0stable
2026/8/23

相关插件

正在加载相关插件…

最新版
0.2.7
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
132.9 kB
文件数
8
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 1
周下载
86
最近提交
2026/9/23
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 ui-customization 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Experimental Session Titles Bundle@deepseek-ai/dsh-experimental-session-titles-bundle新的用户提示到达时刷新会话标题。Personalized Recommendations@deepseek-ai/dsh-personalized-recommendations回答下方以卡片形式提供个性化页面和内置插件推荐Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profile用于 Agent Teams Remote 和 UI 插件的实验性 Web 配置层

README

dsh-skill-manage · Skill Management Plugin

English | 中文

A skill management plugin for DeepSeek Harness (dsh): manage skills from the settings panel (list / enable / disable / delete / add a .zip), and via an agent-callable skill_manage tool that creates, modifies, and deletes skill files programmatically. Works on both the dsh web app and the official desktop app.

Features

FeatureDescription
Skill ListDisplay all skills grouped by scope (global / workspace), with search
Enable / DisableToggle switch for hot enable/disable, no restart required
Delete SkillPermanently remove skill files with a custom confirmation dialog
Add SkillPick a .zip archive and auto-extract it into the global skills directory (~/.dsh/skills)
Skill DetailsRender skill content as Markdown, display frontmatter metadata table
Agent Tool skill_manageLLM-callable tool to create / modify / delete skills via tool calls, in global or workspace scope

Background

dsh officially has no skill enable/disable control — no CLI command, no settings UI, no slash command, no config file field, no API method. The only official "control" is via frontmatter fields disable-model-invocation and user-invocable, which require manual file editing and don't truly disable the skill (it's still discovered and loaded, just hidden from certain interfaces).

This plugin implements true toggle control via a .disabled file rename mechanism: renaming SKILL.md to SKILL.md.disabled causes dsh's official provider to ignore the file (it only recognizes .md extensions), effectively "disabling" the skill.

Breaking Changes in 0.2.0

This release contains breaking changes for downstream consumers:

  • typert RPC contract aligned to the official create factory. The host/client codec now uses create: () => schema (required since dsh 0.1.6-alpha.1). It is no longer compatible with the old schema-only contract (e.g. dsh-desktop 0.5.0).
  • Dependencies moved to peerDependencies with open ranges. All @deepseek-ai/* packages (including cordis and every dsh-*) are now peerDependencies with ^ ranges, so the plugin binds to the host's dsh version at runtime instead of pinning an exact build. Exact versions are kept in devDependencies for local builds. This also satisfies the desktop plugin-graph validator, which rejects shared packages declared in dependencies.
  • Cross-platform by design. The same bundle runs in both the dsh web profile and the official desktop profile — no per-platform rewrite. (Note: plugins are installed per profile; installing into the web profile does not make them appear in the desktop profile, and vice versa — that is profile isolation, not incompatibility.)

Installation

Prerequisites

  • DeepSeek Harness (dsh) web app or official desktop app, dsh >= 0.1.6-alpha.1
  • Node.js >= 18 (local development only)

Install via dsh

dsh plugin --profile web add @lijian-ui/dsh-skill-manage

--profile is required and selects the target profile (web or desktop). Plugins are isolated per profile: installing into web will not make it appear in desktop, and vice versa. Restart the app after installation.

Local Development

# Enter the plugin directory
cd extensions/dsh-skill-manage

# Install dependencies
npm install

# Build
npm run build

# Watch mode
npm run watch

# Type check
npm run typecheck

Build output goes to lib/ and is automatically synced to node_modules/@lijian-ui/dsh-skill-manage via junction. Restart the app after each build to load the new bundle.

Usage

  1. Open dsh (web or desktop)
  2. Navigate to Settings → Skill Manage
  3. In the skill list:
    • Click the toggle switch to enable/disable a skill
    • Click the delete button to permanently remove a skill
    • Click a skill card to view details
    • Use the search box to filter skills
    • Click "Add skill" and pick a .zip archive to import into the global skills directory

Agent Tool skill_manage

The plugin also registers an agent-callable tool named skill_manage, so the LLM can create, modify, or delete skills during a session.

ParameterTypeRequiredDescription
actioncreate | modify | deleteyesOperation to perform
namestringyesSkill name (lowercase letters, digits, hyphens; e.g. my-skill)
descriptionstringcreate onlySkill description
when_to_usestringnoWhen the skill should trigger
contentstringcreate onlySkill body (Markdown)
scopeglobal | workspaceno (default global)Where to write: global → ~/.dsh/skills; workspace → <project>/.dsh/skills
  • delete reuses the same file logic as the GUI delete.
  • workspace scope resolves the project root by walking up from the session cwd to the nearest directory containing .git.
  • All writes land in the dsh-main skills directory (~/.dsh/skills or <project>/.dsh/skills), which is exactly what dsh scans, so a newly created skill is immediately discoverable.

Skill File Convention

StateDirectory BundleFlat File
Enabled<name>/SKILL.md<name>.md
Disabled<name>/SKILL.md.disabled<name>.md.disabled

Skill Scopes

ScopePathDescription
Global dsh~/.dsh/skills/User global skills
Global agents~/.agents/skills/Agents global skills
Workspace<workspace>/.dsh/skills/Project-level skills
BundledDSH_BUNDLED_SKILL_DIRDeployment-bundled, read-only

Technical Architecture

Directory Structure

extensions/dsh-skill-manage/
├── src/
│   ├── index.ts                    # Host entry (inject: typert, settings, skills, sessions, agents, tools)
│   ├── remote.ts                   # Host RPC methods (list/setEnabled/deleteSkill/importZip) + skill_manage tool registration
│   ├── skill-files.ts              # File conventions (DISABLED_SUFFIX, collectSkillEntries, frontmatter validation)
│   └── client/
│       ├── index.ts                # Client entry (SECTION_ID, RPC registration, inject)
│       ├── SkillManageSection.tsx  # Main settings component (card list + toggle + detail dialog)
│       └── client-i18n.ts         # Client i18n (zh/en)
├── lib/                            # Build output
├── docs/
│   └── troubleshooting-and-bugs.md # Troubleshooting & official bug analysis
├── package.json
└── tsdown.config.ts

Host Side (src/remote.ts)

Provides the following RPC methods:

MethodFunction
list(sessionId)List all skills with enabled status
content(name, sessionId)Get full skill content
setEnabled(name, sessionId, enabled)Enable/disable skill (file rename)
deleteSkill(name, sessionId)Delete skill
importZip(sessionId, payload)Extract a .zip archive and install the skill into the global skills dir (<DSH_HOME>/skills, default ~/.dsh/skills)
workspaces()List available workspaces
skill_manage (agent tool)LLM-callable: create / modify / delete a skill via tool calls (scope: global → ~/.dsh/skills, workspace → <project>/.dsh/skills)

Client Side (src/client/)

  • index.ts: Registers the settings section via ctx.slots.inject
  • SkillManageSection.tsx: React component rendering skill cards, toggle switches, detail dialog, delete confirmation, and migration dialog
  • client-i18n.ts: Chinese/English translations

Toggle Mechanism

User clicks toggle
  → Client optimistically updates UI (immediate switch state change)
  → RPC call to host setEnabled
  → Host: rename(SKILL.md ↔ SKILL.md.disabled)
  → dsh chokidar watcher detects file change
  → Registry cache invalidated (revision++)
  → After 800ms delay, ctx.emit('connection/reset')
  → Client fetches Map cleared
  → Next / completion re-queries → gets latest skill list

Known Issues & Solutions

Slash command completion not refreshing after enabling a skill

Issue: After enabling a skill, the / slash command completion menu in the chat doesn't show the newly enabled skill.

Root Cause: dsh's official dsh-client-ui-skill package is missing a subscription to the skills/change event, causing the client-side skill list cache to never be invalidated when skill files change.

Our Solution: In reloadAfterHot, after an 800ms delay, call ctx.emit('connection/reset') to silently refresh all module caches. Since the user is in the settings panel, they won't perceive the cache refresh in the chat interface.

See Troubleshooting & Bug Analysis for details.

Internationalization

Supports Chinese and English. Translation files are in src/client/client-i18n.ts. Language follows the dsh desktop language setting.

Tech Stack

  • Language: TypeScript
  • Build: tsdown (rolldown)
  • Frontend: React 18
  • Markdown Rendering: MarkdownText component from @deepseek-ai/dsh-client-ui-primitives
  • YAML Parsing: yaml (frontmatter parsing)
  • File Watching: dsh's official chokidar watcher (auto-detects skill file changes)
  • Runtime dependencies: fflate, yaml, zod
  • Host dependencies (peer): all @deepseek-ai/* — cordis ^4.0.0, every dsh-* ^0.1.0, dsh-tools ^0.1.0 — open ranges, resolved to the host dsh version at runtime

License

MIT

Related Links

  • Troubleshooting & Bug Analysis
  • DeepSeek Harness (dsh)