victor10035445/dsh-v-skill-links

Plugin插件 Native原生 ⭐ 2 MIT Prompts & Skills提示词与技能

let dsh use your skills.quick command and diy buttons.

Project Overview项目介绍

dsh-v-skill-links is a native incremental patch plugin for DeepSeek Harness Web (dsh web); it maps any local directory's first-level subdirectories that contain a SKILL.md file into a new "Mapped Skills" group inside the chat input's / slash menu, with no npm dependencies and no build step. Installation is done through the harness CLI via dsh plugin --profile web add "github:victor10035445/dsh-v-skill-links", or alternatively via a link: path to a local clone, or via npm pack followed by dsh plugin --profile web add <absolute-tgz-path>, and the plugin requires Harness 0.1.2-rc.1 or newer because it relies on snapshot-store and UI primitive seed tokens exposed by the web shell; configuration lives under $DSH_HOME\profiles\web\cordis.patch.yml under the id: dsh-v-skill-links patch entry, accepting absolute, ~, and relative (relative-to-dsh-startup-directory) paths in directories and a buttons array.

The plugin exposes three entry points beyond the core mapper: mapped skills are invoked through / then a name token (the matching SKILL.md body is injected as a <skill_content> block at the agent/pre-step hook without entering the model's <available_skills> catalog), custom instructions appear under a "Custom Instructions" group and fire the prompt as an immediate user message on selection, and quick buttons render in a grid below the composer where clicks append the prompt to the input (optionally with autoSend, and optionally bound to a {provider, model, reasoningEffort?} triple that switches the session model in place, with graceful fallback when the remote catalog is unreachable). A settings page at Settings → Skill Management offers three tabs (Skill Mapping, Custom Instructions, Quick Buttons) sharing a single draft buffer; saving writes through to the patch layer with hot reload, scanning is first-level-subdirectory only, hidden dot-directories are skipped, case-insensitive substring matching with prefix-priority ranking is used, and stable .v-qb-grid, .v-qb-btn, data-v-button CSS hooks respect the official theme tokens.

This is an additive, non-replacing plugin — it does not disable or replace any official plugin and its mapped skills never appear in the model's system-prompt skill list. Limitations documented in the README include: command names take precedence over skill tokens, name collisions with native skills produce parallel injections, custom instructions require an active agent (sub-agents not yet resumed return 404), pre-step injection is not replayed when a session is restored, only first-level subdirectories are indexed, and the button grid is global yet session-scoped (so sub-agent composers also render it, and blocking composers do not prevent append). The repository is MIT-licensed, ships nine smoke tests under pnpm test, and first-run requires restarting dsh web and refreshing the page so the loader entry and dsh.client bundle wiring take effect.

dsh-v-skill-links 是面向 DeepSeek Harness Web(dsh web)的原生增量插件,核心能力是把任意本地目录里的一级子目录(含 SKILL.md)映射成 / 菜单「映射技能」分组中的可引用条目。安装通过 dsh plugin --profile web add "github:victor10035445/dsh-v-skill-links"(或本地 link、tgz)完成,依赖 Harness 0.1.2-rc.1 及以上提供的快照 store 与 UI 原语种子。配置文件为 $DSH_HOME\profiles\web\cordis.patch.yml 的 directories、buttons,同时支持设置 → 技能管理 的三标签可视化页。

典型工作流是用户在会话输入框敲 /,从「映射技能 / 自定义指令 / 快捷按钮」三处入口选择条目;映射技能和 /名字 令牌在发送时把对应 SKILL.md 全文以 <skill_content> 块注入当前步,注入不进 <available_skills>,不占系统提示词。除技能映射外,插件还提供「自定义指令」(选中即以用户消息直发,含 /名字 令牌同样连带 SKILL.md 全文)与「快捷按钮」(输入框下方网格,点击追加 Prompt,可勾选 autoSend,可绑定 provider/model/reasoningEffort),三入口形成共性底座:多目录(绝对 / ~ / 相对 dsh 启动目录、去重)、一级子目录扫描、大小写不敏感子串模糊匹配(前缀优先)、热重载(改 SKILL.md 即生效、配置保存即热生效)、明暗主题跟随的官方 token 配色与 .v-qb-* CSS 钩子。

零 npm 依赖、零构建步骤;架构上分两个入口(宿主 lib/index.js 负责配置归一化、TTL 缓存、/api/v-skill-links 路由、agent/pre-step 注入;客户端 lib/client.js 负责 / 触发源、按钮网格与「技能管理」设置页)和一份 package.json 声明(dsh.bundle.patch loader + dsh.client 启动图)。该插件为纯增量、不替换或禁用任何官方插件,仅当用户显式 /名字 时才注入;MIT 协议,但首次使用前需重启 dsh web 并刷新页面,命令/原生技能重名时按既定裁决优先级处理,扫描仅限一级子目录、更深层目录不被索引。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add "github:victor10035445/dsh-v-skill-links"

把 victor10035445/dsh-v-skill-links 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-v-skill-links · V 技能映射

简体中文 | English

DeepSeek Harness Web 的 「/」菜单映射技能 插件:把任意本地目录里的 SKILL.md 变成 / 菜单里可直接引用的技能。

工作方式:在配置里声明若干技能目录 → 每个目录的一级子目录(含 SKILL.md)成为一条映射技能 → 会话输入框按 /,在「映射技能」分组选中(或手打 /名字 )→ 发送时宿主读取该技能的 SKILL.md 全文,以与原生技能一致的 <skill_content> 块注入本步。

纯增量插件:不替换、不禁用任何官方插件;映射技能不进模型的 <available_skills> 目录(不占系统提示词),仅由用户显式引用。

功能

三大能力 + 共性底座:

能力 入口 行为
映射技能 / 菜单「映射技能」分组 选中落入 /名字 ,发送时注入对应 SKILL.md 全文
自定义指令 / 菜单「自定义指令」分组 选中立即把 Prompt 作为用户消息发送进当前会话
快捷按钮 输入框下方按钮网格 点击把 Prompt 追加进输入框(可继续编辑);可选自动发送(等同回车);可绑定模型与推理等级

共性:

  • 多目录:config.directories 接受任意多个目录,支持绝对路径、~(用户主目录)、相对路径(dsh 启动目录),自动去重;
  • 扫描规则:只扫配置目录的一级子目录,含 SKILL.md(大小写不敏感)即收录,. 开头的隐藏目录跳过;技能名默认取子目录名,frontmatter 的 name: / description: 优先;重名技能按配置顺序先到先得;
  • 模糊匹配:/ 子串匹配(大小写不敏感),前缀命中优先排序;
  • 可视化设置页:设置 → 技能管理,三个标签页(技能映射 / 自定义指令 / 快捷功能)可视化增删改,保存写入用户设置、立即热生效;
  • 热与新鲜:改完 SKILL.md 立刻生效(注入时实时读文件);配置保存即热生效,无需重启;
  • 按钮可美化:按钮网格暴露 .v-qb-grid / .v-qb-btn / data-v-button="<名称>" 稳定 CSS 钩子,配色走官方 token、明暗主题自动跟随。

安装

环境要求:Harness(dsh)0.1.2-rc.1 及以上。客户端依赖的快照 store 与 UI 原语由 web shell 静态种子表提供,更早版本没有该种子词,插件将无法加载。

方式一 · GitHub 地址直装(推荐)(零构建、无安装期脚本):

dsh plugin --profile web add "github:victor10035445/dsh-v-skill-links"

锁定版本(后续推送不会悄悄改变实际运行的代码):

dsh plugin --profile web add "github:victor10035445/dsh-v-skill-links#<commit-sha>"

方式二 · 本地 clone + link 直连(适合开发调试,改动后重启 dsh web 生效):

git clone https://github.com/victor10035445/dsh-v-skill-links.git
dsh plugin --profile web add "link:<克隆路径>"

方式三 · tgz 打包安装:

npm pack                                # 产出 dsh-v-skill-links-0.4.1.tgz
dsh plugin --profile web add "<tgz 的绝对路径>"

装完重启 dsh web,刷新页面生效。

配置

编辑 $DSH_HOME\profiles\web\cordis.patch.yml(用户补丁层,追加条目):

- id: dsh-v-skill-links
  config:
    directories:
      - D:/skills/my-skills         # 绝对路径
      - ~/my-skills                 # ~ 展开为用户主目录
      - ./skills                    # 相对 dsh 启动目录
    buttons:                        # 快捷按钮(可选,设置页可覆盖)
      - name: 新建
        prompt: 使用 xxx 技能做 xxx 事
        autoSend: true              # 填入后立即发送
      - name: 审查
        prompt: 请使用 /code-review 审查当前改动
        model:                      # 可选:绑定模型(缺省 = 跟随会话当前模型)
          provider: deepseek-official
          model: deepseek-v4-pro
          reasoningEffort: max      # 可选推理等级;不写 = provider/模型默认

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-seelog 下一个 Next dsh-report-studio →