Introduction¶
DeepSeek Harness (DSH) provides plugin extensibility to enhance agent performance in specific scenarios. When writing code or working on tasks for extended periods, it is necessary to capture inspiration or review knowledge at any time. The dsh-gaokao plugin provides a desktop-level visual anchor that simulates a blackboard in a senior year classroom, displaying a countdown and triggering random knowledge point quizzes at the right moments.
Plugin Overview¶
This plugin is maintained by weibaohui and belongs to the memory category. It combines a desktop floating blackboard component with a Markdown knowledge card framework to implement countdown display and random quiz functionality. The content is based on facts, formulas, and definitions from the general high school curriculum, and supports user-defined knowledge base imports.
Core Features¶
- Dual-mode Blackboard: Supports two modes: full blackboard and collapsed vertical bar. Double-click to switch. In vertical bar mode, only the countdown days are displayed, saving space.
- Countdown Calendar: Defaults to June 7th. Customizable in settings, with automatic switch after the exam.
- Free Scaling & Appearance: Provides a 30%-150% slider for scaling, supports 7 background colors and 4 grid line styles for paper customization.
- Markdown Knowledge Card Rendering: Supports Markdown syntax including headings, lists, code, quotes, and bold.
- Quiz & Navigation Controls: Supports random card drawing, previous/next (based on browsing history), and full deck shuffle mechanism to ensure no repetition.
- Favorites & Linking: Supports saving cards locally and navigating via bottom chips or
[[wikilink]]in the body text. - Key Subject Filtering: Enable key subjects in settings; random draws will only select from these.
- Local Import & Open Framework: Supports importing Markdown knowledge cards from local folders (supports
dataDirreplacement orextraDirsaddition). Automatically loads files conforming to the subject/category directory structure.
Installation¶
Use the official command to install the Web Profile plugin:
dsh plugin --profile web add @weibaohui/dsh-gaokao -w
Restart dsh web after installation to activate.
Usage¶
- Open the Web UI. The blackboard in the bottom right corner displays the countdown by default. Click the blackboard to flip open a knowledge card.
- Double-click the blackboard to collapse it into a vertical bar (showing only days), and double-click again to expand.
- Use the buttons on the blackboard to operate:
- 🎲 Random: Draw another card from the current subject scope.
- ⏮ / ⏭: Move forward or backward in browsing history.
- ❤: Favorite the current knowledge point. Click ⭐ to view favorites.
- Adjust paper style, scaling ratio, import local knowledge card folders, set key subjects, or modify the Gaokao date in Settings (⚙).
Knowledge Card Format & Hot Reload¶
Knowledge cards are Markdown files stored in the Subject/Category/Card.md structure. Frontmatter is supported to specify subject, grade, tags, and linked cards. The plugin automatically skips README.md, files starting with ., and directories starting with _.
After modifying files, trigger a hot refresh via the API endpoint:
GET /dsh-gaokao/api/reload
Version Compatibility¶
Plugin version 0.4.2 is compatible with DeepSeek Harness version 0.1.7-rc.2.
Conclusion¶
This plugin integrates memory review into the daily development workflow through a visual desktop component, making it suitable for developers who need high-frequency knowledge point review or code note organization.