reisen0327-sudo/dsh-teacher-mode ↗★ 2
dsh-teacher-mode
Teacher mode for DeepSeek Harness: a selectable agent preset that interviews the learner for goals and materials, then teaches, writes class notes, and quizzes.
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:reisen0327-sudo/dsh-teacher-modeREADME
Read the full README ↗使用
- 新建会话,预设选「教学模式」。
- 发出第一条消息(哪怕只说「开始」)。
- 会弹出一张表单:学习内容、目标、参考资料、当前基础、时间/考核。填完提交,教学开始。
- 之后可以直接插话:「这块再讲一遍」「出难一点的题」「跳过这节」「用 MIT 18.06 那本教材」。
命令:
| 命令 | 效果 |
|---|---|
/teacher status | 查看当前学习档案(目标、参考资料、水平、当前课程) |
/teacher brief | 重新打开采集表单,修改目标或参考资料 |
/teacher help | 说明教学模式是预设而非开关 |
教学模式是会话预设:要退出,新建会话时选别的预设(或在空会话里切换预设)。已开始的会话不会中途换预设。
配置
cordis.patch.yml 里 teacher-mode 行的 config(插件加载时严格校验,写错会直接报错而不是静默取默认值):
- id: teacher-mode
name: 'dsh-teacher-mode'
config:
notesDir: teacher-notes # 课程文件根目录(工作区相对路径)
stateDir: .dsh-teacher # 学习档案目录(工作区相对路径)
maxQuizQuestions: 8 # 一次 teacher_quiz 最多几道题
passRatio: 0.8 # 自测通过线(自动判分部分的比例)
askOnStart: true # 第一轮是否弹窗采集学习档案
briefTimeoutMs: 600000 # 弹窗最多停留多久(毫秒)后自动放行
# policy: | # 需要时用整段自定义教学协议覆盖内置的