dsh-vocab-study: An Offline Vocabulary Memorization Panel for DSH

Preface

When writing prompts and reading replies in DeepSeek Harness (DSH), unfamiliar English words often get scattered throughout the conversation: opening a separate app to study vocabulary breaks the context, and simply copying selected words makes it hard to establish a review routine. Following the “everything is a plugin” philosophy of the DSH community plugins, capabilities are embedded directly into the host interface; dsh-vocab-study (repository wt0812/dsh-vocab-study) takes a pure client-side approach: a pill button beside the input box, a “Today’s Vocabulary” tab in the right sidebar, scheduled by memory half-life, with all data stored locally in the browser—no reporting, no network access, no Host service usage.

The following sections introduce what it is, what it does, and how to install and use it in the Web profile.

What Is This

Item Description
Name dsh-vocab-study (npm package name; GitHub: wt0812/dsh-vocab-study)
Maintainer wt0812
Category Memory (SkillHub directory classification)
Version 0.3.0 (see repository Releases / package.json)
License MIT
Dependencies Zero; no node_modules runtime dependencies, built-in dictionary packaged in lib/client.js

The plugin is declared as a DSH pure client-side UI plugin: it only mounts UI in two Cordis slots——conversation.input.right (pill to the right of the input box) and sidebar.right.pane.tab (right sidebar tab). Vocabulary progress, word books, and other content are stored in the browser’s localStorage; the README explicitly states it does not register Host services and does not make network requests (phonetic pronunciation uses system TTS).

Interface and Core Features

Entry Points

  1. Pill: Positioned between “Permissions” and “Model”, with text that changes based on status (e.g., “Today’s First Word”); clicking opens vocabulary study interactions.
  2. Right Panel: Tab labeled “Today’s Vocabulary”, containing four sub-tabs: Today, Progress, Word Book, and Settings.

The panel does not auto-pop up; when the plugin is not being used, it does not occupy any interaction (this is one of the design constraints mentioned in the README).

Today

  • Flashcards with three-level ratings (familiarity feedback).
  • Below the flashcards: current round progress ring, KPIs, half-month heatmap, etc.
  • The progress ring represents the current round (e.g., 0/20); Today’s Studied shows the daily cumulative count, which accumulates across rounds—after clicking “Study Another Round”, the ring resets but the KPI does not.

After completing a round, optional actions include: Study Another Round (re-study the same batch without modifying memory data), Give Me N More New Words (N adjustable in settings, default 5), I Still Want to Continue (when the new-word safety valve is automatically disabled, the user decides whether to continue), Switch Word List.

Progress

30-day retention curves, half-month heatmaps, stubborn word rankings, confusable pairs that need focused practice, etc., for viewing long-term memory status.

Word Book

When a pure English word is selected in the conversation, a “Add to Word Book” button appears beside the input box. Upon inclusion, the plugin calls the built-in dictionary offline (the README states approximately 29,841 words can be looked up for definitions) to supplement phonetic transcription, part of speech, and definitions; it also saves the selected context as example sentences. If a word cannot be found, it is marked as “(no definition yet)” and manual input is allowed, with the source distinguished as lookup or manual. Once a word is “conquered” (memory strength ≥ 0.9 and spelling answered correctly), it is moved from the Word Book to the “Conquered” archive. Words missed today are shown as hints in the top bar of the Word Book; whether to add them is decided by the user, they are not auto-written.

Settings

Configurable items include words per round, increment step size, N for “give me a few more” (3 / 5 / 10), attack-defense balance, data import/export, etc.

Built-in Dictionary and Size

The README states that lib/client.js is approximately 5.40 MB, containing six word lists totaling 34,216 words; after installation, no online dictionary needs to be fetched—offline lookup and study work out of the box.

Installation and Activation

The installation command must include --profile web. The README emphasizes not to use --profile desktop (the CLI will reject it; the desktop profile is managed exclusively by the Electron application); the embedded interface within the desktop App also reads the plugin list from profiles/web.

Recommended installation from npm:

dsh plugin --profile web add dsh-vocab-study

If npm is unavailable, install from GitHub:

dsh plugin --profile web add github:wt0812/dsh-vocab-study

After installation, completely exit DeepSeek Harness and restart. cordis.patch.yml is read at startup; simply refreshing the page is not sufficient to load new plugins; modifying plugin JS can be refreshed, but modifying the patch requires a restart.

Uninstallation:

dsh plugin --profile web remove dsh-vocab-study

package.json requires Node ≥ 20 and DSH ≥ 0.2.0-rc.1.

Typical Usage

Preview Without Installing the Plugin

The repository’s demo/index.html is a self-contained demo page (fake DSH shell + pill and panel with the same source as the production version). Simply double-click to open locally and try it out—no DSH installation needed.

Windows example:

start demo\index.html

Daily Vocabulary Study

  1. Start DSH and confirm the plugin is installed and a full restart has been performed.
  2. Click the pill next to the input box, or open “Today’s Vocabulary” in the right sidebar → Today.
  3. Answer based on flashcards and provide three-level ratings; adjust words per round and increment step size in Settings if needed.
  4. When encountering unfamiliar words in conversations: select the English word → “Add to Word Book” → view or edit definitions in Word Book.
  5. Check retention and stubborn words in Progress, and adjust study volume accordingly.

Development / Local Build (Maintainer Path)

After modifying source code, execute within the repository (as given in the README):

python tools/build.py
python tools/build-plugin.py
python tools/install.py

For external distribution, using the dsh plugin --profile web add ... command above is still recommended; install.py contains local absolute paths and is primarily for the author’s own use.

Use Cases and Notes

Who It’s For: Users who want to study vocabulary in spare moments within the same DSH window, use spaced repetition scheduling, and want learning data to remain on their local machine; developers who frequently work with English conversations and document reading are also suitable candidates.

Environment and Permissions: The plugin runs with the permissions of the current DSH client (Web profile) process, with all logic executed on the browser side. Before installation, it is recommended to read the GitHub repository source code and MIT license; the README includes an honest list of “12 hard constraints” and “known gaps”. The author describes production-level maturity with restraint (features have been verified in the real interface, the test suite has 591 assertions all green, but the user base is still relatively narrow).

Ecosystem Notes: SkillHub (directory page) is a community plugin directory with no official affiliation to DeepSeek / High-Flyer; the marketplace inclusion PR can be found in the README (awesome-dsh-plugin#7043, pending upstream merge). When GitHub is unstable in China, the README provides a Gitee mirror gitee.com/wutong2005/dsh-vocab-study, which requires cloning and installing the local directory via methods like python tools/install.py as documented.

If the client fails to start after restart, the README suggests first using DSH’s “disable third-party plugins” to recover, then executing the uninstall script or removing the vocab-study entry from cordis.patch.yml and performing another full restart.

Conclusion

dsh-vocab-study turns spaced repetition vocabulary study into a zero-network client-side plugin within DSH: one pill, four tabs, words collected from conversations with offline definition supplements, and all progress and settings completed locally. When you need to install it, remember dsh plugin --profile web add dsh-vocab-study, and always perform a full restart of DSH after installation.

  • Directory page: https://www.skillhub.cn/plugins/wt0812/dsh-vocab-study
  • GitHub: https://github.com/wt0812/dsh-vocab-study
羽毛球分组比赛记分
小程序二维码

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

Xiaoye