ihuajiu/dsh-plugin-finder1

dsh-plugin-finder

Find DeepSeek Harness plugins from the dsh.so registry — like find-skill, but for dsh plugins.

AI 分析

核心用途是为 Agent 提供一个 `find_plugin` 工具,使其能根据用户自然语言需求自动检索并推荐合适的 DSH 插件。适合希望让 AI 助手自主寻找并推荐功能扩展插件的用户。

パッケージ
dsh-plugin-finder
バージョン
0.1.1
ライセンス
Apache-2.0
最終更新
2026/08/14

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ihuajiu/dsh-plugin-finder

ドキュメント

README 全文を読む ↗

3. Usage / 使用方法

find_plugin is an agent tool — no manual command; just tell the agent what you need and it calls the tool automatically / find_plugin模型工具,不需要手动输入命令——直接对助手说需求,它会自动调用:

  • "帮我找支持 OCR / 截图转文字的 dsh 插件"
  • "有没有终端 TUI 插件?"
  • "我想做 RAG 记忆,有什么插件"
  • "Find me a plugin for price tracking"

Tool parameters / 工具参数

Parameter / 参数Required / 必填Type / 类型Description / 说明
querystringThe need, e.g. "vision OCR screenshots", "memory rag". Chinese and English both work; English matches better / 需求描述,如 "vision OCR screenshots""memory rag"。中英文均可,英文命中率更高
limitnumberMax results; defaults to the maxResults config (5), clamped to 1–10 / 返回条数,默认取插件配置 maxResults(默认 5),范围 1–10

6. Configuration / 配置

Configure in the host composition or an agent preset's cordis.yml (defaults are fine, usually no change needed) / 在宿主 composition 或 agent preset 的 cordis.yml 中配置(默认值即可,通常无需修改):

- insert:
    - id: dsh-plugin-finder
      name: dsh-plugin-finder
      config:
        indexUrl: https://www.dsh.so/plugins-index.json   # 索引地址,自建/测试时覆盖
        maxResults: 5                                      # 默认返回条数
        cacheTtlMs: 600000                                 # 索引缓存 10 分钟
        timeoutMs: 15000                                   # 抓取超时(毫秒)
Config / 配置项Default / 默认值Description / 说明
indexUrlhttps://www.dsh.so/plugins-index.jsonMachine-readable dsh.so plugin index URL / dsh.so 机器可读插件索引地址
maxResults5Default result count when limit is not passed / 未传 limit 时的默认返回条数
cacheTtlMs600000 (10 min / 10 分钟)How long to reuse the fetched index before refetching / 索引缓存时长,避免每次调用都重新抓取
timeoutMs15000Fetch timeout in milliseconds / 抓取索引的超时时间(毫秒)