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.

패키지
dsh-teacher-mode
호환성
미검증
Harness peer 범위
>=0.2.2-rc.5 <0.3.0
Cordis peer 범위
*
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 11. 20.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:reisen0327-sudo/dsh-teacher-mode

使用

  1. 新建会话,预设选「教学模式」。
  2. 发出第一条消息(哪怕只说「开始」)。
  3. 会弹出一张表单:学习内容、目标、参考资料、当前基础、时间/考核。填完提交,教学开始。
  4. 之后可以直接插话:「这块再讲一遍」「出难一点的题」「跳过这节」「用 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: |                    # 需要时用整段自定义教学协议覆盖内置的