1475505/dsh-plugin-miliastra-toolbox ↗★ 1
dsh-plugin-miliastra-toolbox
DeepSeek Harness plugin: 千星沙箱知识库(节点/指南/教程/FAQ)查询工具与技能
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:1475505/dsh-plugin-miliastra-toolbox说明文档
阅读完整 README ↗dsh-plugin-miliastra-toolbox
DeepSeek Harness 插件:接入千星沙箱知识库(原神千星奇域 UGC 编辑器的节点/指南/教程/FAQ,300+ 篇文档)。
这个插件是什么
可以让你在Deepseek harness对话里直接问千星沙箱的问题:
- 「角色实体和玩家实体有什么区别?」
- 「复杂造物怎么做定点位移?」
- 「我的碰撞触发器不触发是为什么?」
- 「奥黛塔的经典模式 ID 是?」
插件注册 4 个工具(模型会自动选用,不需要你指定):
| 工具 | 用途 |
|---|---|
get_node_info | 按节点名查功能、参数、归属端(服务端/客户端/双端)与来源文档 |
list_documents | 按关键词列出文档标题(不含正文),不确定文档名时先看有哪些 |
get_document | 按标题获取官方文档全文 |
rag_search | 自然语言语义检索文档片段,适合开放问题与排障 |
插件还注册同名技能 miliastra-knowledge:模型看到匹配的问题会先加载技能正文,按其中的指引(选工具优先级、批量原则、输出规范)使用工具。也可以主动说「用 miliastra-knowledge 技能查一下」,或发送 /miliastra-knowledge。
怎么集成到 DeepSeek Harness 里
前置条件:已安装Deepseek Harness,要求环境 Node 22.19+
Quick start
方式一:bundle 安装(推荐,官方 dsh plugin 工作流)。一条命令安装进 profile 并持久化(自动追加 bundle 层,每次启动生效):
# 从本仓库安装(建议固定 commit:#,参见下方说明)
dsh plugin --profile web add github:1475505/dsh-plugin-miliastra-toolbox
# 或本地路径(开发时)
dsh plugin --profile web add /path/to/dsh-plugin-miliastra-toolbox
dsh web # 启动即带插件
卸载:dsh plugin --profile web remove dsh-plugin-miliastra-toolbox。
方式二:临时挂载(--patch)。不改动任何配置,仅本次启动生效;插件路径必须是绝对路径:
dsh web --patch /path/to/dsh-plugin-miliastra-toolbox/cordis.yml
dsh --profile headless --patch /path/to/dsh-plugin-miliastra-toolbox/cordis.yml "嘲讽目标节点的参数是什么"
配置项
在 profile 的 cordis.patch.yml 里覆盖插件行配置(不需要可跳过):
- insert:
- id: miliastra-knowledge
name: dsh-plugin-miliastra-toolbox
config:
baseUrl: 'https://ugc.070077.xyz' # 知识库服务器地址
timeoutMs: 30000 # 单次工具调用的超时预算(毫秒)
备选:纯 Skill 集成(不安装插件)
技能文件由上游维护,位于 Miliastra-toolbox 仓库的 skills/miliastra-knowledge(SKILL.md + references/tools.md)。Harness 原生支持 SKILL.md 技能( 扫描项目与用户技能根),集成流程: