苏格拉底式导师:按主题定制课程、诊断性提问、保存技能图谱、间隔复习与结业评估。
安装
# Release 预构建包
dsh plugin --profile web add "https://github.com/bortpro/dsh-plugin-socratic-tutor/releases/download/v1.0.0/dsh-plugin-socratic-tutor-1.0.0.tgz"
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:bortpro/dsh-plugin-socratic-tutor
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。
README
该插件的 README 只有英文版本。
Socratic Tutor runs an ongoing lesson in a DeepSeek Harness conversation. It builds a curriculum from the topic, asks one question at a time, tracks evidence against a 0–5 skill scale, and uses spaced review and a final assessment.
Install
Use DeepSeek Harness 0.2.2-rc.5, Node.js 24.9.0 or later, and pnpm on your path.
dsh plugin --profile web add https://github.com/bortpro/dsh-plugin-socratic-tutor/releases/download/v1.0.0/dsh-plugin-socratic-tutor-1.0.0.tgz
dsh --profile web
To build and install from a local checkout:
npm ci
npm pack
dsh plugin --profile web add ./dsh-plugin-socratic-tutor-1.0.0.tgz
dsh --profile web
The package declares its profile layer through dsh.bundle.patch. Harness bundle documentation
Use
| Input | Effect |
|---|---|
/tutor <topic> |
Start a lesson for the current conversation and ask the first diagnostic question. |
/tutor <topic> --full-mastery |
Require level 5 in every skill before the final assessment. |
/progress or show progress |
Display the skill map. |
/tutor-save or save state |
Return a portable JSON snapshot. |
/tutor stop |
Pause the current lesson and keep its progress. |
/tutor resume |
Resume the lesson saved for the current conversation. |
/tutor resume <saved JSON> or resume from: <saved JSON> |
Restore a portable snapshot in this conversation. |
You can also start with Teach me linear algebra, Quiz me on SQL joins, or Help me master fractions. Requests such as Help me understand fractions prompt for confirmation when no lesson is active. Standalone queries such as What is covariance? follow the ordinary chat route. During a lesson, type harder, easier, or just tell me to change how the tutor handles the current question.
The Cordis configuration field defaultTargetLevel accepts integers from 1 to 5 and defaults to 4. Progress is written after each lesson action to a conversation-specific JSON file under .socratic-tutor/ in the current workspace. Reopening the same conversation in that workspace preserves progress across Harness restarts and model switches. Use a portable snapshot to move a lesson to another workspace or conversation. Snapshots can contain pending questions and notes on misconceptions.
Harness enforces state transitions and the evidence required to promote a level. The selected model generates the curriculum, asks the questions, and evaluates answer quality. Use a model and agent preset with tool calling enabled.
Development
npm ci
npm test
The tests use the Harness command registry, prompt assembly, and native tool executor with scripted model actions.
链接
同类插件
Tencent/WeKnora#dsh-weknora★ 37918
把 WeKnora 知识库接入 dsh 的四个只读工具:列出知识库、混合检索原文片段、按顺序还原单篇文档,以及直接取用 WeKnora 自己带引用的 RAG 或 ReAct agent 回答(含可续聊的 session id)。
DayuanJiang/next-ai-draw-io#dsh-plugin★ 37097
dsh 的 draw.io 绘图插件:通过 next-ai-drawio MCP 服务器作图,点回复里的链接在右侧栏打开实时预览,可以手动修改图,AI 的每次修改都是可以恢复的版本。需 Node.js 18+,首次使用由 npx 下载 MCP 服务器。
superdesigndev/treg★ 8650
给 Agent 的工具目录:按「要做的事」检索约 2,600 个外部接口(SEO 与 SERP、外链、社交、人物与公司信息补全、广告库、抓取),查看参数与单次调用价格后直接调用,凭据由服务端注入。附带技能,MCP 行在未设置 TREG_TOKEN 前保持禁用。
T-Auto/dsh-ops★ 5964
为 Windows 的 DSH 提供 bash、PowerShell 7 及 Rust 高性能工具,减少 token 消耗。
sixtysevenlf/dsh-blender-plugin★ 2216
让 DSH agent 通过直连 TCP 通道驱动本地 Blender,提供 15 个工具:视口帧、自定义视角渲染、Python 执行、无头与作业卸载、事务回滚,以及 34 个 family / 228 个 op 的规划层。
helloHub1212/dsh-windows-mcp★ 2002
通过官方 MCP 客户端桥接层把 CursorTouch/Windows-MCP 桌面自动化服务器接入 DSH,把截屏、UI 树快照、鼠标键盘输入、剪贴板、进程与注册表等工具注册成 mcp__windows__* 供模型调用,并附带 windows_mcp_doctor 诊断工具;Computer Use 默认关闭,需在插件面板里打开。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。