dshbase

插件目录 / Knowledge / dsh-skill-market

dsh-skill-market

已验证 · 实测可装 QQ-M

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

查看 GitHub ↗ ← 返回插件目录

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

功能简介

DSH 设置页技能市场:从 GitHub 搜索并一键安装技能到 ~/.dsh/skills。Skill Market in the DeepSeek Harness settings page: search GitHub for skills and install them into ~/.dsh/skills with one click.

✅
我们的评价
可用 — 实测通过,早期项目

DSH 设置页技能市场:从 GitHub 搜索并一键安装技能到 ~/.dsh/skills。Skill Market in the DeepSeek Harness settings page: search GitHub for skills and install them into ~/.dsh/skills with one click. 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

dsh-skill-market

A DeepSeek Harness plugin that adds a Skill Market to the web UI settings page: search GitHub for skills and install them with one click into ~/.dsh/skills (the user-dsh skill root that the model's skill tool already reads).

  • Host half (index.js): a webServer prefix route /skill-market/api/* doing GitHub repo search, repo inspection, tarball download + extract, and skill install/uninstall.
  • Browser half (client.js): a hand-authored __ModuleLoader__ bundle (no build step) registering a settings.section entry labeled 技能市场 / Skill Market.

Features

  • Search GitHub (dsh-skill topic first, keyword fallback) for skill repos.
  • Inspect a repo's layout (root SKILL.md → one skill; skills/<name>/SKILL.md or skills/<name>.md → several).
  • One-click install: downloads the repo tarball from codeload.github.com, extracts it, copies each skill into the install dir.
  • Installed-skills tab with per-skill uninstall (moved to .trash-*, recoverable).
  • Same-origin POST guard on mutating endpoints.

Install

# from GitHub (pin a commit for production use)
dsh plugin --profile web add "github:QQ-M/dsh-skill-market"

# or from a tarball / local path:
# dsh plugin --profile web add ./dsh-skill-market-0.1.0.tgz

Then restart the web profile (dsh web) — the browser half is picked up from the dsh.client declaration at boot.

Configuration

The bundle patch (cordis.patch.yml) inserts the plugin row; the following config keys are supported:

Key Default Meaning
installDir ~/.dsh/skills Where installed skills are written
githubToken '' GitHub token to lift the 10 req/min anonymous search limit
githubTokenFile '' Path to a file containing a GitHub token (e.g. /opt/dsh-work/gh-token)
searchLimit 20 Max search results

If neither token option is set, GITHUB_TOKEN from the environment is used. Anonymous search works but is rate-limited (~10 req/min), so a token is recommended for heavy browsing.

Example override in your profile cordis.patch.yml (replaces the whole row by id — restate every key):

- insert:
    - id: skill-market
      name: dsh-skill-market
      config:
        installDir: /root/.dsh/skills
        githubTokenFile: /opt/dsh-work/gh-token

API

All endpoints are same-origin JSON under /skill-market/api/:

  • GET /api/search?q=<query> → { ok, items: [{ fullName, owner, repo, description, stars, updatedAt, url, topics }] }
  • GET /api/repo?owner=&repo= → { ok, defaultBranch, description, stars, url, skills: [{ name, path }] }
  • POST /api/install { owner, repo, ref? } → { ok, branch, installed: [{ name, path, description }] }
  • GET /api/installed → { ok, installDir, items: [{ name, path, description }] }
  • POST /api/uninstall { name } → { ok, message }

Development

node --check index.js   # syntax check host half
node --check client.js  # syntax check browser bundle

The host half depends only on node:* builtins + @deepseek-ai/schemastery (already present in the profile). The browser half depends only on the module table's react.

安装

🧩 让 Agent 自动装(推荐)

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

dsh plugin add dshbase-catalog

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

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

Web profile:

dsh plugin --profile web add github:QQ-M/dsh-skill-market

Headless(CLI)profile:

dsh plugin --profile headless add github:QQ-M/dsh-skill-market

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Knowledge 里更多

浏览全部 7819 个插件 →