Moximxxx/dsh-find-skill

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

dsh 插件,桥接 vercel-labs/skills 生态系统:面向临时/项目/全局范围的 LLM 驱动技能搜索、安装和生命周期管理。

Project Overview项目介绍

This is a native plugin built exclusively for DeepSeek Harness (DSH) that integrates the open Vercel agent skill ecosystem into DSH. The plugin lets the LLM autonomously decide when to load new skills: when a user request exceeds the capability of existing tools and already loaded skills, the LLM searches the public skill registry via the official skills.sh API. It then prompts the user to select a skill and an installation scope (temporary, project, or global), before installing the selected skill into an isolated directory that does not conflict with DSH's native user-created skills.

The plugin ships with four core features: skill search, skill installation, skill removal, and a user-facing /skill CLI command with subcommands for update, sync, and list. Temporary skills are only available to the current active session and are automatically rolled back and cleaned up when the session or agent is terminated. Project and global skills persist across all relevant sessions, and the plugin also includes a dedicated web UI card for read-only display of skill operation status during tool calls.

You can install the plugin by cloning the source repository from GitHub for local development, or install it directly from npm via the DSH CLI. All configuration fields are optional, with sensible default values that work for most use cases, so you only need to adjust settings if you have custom requirements. The first installation may take up to a minute because it pulls the latest Vercel skills package from npm, and the current version is tested only for DSH @deepseek-ai/*@0.1.0-rc.6 with several documented known limitations.

这是一个专为DeepSeek Harness(DSH)开发的原生插件,用于将Vercel开放的agent技能生态接入DSH。它支持LLM自动判断何时需要加载额外技能,当现有工具和已加载技能无法满足用户需求时,可自动搜索公开技能 registry,询问用户选择后将选中技能安装到独立隔离的作用域,完全不与DSH原生手写技能产生冲突。

该插件提供技能搜索、安装、移除三大核心工具能力,还面向用户提供了/skill CLI命令,支持查找、更新、同步、移除、列出技能。临时技能仅对当前会话可见,会话结束后自动清理;项目和全局技能则可持久化,跨会话共享。它还内置了专用的Web UI卡片,用于展示技能操作的只读状态。

安装方式支持从源码克隆开发调试,也可直接通过npm一键安装到DSH。所有配置项均为可选,插件提供了合理的默认配置,用户可根据需求自定义修改。需要注意的是首次CLI安装可能耗时数十秒,当前版本适配DSH 0.1.0-rc.6,存在安装前搜索结果无描述等已知限制。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
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 dsh-find-skill

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

READMEREADME

dsh-find-skill

English | 中文

将 vercel-labs/skills 开放 agent 技能生态接入 DeepSeek Harness(dsh)。

插件让 LLM 自行决定何时需要加载技能:当任务超出既有工具与已加载技能的能力时,模型搜索技能生态(skill_find)、通过 dsh 内置的 ask_user_question 询问用户选择哪个技能与作用域,然后加载为 临时(默认,仅当前会话)、项目(随工作区共享)或 全局(所有会话)。安装落在插件自有的根目录,与手写的 .dsh/skills 和共享的 .agents/skills 完全隔离。

功能

  • skill_find —— 通过官方 skills.sh API 远程搜索(与 CLI find 命令同源)。候选携带安装数、来源、浏览链接与本地"已安装"标记。工具描述为低优先级:明确要求模型仅在既有工具与已加载技能都不适用时使用。
  • skill_install —— 通过官方 CLI(npx -y skills@latest,按项目决策自动取最新版)在隔离的一次性 work/home 环境内抓取,只收养目标技能目录到托管作用域。临时安装注册为运行时技能;项目/全局安装写入托管根目录,并通过自有的 ctx.skills provider 暴露(rank 350,可配置)。
  • skill_remove —— 从临时/项目/全局移除;未指定作用域时按 临时→项目→全局 顺序尝试。
  • /skill 命令 —— 面向人的 find | install | update | sync | remove | list 子命令;update 按安装时记录的来源重新拉取并替换;sync 通过官方 CLI 的 experimental_sync 扫描项目 node_modules 中声明的技能并收养进托管根。
  • 生命周期 —— 临时技能通过安装它的 agent 的作用域上下文注册:仅安装它的会话可见(其他会话读取不到),agent/会话销毁时注册自动回滚、物化目录随 session/disposed 清理;compactDisposePolicy: keep | dispose | ask 控制压缩(compact)时的行为。
  • Web UI 卡片 —— dsh-find-skill-client 客户端包为 skill_find / skill_install / skill_remove 工具调用渲染专用会话卡片(可重放、只读展示)。

安装 / 加载

从源码下载(当前可用)

git clone https://github.com/Moximxxx/dsh-find-skill.git
cd dsh-find-skill
git checkout develop          # 完整开发分支(含 AGENTS.md、.dsh/)
pnpm install --config.minimumReleaseAge=0   # rc.6 依赖需绕过发布年龄策略
pnpm build                    # tsc → lib/
pnpm test                     # 单元 + 快照测试

加载进 dsh —— 开发期 overlay(热加载源码):

- insert:
    - id: dsh-find-skill
      name: '/abs/path/to/dsh-find-skill/src/index.ts'

或把本地检出作为 bundle 安装(先构建,再执行):

dsh plugin --profile web add /abs/path/to/dsh-find-skill
dsh --profile web --dump-config   # 确认 dsh-find-skill 行在插件树内

从 npm 下载

dsh plugin --profile web add dsh-find-skill

插件已发布到 npm,可直接安装使用。

配置

所有字段可选,括号内为默认值。

字段 默认值 含义
searchApiBase https://skills.sh 搜索 API 基址(与 CLI find 同源)。
searchLimit 20 每次搜索的最大候选数。
prioritySources 官方源列表 搜索结果中优先展示的来源 owner(官方源在前,其余按安装数降序)。
cliCommand npx -y skills@latest 运行官方 CLI 的命令;可换成本地二进制路径。
installDefaultScope temp 模型未指定作用域时使用的默认作用域。
projectSkillRoot .dsh/skills-bridge 项目托管根目录(相对 git 根)。
globalSkillRoot <dshHome>/skills-bridge/global 用户全局托管根目录。
tempSkillRoot <dshHome>/skills-bridge/tmp 临时物化根目录。
providerRank 350 provider 候选的 rank(越小越优先)。
compactDisposePolicy keep 压缩时对临时技能 keep(保留)/ dispose(清除)/ ask(询问用户)。
registerFindTool / registerInstallTool / registerRemoveTool true 模型工具开关。
registerCommand true /skill 命令开关(按可用性查找 commands 服务)。

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-webbridge 下一个 Next dsh-gadgets →