插件目录 / Developer / dsh-plugin-github-search
dsh-plugin-github-search
已验证 · 实测可装 Tianbaidi
功能简介
Developer 类别的 DeepSeek Harness 插件。
可用 — 实测通过,早期项目
Developer 类别的 DeepSeek Harness 插件。 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-plugin-github-search
Search before you build. A DeepSeek Harness plugin that
makes an agent check GitHub and npm for existing projects before writing a new plugin or capability —
so an existing project is found before time is spent reinventing it.
What it does
github_search— structured GitHub repository search (name, stars, description, language) sorted by
stars, via the GitHub Search API. By default thetopic:dsh-pluginqualifier is added; pass an explicittopic(or an empty string) to override.npm_search— structured npm package search, catching plugins published to the registry without a
GitHub topic. npm qualifiers likekeywords:dsh-pluginare supported.- System-prompt rule (
guidePrompt, default on): the agent MUST call these tools before writing a new
plugin or capability, report what exists, and only then decide to build fresh, borrow, or skip.
Try it
# optional: a GitHub token raises the anonymous search rate limit
$env:GH_TOKEN = "ghp_..." # Windows
export GH_TOKEN=ghp_... # macOS/Linux
# install the bundle into any profile (the prepare script builds on install)
dsh plugin --profile web add github:Tianbaidi/dsh-plugin-github-search
Then ask: "I want to build a dsh plugin that lets a text-only model read images — check GitHub first."
The agent searches, summarizes existing projects, and recommends build / borrow / skip.
Windows note: dev overlay plugin paths must be
file://URLs (file:///D:/...%20...).
Configuration
| Key | Default | Meaning |
|---|---|---|
ghTokenEnv |
GH_TOKEN |
Env var holding an optional GitHub token. |
defaultTopic |
dsh-plugin |
Topic qualifier appended when github_search.topic is omitted; empty disables. |
limit |
8 |
Default result count. |
guidePrompt |
true |
Install the "search before you build" system-prompt rule. |
Develop
pnpm install
pnpm typecheck
pnpm test # 10 vitest cases: URL building, response parsing, tool execution
License
MIT
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-plugin-github-search」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:Tianbaidi/dsh-plugin-github-search Headless(CLI)profile:
dsh plugin --profile headless add github:Tianbaidi/dsh-plugin-github-search 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。