research-report-workbench: DSH Investment Research Report Deconstruction and Drafting Workbench

Introduction

In DeepSeek Harness (DSH), performing buy-side research usually involves piling up PDFs, notes, and tables locally, then asking scattered questions in the chat. It is difficult to cite specific paragraphs, and industry logic or financial frameworks are hard to solidify into reusable structures. Below is an introduction to the community plugin research-report-workbench (maintainer: baymaxbill, category: Workflow): it hangs on the DSH sidebar, breaks research reports into citable paragraphs, five-section cards, and chart assets, then assembles them into an industry report. Materials and the database are local by default; PDF parsing, summarization, and chart-related capabilities call the host-configured default model.

What is this

research-report-workbench is a DSH plugin for buy-side research scenarios such as PE/VC and public funds. The core workflow is: Import materials → Read and highlight questions → Confirm five-section cards and charts → Assemble the report in the writing desk. Optionally bridge with a local MOKI knowledge base index (read-only library.sqlite, write back to local folder mapping, does not call MOKI’s private HTTP API).

Material Ledger and PDF Processing

The plugin supports managing investment research materials locally and performing structured processing on PDFs.

  1. Material Ledger: Upload txt / md / docx / pdf, paste text, or scrape user-specified webpages (including WeChat Official Account URLs).
  2. PDF Text Cleaning: Restore lines based on coordinates using pdfjs; merge vertical headers, remove headers/footers, analyst contact info, table of contents, and axis text within charts.
  3. PDF Highlighting: The reading desk shows the page image and a transparent text layer; drag to select text and ask questions in the “Reading Q&A” in the middle; answers include [bN] evidence citations.
  4. PDF Text Reordering: Merge rows by column and paragraph, filter sidebar contacts/headers, and avoid the messy stacking of body text line-by-line.
  5. Reading Experience: Body text size 12–24px adjustable (default 15px, remembers last size); Reading / Chat / Summary columns can be toggled independently; PDF pages support 50–300% zoom and “Fit to Width”; page image and text layer zoom together.

Single file upload limit is 24MB; scanned PDFs without text layers can rely on the “Chart Workshop” for manual cropping.

Chart Library and Five-Section Cards

When uploading or re-parsing a PDF, the plugin locates charts from “Chart N: Title” to “Source”, renders them at 2x resolution and crops them to PNG, archives them to the “Chart Library” by document, and allows copying, previewing, and deleting. Missed charts can be cropped via the “Chart Workshop” drag-box; data tables support pasting from Excel/PDF, editing numbers online, and modifying chart annotations.

The five-section summary is fixed as: Industry Logic & Framework, Technical Principles, Business Logic, Financial Framework & Forecast, and Technical Development Prospects. Each card includes paragraph evidence; it is only stored after confirmation. When rejected, a reason must be filled in, and the AI rewrites the card based on the reason.

Knowledge base cards and charts are grouped by the uploaded document; the left-side folder can filter by document.

Writing Desk and Dual Mode

“Writing” is used to create new reports, edit text, maintain outlines and word counts, and insert confirmed cards, charts, and data tables from the right column.

  • Writing Dual Mode: AI Auto-Generation and Free Writing. Before generation, you can select material cards one by one and uploaded documents one by one; after user confirmation, public web search can be stacked.
  • Reports can be saved, renamed, changed status, and deleted.

MOKI Knowledge Base Bridging (Optional)

If MOKI is installed locally and configured with a local knowledge base, import and export are possible without embedding MOKI source code into this plugin.

  • Default reads <DSH_HOME>/moki-library/library.sqlite, environment variable MOKI_LIBRARY_DB can override the path.
  • Only supports MOKI’s local_file (PDF/DOCX/TXT/MD) and local_folder.
  • Import: Learn → New Deconstruction → MOKI Knowledge Base → Select files to import.
  • Export: “Export MOKI” in top right of reading desk → Select target folder; Structure includes body.md, chapters/*.md, cards.json, charts/*.png, manifest.json.
  • Before writing back, you must first “Add Folder” (local folder mapping) in MOKI, and refresh the index to see it.

The bridging implementation is independent of the MOKI project; users need to install MOKI themselves; see the repository’s THIRD_PARTY_NOTICES.md for details.

Installation and Enabling

The plugin runs with the current DSH process permissions; it is recommended to check the repository source code and MIT license before installing. The community directory SkillHub is an independent site and has no official affiliation with DeepSeek or Hanxin.

  1. Download research-report-workbench-0.12.13.tgz from the repository Releases.
  2. Execute installation (replace the path with the location of the local tgz):
dsh plugin add C:\path\to\research-report-workbench-0.12.13.tgz

If dsh is not in PATH, you can use resources/runtime/cli/bin/dsh.cmd under the DSH installation directory.

From npm (After Release)

dsh plugin add research-report-workbench

Do not directly dsh plugin add an unpacked source code directory: the host will move the directory into the profile. For development and debugging, use npm pack first, then install the generated tgz.

Typical Usage

According to README suggestions, the complete reading and writing workflow can be summarized as:

  1. Learn → Import PDF / DOCX / Webpage / Paste text.
  2. Open materials; read the original text in “PDF Highlighting” by default; switch to “Text” to view the cleaned text and bottom chart bar.
  3. Select a paragraph → Ask a question in “Reading Q&A”; the answer includes paragraph evidence.
  4. Confirm or reject five-section cards in the right column; when rejecting, fill in the reason, and the AI rewrites it.
  5. View automatically extracted charts by document in the top Chart Library.
  6. Write a new report, and insert confirmed cards, charts, and data tables from the right column.

Data, Privacy, and Notes

  • Local library: <DSH_HOME>/invest-workbench/invest.db (keeps old directory name, data is not lost during upgrades), can be overridden by DSH_INVEST_DATA_DIR.
  • Chart files: files/asset-*.png in the same directory.
  • Materials, cards, and reports are stored locally by default; when calling models, only the current material excerpt, selected original text, or card content is sent. The repository does not store API Keys, Cookies, databases, or user profiles.

Suitable for researchers who need to manage research report assets locally and place PDF reading, structured summarization, and report writing in the same DSH workflow. Relies on runtime components like pdfjs-dist and @napi-rs/canvas, and must meet the Node and DSH version constraints mentioned above.

Conclusion

research-report-workbench connects the workflow of “Read Report → Leave Evidence → Generate Cards & Charts → Write Report” into a path that can be completed in the DSH sidebar, and interfaces with the optional local MOKI index. For further details and Release attachments, see the GitHub Repository; for plugin indexing, see the SkillHub Directory Page.

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

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

Xiaoye