dsh-ultramath
开发工具 活跃维护

dsh-ultramath

Andiii208/dsh-ultramath

内置5类竞赛角色预设,配套33篇数学建模模型库技能,以SKILL.md为主入口,已通过插件校验,可快速支撑数学建模竞赛的多角色协同求解。

1
Stars 标星
0
Forks 分支
1
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
162 KB
仓库大小
3 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:Andiii208/dsh-ultramath
git clone https://github.com/Andiii208/dsh-ultramath.git
git clone git@github.com:Andiii208/dsh-ultramath.git
README.md main
**dsh-ultramath** — UltraMath 数学建模竞赛多 Agent 求解插件 [![npm](https://img.shields.io/npm/v/dsh-ultramath)](https://www.npmjs.com/package/dsh-ultramath) [![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/andiii208/dsh-ultramath/main/LICENSE) [![node](https://img.shields.io/badge/node-%3E%3D22-brightgreen)](https://raw.githubusercontent.com/andiii208/dsh-ultramath/main/package.json) [![dsh](https://img.shields.io/badge/DeepSeek%20Harness-plugin-4FC08D)](https://github.com/deepseek-ai/deepseek-harness)

dsh-ultramath

UltraMath 数学建模竞赛多 Agent 求解插件:bundle 主形态(dsh.bundle.patch → cordis.patch.yml 装载 node 半侧),纯 node 半侧,无浏览器 UI,不改 DSH 核心源码。

安装

dsh plugin --profile web add github:Andiii208/dsh-ultramath

安装后新建会话:

  • 预设选择器会出现「UltraMath」主控与 4 个单阶段角色预设。
  • 技能选择器会出现 ultramath 主入口技能,模型库文档位于 ~/.dsh/skills/ultramath/模型库/。

特性

  • UltraMath 主控 + 4 角色预设:主控 UltraMath(唯一入口,自包含全流程)+ 数学家/工程师/作家/审稿人(单阶段手动切入),启动时幂等同步到 ~/.dsh/.agent-presets/。
  • 33 篇模型库技能:skills/模型库/ 33 个技能文档(28 篇单源搬运 + 5 篇新增),由根 SKILL.md 经 触发词索引.md 按需指向,不注册进 catalog 避免刷屏。
  • 技能自动同步:lib/index.js 会把 SKILL.md 与 skills/模型库/ 幂等同步到 ~/.dsh/skills/ultramath/,保证干净环境也能发现 ultramath 技能并读取模型库。
  • 全流程阶段:读题 → 框架设计(Phase 0)→ 推导(Phase 1)→ 编码(Phase 2)→ 验算(Phase 2.5)→ 论文(Phase 3)→ 审稿(Phase 4),主控预设一次跑通,可随时单阶段切入/续跑。

工作原理

  • node 半侧在主机启动时把 presets/ 下 5 个预设目录(ultramath + ultramath-{mathematician,engineer,writer,reviewer})幂等同步到 ~/.dsh/.agent-presets/:字节相同则跳过,并校验 agent.cordis.yml 结构(缺 name / name 前缀非法 / 重复 id 视为失败)。
  • 同时把根 SKILL.md 与 skills/模型库/ 同步到 ~/.dsh/skills/ultramath/,并校验 SKILL.md 的 frontmatter 与必要章节。
  • 通过 systemPrompt 区块向模型公告插件存在性、边界和模型库绝对路径。

开发与验证

npm ci
npm test            # lib 单测(node:test,21 例)
npm run check       # 包结构校验(SKILL.md / frontmatter / 触发词索引完整性 / presets)
node scripts/validate-package.mjs --pack   # npm pack 内容核验(发布前置)

相关仓库

  • Andiii208/UltraMath:领域权威源(5 角色 Prompt、模型库、论文规范),本插件是其 DSH 发布镜像。