Preface¶
In DeepSeek Harness (DSH), the common approach to revision is to temporarily ask the model to generate questions and check answers. Such workflows often only track right or wrong; guessing correctly counts as passing, and the reasons for errors are difficult to accumulate stably across multiple practice sessions. If you have course materials and a personal note vault, and you want to continuously drill every “knowledge point” until a target accuracy is reached, you need a repeatable skill workflow that writes state into the knowledge base.
Below is the community plugin dsh-mastery-loop (maintained by Noct2vis), categorized as a workflow. It reads course materials and notes, looping through “generate questions → grade → generate again” until proficiency meets the standard for each knowledge point, and produces a pre-exam list.
What is this¶
dsh-mastery-loop is an optional skill bundle for DSH (package version 0.2.0, MIT license). It is positioned as a general exam preparation closed loop: not a one-off Q&A, but a long-term cycle with a ledger, error reason table, and proficiency determination.
Compared to a “quiz bot only,” the README highlights two differences:
- Every question requires a chain of thought; grading judges the chain of thought first, then the answer. Guessing correctly does not count as correct.
- Error reasons are stored verbatim in the database and reused; if the same expression is wrong three times, it is recorded three times, rather than disappearing from statistics after being broken down into paraphrases.
Core Features¶
Initialization and Knowledge Base Files¶
Initialization is completed via a separate skill /mastery-loop-setup (only needs to be run once). It detects course materials and the note vault, asks for paths, materials, language, fusion methods, paper formats, etc., and generates 6 files in the knowledge base root directory with validation:
| File | Function |
|---|---|
ledger.md |
Review ledger (progress + initialized credentials) |
index.md |
Topic → Knowledge point reverse index |
errors.md |
Error reason table |
paper-format.md |
Paper format for each exam in each course |
error-taxonomy.md |
Classification of reasons for losing points (initially empty, to be induced) |
config.md |
Paths / Material selection for each course / Language standards |
Initialization is deliberately separated from daily review: setup requires asking six sets of questions, separated from the daily path of /mastery-loop, making the mastery-loop body shorter.
Review Loop¶
Daily review uses /mastery-loop, or you can say in natural language “I want to start reviewing”—this skill can be invoked automatically by the model.
The loop is roughly:
Read state → Confirm step-by-step with user (scope / target accuracy / mixed exam?)
→ Review list
→ Generate questions (append "Answer:" and "Chain of Thought:" lines after each question)
→ Grade (judge chain of thought first → then judge answer → extract error reason only if wrong)
→ Write back to ledger and error reason table
→ Meet standard? → Ask if continue
→ Pre-exam list (accumulated from the first round, not generated at the end)
Proficiency is judged point by point based on knowledge points: a point requires “total questions ≥ 5” AND “proficiency ≥ target accuracy”; if less than 5 times, it is marked “insufficient sample” and questions continue to be generated.
Error Reasons and Language¶
Error reasons in errors.md default to English, borrowing the writing principles of ASD-STE100 (Simplified Technical English): one deviation per sentence, no more than 20 words, starting with a verb, no question numbers or digits, to ensure identical errors are verbatim consistent and countable. The README clarifies: this skill borrows STE principles but does not claim compliance with ASD-STE100; “cross-document verbatim reuse” is an extrapolation by this skill, and the responsibility lies with this skill.
Language is set separately by product category during initialization (knowledge point notes, questions, grading analysis, record files, outputs, mechanism layers, etc.); errors.md remains default English to apply STE. The review scope is defined by the user; one course at a time is recommended. When crossing multiple courses, it will ask whether to mix questions across courses (default is no mixing).
Installation and Activation¶
The plugin is installed via the DSH community directory (no official affiliation with DeepSeek/High-Flyer; it is part of the “everything is a plugin” community ecosystem). The installation command is subject to the README:
dsh plugin --profile web add dsh-mastery-loop
package.json requires Node ^22.19.0 || >=24.0.0. Before installation, it is recommended to view the GitHub repository source code and MIT license; the plugin runs with the current dsh process permissions and will read/write to the knowledge base paths you configured.
Typical Usage¶
Step 1: Initialization (run once only)
Execute in the DSH conversation:
/mastery-loop-setup
Confirm material paths, language, and paper formats as prompted, and wait for the 6 files to be generated and validated in the knowledge base root directory.
Step 2: Daily Review
/mastery-loop
Or state “I want to start reviewing.” Confirm scope, target accuracy, and whether to mix exams according to skill prompts, then answer questions one by one (including chain of thought). Update the ledger based on grading results; you can choose to continue after meeting standards; the pre-exam list accumulates from the first round.
Use Cases and Notes¶
Suitable for: Exam preparation scenarios where you have structured course materials and a note vault, want to quantify proficiency by knowledge point, and distinguish between “knowing the answer” and “guessing correctly.”
Notes:
- Star counts and community directory information are subject to the SkillHub Directory Page and GitHub (current clue star count is 0).
- Do not splice
dsh plugin add github:owner/repoyourself based on the plugin name; the installation command only usesdsh plugin --profile web add dsh-mastery-loopabove. - Error statistics depend on the consistency of English STE style expressions; if you prefer pure Chinese records, you need to understand the design trade-offs of
errors.mdand statistical criteria.
Conclusion¶
dsh-mastery-loop turns exam review into a persistent DSH workflow: chain-of-thought priority grading, cumulative error reasons, point-by-point proficiency, and an integrated pre-exam list. See the directory and details at SkillHub: Noct2vis/dsh-mastery-loop, and source code/README at GitHub: Noct2vis/dsh-mastery-loop.