Learning Platform: A Deep Reading and Knowledge Curation Plugin in DeepSeek Harness

Preface

DeepSeek Harness (DSH)’s plugin ecosystem makes “everything is a plugin” a reality. During development or research, we often need to read long-form explanations or technical documentation. As questions multiply, the chat window grows endlessly long—not only is it hard to track context, but the original text easily gets buried. The Learning Studio plugin introduced below solves exactly this problem: it renders the main text on its own page, pins questions to the right side, anchors answers back to the source, and links questions into a knowledge network. After studying, you can self-test using the Feynman technique and finally export everything as a Markdown note.

Plugin Overview

Learning Studio (dsh-learning-studio) is a learning workspace plugin installed in DeepSeek Harness, maintained by lucas-sys under the MIT license. It addresses the problem of “questions piling up and the chat window stretching out endlessly while reading long explanations,” providing features such as structured knowledge frameworks, inline annotation-based questioning, knowledge networking, Feynman self-testing, and Markdown note export.

Core Features

1. Concept → Learning Framework

The plugin provides a workflow from a single concept to a structured explanation. After entering a concept name, the AI first lists 6–9 learnable aspects according to a structured knowledge template—e.g., definition, significance, mechanism, composition, examples, boundaries, adjacent concepts—and annotates each with “what question this aspect should answer.” After checking the aspects you genuinely want to explore, it generates a systematic explanation organized section by section. The plugin also retains an entry point for “pasting existing material directly.”

2. Inline Annotation, Answers Linked to Source

While reading, you can highlight a sentence in the main text and then ask a question on the right panel. Answer cards always preserve the highlighted fragment; clicking the highlight or the paragraph jumps back to the source text and scrolls to the corresponding card. Questions in the sidebar are ordered by their position in the article rather than by time of asking, so you can review them in reading order.

3. Answers as a Network

The plugin automatically identifies knowledge relationships between questions (causality, prerequisite, contrast, same mechanism, extension), and you can also link them manually. On the Knowledge Network page, a structural diagram is drawn grouped by the original article’s sections, helping you clarify the knowledge flow.

4. Feynman Check

After studying, the plugin generates 5 key questions based on the reading guide, and you restate your understanding in your own words; the model evaluates each answer (pass / needs supplementing / needs redo), points out gaps, and offers hints. The Markdown note is unlocked only after all questions are passed.

5. Note Export

Once all Feynman questions are passed, you can copy or download the note in Markdown format. The note includes the reading guide, each Q&A with its links, the original text and evaluation for each restatement question, and the learning aspects covered in this session.

Installation & Activation

Prerequisites

  • A DeepSeek Harness (desktop or Web) that supports plugin bundles.
  • Installing the plugin requires Full access in Harness (the install action executes Host code).
  • Node.js is only needed for running tests; it is not required for day-to-day use.

Installation Steps

git clone https://github.com/lucas-sys/dsh-learning-studio.git ~/dsh-learning-studio

Then instruct the agent in Harness to run:

plugin_manager({ action: "install_bundle", target: "/Users/<you>/dsh-learning-studio" })

The installer links the plugin into the current profile. After that, restart Harness once, press Cmd+Shift+R in the Web UI to refresh, and the “Learning Studio” icon will appear in the left sidebar.

Do not manually edit the profile’s package.json or cordis.patch.yml. Use plugin_manager for both installation and uninstallation.

Update & Uninstall

To update, run:

cd ~/dsh-learning-studio && git pull

If only the Client half changed, a page refresh suffices; if the Host half changed, restart Harness.

To uninstall, run:

plugin_manager({ action: "remove_bundle", target: "dsh-learning-studio" })

Learning data in the browser is not removed by uninstallation. Clear it from site settings via localStorage if needed.

Usage Workflow

  1. Click the sidebar “Learning Studio” → “New Study,” enter the concept and depth level (Intro / Systematic / Deep), then click “Next: Select Scope.”
  2. Check, supplement, or regenerate aspects from the AI-generated list, then click “Generate Systematic Framework.”
  3. While reading, highlight and ask questions; answers appear in the right panel. Click a highlight to jump to the specific question, or click a paragraph to jump to the earliest card for that paragraph—the card scrolls into view and flashes.
  4. After answers are generated, links are created automatically; you can also manually click “Link” on a card. Switch to “Knowledge Network” to view the structure.
  5. When you feel you’ve covered the material, switch to “Feynman Check” → “Generate Key Questions,” restate each one until all pass.
  6. Go to the “Notes” page to copy or download the .md file.

Data & Privacy

  • All reading guides, Q&A, links, and Feynman records are stored in browser localStorage under the key dsh-learning-studio/v1.
  • Model calls are initiated by the plugin’s Host half through Harness’s ctx.llm; they are not written to session logs and do not introduce new session event types.
  • Host routes are mounted at /_dsh/dsh-learning-studio/*; connection.requestRejection is executed before processing, and unauthenticated requests receive a 401 directly.
  • The plugin collects no telemetry and accesses no third-party services.

API

The plugin exposes the following interface methods (same-origin POST, JSON in / JSON out):

Method Purpose
ping Health check; returns version and model readiness
outline Concept → list of learning aspects (title / summary / keyQuestions)
generate Generate a systematic explanation (Markdown) based on selected aspects
ask Ask a question about a highlighted fragment and its containing paragraph
link Determine the relationship between a new answer and existing cards
feynman Generate 5 key questions based on the reading guide
grade Evaluate a Feynman restatement, noting gaps and offering hints

By default, the model follows Harness’s current selection; you can also specify provider / model / reasoningEffort in the Loader configuration to override.

Known Limitations

  • Only intra-paragraph highlighting is supported: cross-paragraph selections do not create anchors, because answers must point precisely back to the source location.
  • Both linking and evaluation are model-driven; if the evaluation JSON fails to parse, it degrades to “needs supplementing” while preserving the model’s raw feedback.
  • Note export requires all Feynman questions to be passed by default; if the evaluation API encounters an error, the “Export Anyway” option serves as a fallback.
  • Data is local-only: switching browsers or clearing site data will cause loss. Download important notes promptly.
  • If the model connection is intermittently interrupted (e.g., DeepSeek message transport fail), the Host automatically retries once for transport-level errors; if it still fails, the card displays the error with a “Retry” button—the question itself is not lost. Feynman evaluation failures likewise preserve the original restatement for direct retry.
  • Learning Studio is a reading workspace and does not replace Harness sessions. Keep multi-round follow-up questions on the same concept within Learning Studio to avoid stretching the chat window.

Use Cases & Notes

Learning Studio is suited for scenarios requiring deep reading, knowledge structuring, repeated review, and self-testing within DSH. The plugin runs with the current DSH process permissions; review the source code and license before installing.

Summary

Learning Studio provides a complete workflow for deep reading through structured knowledge frameworks, inline annotation-based questioning, knowledge networking, Feynman self-testing, and Markdown note export. It separates the original text from questions, anchors questions back to the source, weaves knowledge into a network, and ultimately produces a reusable note. For more details, visit the plugin catalog page and the GitHub repository.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye