dshbase

插件目录 / Developer / dsh-skill-switch

dsh-skill-switch

未验证 hzthzt

✓ 持续维护 基于 11 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

0Stars
0Forks
0未关闭 issue
语言
2026-08-23最近推送
跨平台平台

功能简介

Windows Junction-based global Skill switcher for DeepSeek Harness Web.

我们的评价
未验证 — 尚未实测

Windows Junction-based global Skill switcher for DeepSeek Harness Web. 尚未验证——请自行安装测试。

「未验证」表示我们的自动化 CI 尚未安装过该插件。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

你是插件作者? 想拿到「已验证」标签——提交你自己的验证证据(截图、日志或短视频),我们审核通过后即改为「已验证」。

提交验证证据 ↗

README

dsh-skill-switch

English | 简体中文

Windows-only Skill management for DeepSeek Harness Web. The plugin scans one central directory and selectively exposes user-global Skills in $DSH_HOME/skills through directory Junctions.

The default central directory is ~/.cc-switch/skills. Version 0.1.0 targets DSH dsh-v0.1.1-rc.2 at commit b150a551b8d465e31e418e1b2eaf5e79bbb7d28e.

Scope

  • Manages user-global DSH Skills only.
  • Accepts direct <directory>/SKILL.md directory bundles and identifies them by frontmatter name.
  • Creates and removes Windows Junctions only.
  • Never installs, updates, edits, or deletes central Skills.
  • Never adopts existing files, directories, or links in $DSH_HOME/skills.
  • Does not manage project Skills or other agents.

Install

Install a reviewed commit into a DSH profile:

dsh plugin --profile <profile> add github:hzthzt/dsh-skill-switch#<commit-sha>
dsh --profile <profile> --dump-config
dsh --profile <profile> web

The repository commits lib/, so Git installation does not need to run a build script. A local tarball can be installed instead:

pnpm pack
dsh plugin --profile <profile> add ./dsh-skill-switch-0.1.0.tgz

Open DSH Settings and select Skills.

Skill format

The central directory is scanned one level deep. Source directory links and linked SKILL.md files are ignored. A source directory may use any name; the SKILL.md frontmatter name is the canonical Skill identity and must be kebab-case:

central-directory/
`-- example-skill-main/
    `-- SKILL.md
---
name: example-skill
description: A non-empty description.
---

Enabling this example creates $DSH_HOME/skills/example-skill, which points to central-directory/example-skill-main. If multiple valid source directories declare the same frontmatter name, every duplicate is reported as invalid until the ambiguity is removed.

The configured central path must be a Windows absolute path or start with ~. Environment-variable expressions such as %USERPROFILE% are not expanded. The central directory and $DSH_HOME/skills cannot contain one another.

States

State Meaning Action
available Valid central Skill with no target entry Can be enabled
enabled Junction is owned and verified by this plugin Can be disabled
conflict An external target already uses the same name Read-only
invalid The Skill file/frontmatter is invalid, or multiple sources declare the same name Read-only unless already managed
broken The managed source disappeared or no longer declares the recorded Skill Can be disabled safely

Existing ordinary directories such as ~/.dsh/skills/nai-fadian remain externally managed. A same-named central Skill is reported as a conflict and its toggle is disabled.

Safety model

Ownership records are stored in $DSH_HOME/skill-switch/manifest.json. The manifest is versioned, strictly validated, and replaced atomically. Every record includes the source and filesystem identity of the Junction created by this plugin.

Before removal, the plugin validates the Skill name, recomputes the target under $DSH_HOME/skills, verifies that the target is still a link with the recorded identity, and verifies its destination. A missing target is pruned from the manifest. A replaced target loses ownership and is displayed as external. A managed Skill is matched by both its frontmatter name and recorded source path, so moving a source requires disabling it before the new path can be enabled. Source Skills are never removed.

All scans and mutations share one serial queue. Changing the central directory is refused while any verified managed Junction remains; use Disable all first. On non-Windows hosts, the Remote returns unsupported-platform and performs no filesystem mutation.

Development

Use Node.js 24 and [email protected]:

pnpm install --frozen-lockfile
pnpm typecheck
pnpm test
pnpm build
git diff --exit-code -- lib
pnpm pack

The build runs the pinned Typert generator and commits lib/ artifacts intentionally. Windows tests use real Junctions; the Ubuntu test job verifies build behavior and the explicit unsupported-platform result.

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-skill-switch」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:hzthzt/dsh-skill-switch

Headless(CLI)profile:

dsh plugin --profile headless add github:hzthzt/dsh-skill-switch

实测报告

尚未 L3 验证——若已跑过,见下方失败备注。

状态:pending · 最近测试 2026-08-27
备注:验证: runtime-fail 浏览全部待验证失败 →
安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7795 个插件 →