dsh-plugin-education
tools装不上npmMIT
为 DSH agent 提供教育工具包:按学段的教案骨架、测验题与答案校验、分析式评分量规、Anki/markdown 闪卡与可读性分级。
下载量 / Downloads
880
测试时间 / Tested
2026-11-07
DSH 版本 / Version
0.2.2-rc.1
安装
dsh plugin --profile web add dsh-plugin-education
沙箱测试结果
| 阶段 | 结果 |
|---|---|
| 1 安装 | ✗ |
| 2 列装 | — |
| 3 挂载 | — |
| 4 启动 | — |
第一条错误
dsh: initialized profile web at /home/node/.dsh/profiles/web四阶段在隔离沙箱里跑:安装(有网)→ 列装 → 挂载 → 启动(后三步断网)。
README
dsh-plugin-education
面向 DeepSeek Harness agent 的教育工具包:教案骨架、测验校验、评分量规、闪卡转换与文本难度分级。模型负责内容创作,插件负责结构与校验。
安装
dsh plugin --profile <profile> add dsh-plugin-education
重启 DSH 后,edu_kit 工具全局注册。
工具
动作 · 用途
lesson · 教案骨架,按学段(小学 / 中学 / 大学 / 成人)配分钟预算
quiz · 校验测验题 —— 题干、≥2 个不重复选项、答案索引越界、解析为空
rubric · 分析式评分量规表(维度 × 等级)
flashcard · Q/A 对转 Anki TSV 或 markdown 卡片
level · 可读性 — 英文 Flesch,中文 CJK 长度启发式
grade · 批改评分卡(得分/满分/百分比/等级/是否通过)
studyplan · 学习计划(起止日期 + 课时 → 周计划表)
配置
均为可选项,写在组合行的 config 里:
键 · 默认值 · 含义
personaSection · true · 是否注册教育提示词段
sectionOrder · 6 · 提示词段顺序(persona 为 0,升序)
设计
纯逻辑(lib/education.js)零 DSH/Cordis 依赖、可独立单测;lib/index.js 是薄 Cordis 壳。无文件系统访问,全部确定性、无副作用。
License
MIT
以上内容来自 npm 上的 README,我们只做格式化,不改内容。
版本
npm 上共发布:5,最后更新 2026-09-11