bearing-notes: DeepSeek Harness Literature Knowledge Base Plugin

Preface

The core philosophy of DeepSeek Harness (DSH) is “everything is a plugin”. For engineers or researchers dealing with a large volume of literature, efficiently extracting knowledge, verifying accuracy, and organizing it into a reviewable document is a common pain point. The bearing-notes plugin provides such a solution: it allows for jotting down notes while reading literature, consolidating all notes into a single Word document, and utilizing models to review notes and extend knowledge.

Core Features

Note Recording and Aggregation

The plugin supports recording note titles, sources, tags, and Markdown-formatted body text. All notes are consolidated into a single Word document. Users can access this document at any time, re-review saved notes, and write the review results back to Word.

Model Review and Knowledge Extension

The right sidebar calls the model to review the notes. The model returns feedback in four parts: accuracy review (judging right/wrong), omissions and risks, related knowledge extension, and suggested further reading. The prompts for this feature incorporate a concept map and a common error checklist for the field (e.g., carbide types in GCr15, L10 life determination), ensuring the review is not generic but consists of professional judgments specific to the field of “bearing steel rolling contact fatigue”.

Terminology Translation and Constraints

To address the issue of inaccurate translation of proper nouns, the plugin includes a manually curated glossary of 214 terms.
* Term Locking: Terms hit in the text are pinned into the prompt, prioritizing longer words and allowing nesting.
* Mistranslation Prohibition: Built-in prohibitions for high-frequency mistranslations (e.g., white etching area is prohibited from being translated as “white corrosion area”).
* Do-Not-Translate List: Grades, standard numbers, symbols, and units are retained in the original text.
* Post-translation Verification and Retranslation: The system checks if the translation contains the pinned terms; if missing, it triggers a retranslation mechanism.

Installation and Configuration

The plugin is a standard DSH bundle. Installation via official tools is recommended:

plugin_manager { action: "install_bundle", target: "<本仓库绝对路径>" }

After installation, configuration items need to be overridden in the config of the loader line. Main configurations include:
* dataDir: Data directory.
* docxFile: Generated Word filename.
* docxTitle: Word document title.
* provider and model: Specify the models used for review and translation; if left blank, they follow the default routing.

Note: You must restart dsh after modifying the Host side code (index.js or lib/*.mjs). The client bundle supports hot updates, but Host modules do not.

Typical Usage

Notes and Review

While reading literature, you can enter the “Literature Knowledge Base” via the button in the session title bar or the “+” new tab menu in the right sidebar. After jotting down knowledge points, the right sidebar calls the model for review. Users can submit drafts to the model to obtain accuracy feedback, risk alerts, and related knowledge extensions, thereby refining the notes.

Translation and Terminology Constraints

For long texts, the plugin supports automatic segmented translation. During translation, the pinned glossary is used to lock proper nouns (such as GCr15, RCF, etc.), preventing the model from mistranslating them. If the model omits a locked term in the translation, the plugin automatically triggers a retranslation.

Known Limitations

  • Word Format Limitations: The generated Word document supports only a minimal set of formats (headings, body text, bullet lists, bold, italic, monospace), and does not support tables, images, or table of contents fields (the TOC is a manual paragraph list).
  • Glossary Source: The glossary consists of 214 manually curated terms covering common terminology; new words not in the library are handled according to the model’s general translation style.
  • Verification Mechanism: Automated visual verification within the browser has not been performed for the sidebar’s rendering effects.
  • Data Flow: notes.jsonl is the single source of truth; the Word document is recompiled from the JSONL after every modification.

Conclusion

bearing-notes aims to help users build a structured literature knowledge base within DeepSeek Harness. It assists users in organizing literature more accurately in specific fields (such as bearing steel rolling contact fatigue) through model review and terminology constraint mechanisms.

  • Catalog Page: https://www.skillhub.cn/plugins/FeC3-pearlite/bearing-notes
  • GitHub: https://github.com/FeC3-pearlite/bearing-notes
羽毛球分组比赛记分
小程序二维码

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

Xiaoye