Introduction¶
DeepSeek Harness (DSH) does not provide teaching capabilities out of the box. Most models can answer questions, but they aren’t great at teaching: they dump the full solution upfront, lecture through an entire chapter in one go, respond to a student’s “I don’t get it” with an even more abstract restatement, and consider a topic mastered after a single correct answer.
TutorFlow is a teaching-enhancement plugin for DSH. It layers a set of “how-to-teach” methods on top of whatever model is already configured in your host: first, it determines whether you just want an answer or actually want to understand; then it decides where to start; it teaches one point at a time and asks only one question at a time; when you get something wrong, it first categorizes what went wrong before switching to a different explanation; one correct answer isn’t enough—it changes the conditions to verify again; finally, it records your mastery level, error types, and next review time locally.
What Problem It Solves¶
TutorFlow turns common teaching failures into mechanical constraints:
| Common Problem | How the Plugin Handles It |
|---|---|
| Dumps the answer immediately | Locates the gap first, then breaks it into steps; gives only one step at a time, never the full solution |
| Lectures through everything at once | Route capped at 8 steps; only the current step is active; no advancing unless advance is true |
| Just says “wrong” on a mistake | Classifies the error type first: concept / procedure / calculation / reading / memory / expression, then prescribes the appropriate fix |
| Re-explains with different words | Representation rotation: intuitive → analogy → diagram → derivation → counter-example; the same representation cannot repeat back-to-back |
| One right answer = “mastered” | Requires two pieces of evidence before advancing; must have appeared on a different day and been reviewed once to be marked “mastered” |
| Turns a simple question into a lecture | When only a fact or conclusion is needed, gives it directly—max three sentences—then asks whether to expand |
What It Is¶
TutorFlow is a general-purpose teaching-enhancement plugin. No subject restrictions. Probability theory is merely one bundled example course. Matrix eigenvalues, the Central Limit Theorem, aircraft lift, Python decorators, opportunity cost, why the sky is blue, why humans need sleep—none of these have preset courses, and the plugin can still teach them. What’s hardcoded is the shape of the teaching actions, not the knowledge points themselves.
It does not call an external model, does not forward conversations elsewhere, and does not load any overseas CDN.
Capabilities¶
Intent Recognition¶
Distinguishes “I want a quick answer” from “I want to systematically learn”; identifies concept / principle / procedure / code / math / data / open-ended / fact / skill questions.
Autonomous Routing¶
Generates a 3–4 step skeleton based on knowledge type; the model can also submit its own 3–8 step route (tutorflow_plan); the plugin only validates the shape: step count, no duplicate concepts, exactly one question per step.
One Question at a Time¶
The instruction returned by the tool always contains exactly one “you must ask only this one question.”
Error Classification¶
Six error types: concept / procedure / calculation / reading / memory / expression. Each has a different remediation strategy—a calculation error doesn’t trigger a concept re-lecture; a memory gap doesn’t trigger a derivation walkthrough.
Mastery Judgment¶
Evidence count, confidence score, cross-day requirement, review scheduling. A single correct answer yields ~0.2 confidence—never enough to be “mastered.”
Local Diagrams¶
Functions, normal density & CDF, integral regions, coordinate plots, knowledge structures, flowcharts, discrete-vs-continuous comparisons, bar charts, multi-curve plots, tables, structure trees, timelines, code execution traces. All rendered as local SVG.
Model Capability Tiers¶
small / standard / strong. Under the small-model tier, the plugin takes over correctness judgment and routing; instructions explicitly state “just follow this one rule.”
Teaches Even Without Tools¶
The system prompt section alone constitutes a complete pedagogy; the model can follow it to teach without calling a single tool.
Installation & Enablement¶
Requirements:
- DSH
>=0.2.0 <0.3.0 - Node.js 22.19+
- No OpenAI, Google, or any additional paid API required
- No network calls, no conversation collection, no data upload
Install:
dsh plugin --profile web add dsh-tutorflow
Installing directly from GitHub requires local access to git and the ability to reach github.com; if either is unavailable, use the npm or local-directory method above.
For the desktop edition, do not use command-line install against the desktop profile name. Instead, install from the Plugins page within the app. Restart that profile after installation.
Uninstall:
dsh plugin --profile web remove dsh-tutorflow
This removes the dependency and bundle layer. Learning records remain in $DSH_HOME/dsh-tutorflow/. To delete records as well, exit DSH and remove that directory, or simply say “clear learning records” in a conversation.
How to Use¶
Just ask your question normally in the conversation—no commands to memorize:
- “I don’t understand the probability density function.” (preset course exists → runs the prepared 5-step lesson)
- “What are matrix eigenvalues?” (no preset course → generic concept route)
- “Why can airplanes fly?” (principle route: fixed phenomenon → causal chain → conditions → counterfactual)
- “What is a Python decorator?” (code route: gives a minimal runnable example with line-by-line trace)
- “Quickly tell me what opportunity cost is, don’t expand.” (fast lane, stays a fact, not a lecture)
- “Switch to gap-filling mode.” “Give me a light hint.” “Draw a standard normal curve and shade the area from −1 to 1.”
- “Show my learning progress.” “Start a review session.” “Export my learning records.”
Tools¶
| Tool | Purpose |
|---|---|
tutorflow_start |
Determines whether the user wants an answer or a lesson, identifies the knowledge type, and emits the first action for the route |
tutorflow_plan |
Submits a self-authored teaching route (3–8 steps), overriding the generic skeleton |
tutorflow_answer |
Analyzes the student’s response and produces the next teaching action |
tutorflow_hint |
Four-level hints: light / idea / formula / solution |
tutorflow_plot |
14 types of local SVG diagrams |
tutorflow_mode |
Switches teaching stance: systematic learning / guided problem-solving / gap-filling / quick explanation / free exploration |
tutorflow_progress |
View, export, clear, review, and set model capability tier |
Tool parameters are backward-compatible: the 0.1.0 calling convention still works (judgement and verdict are equivalent; “wrong” is still exposed as wrong externally).
Data & Privacy¶
Learning records are written to $DSH_HOME/dsh-tutorflow/state.json (directory overridable via TUTORFLOW_HOME), using atomic writes. Recorded content: which knowledge points have been studied, mastery score and confidence, error-type distribution, short verbatim snippets of mistakes, next review time, current route cursor. Full conversations are not logged, not uploaded, and never sent to third parties. Uninstalling the plugin does not delete records; to wipe them, delete the directory or say “clear learning records” in a conversation.
Use Cases & Caveats¶
Well-suited for scenarios where you need to add systematic teaching capability to a model inside DSH, such as long-term companion learning, gap-filling, or code instruction. The plugin runs with the current DSH process’s privileges—review the source code and license before installing.
Ecosystem Context¶
DSH’s philosophy is “everything is a plugin.” The community directory is an independent site with no official affiliation to DeepSeek / High-Flyer; do not describe it as an official app store.
In Short¶
TutorFlow turns teaching actions from intuition into constraints, enabling a model in DSH to teach one point at a time, adapt to each response, and schedule reviews based on actual mastery. Directory page: https://www.skillhub.cn/plugins/Z06528/dsh-tutorflow; GitHub: https://github.com/Z06528/dsh-tutorflow.