Preface¶
When running agents in DeepSeek Harness (DSH), gaps often occur during a conversation turn: waiting for tool returns, connecting to MCP, reading large files, or dispatching sub-agents. During these intervals, users are left staring at the interface, and the main task itself cannot be easily interrupted. The idle-scholar plugin operates on a simple concept: at the start of a turn that will involve user waiting, display a learning card first, then proceed with the main task. One card corresponds to one waiting turn, ensuring the main workflow remains unobstructed.
The following sections describe the plugin’s positioning, capabilities, installation configuration, and course pack format. All facts are derived from the GitHub repository README and package.json (current version 0.3.0, MIT License).
What is this¶
idle-scholar (npm package name @dsh-plugin/idle-scholar) is published by maintainer Smallballoons01 and categorized as “Memory” in the SkillHub plugin directory. It is designed for idle-time micro-learning within DSH: transforming agent waiting gaps into flash cards.
The built-in seed decks cover English, Japanese, and China’s National Judicial Examination (Law Exam) across eight subjects (Criminal Law, Civil Law, Criminal Procedure, Civil Procedure, Administrative Law, Commercial/Economic/IP Law, International Law, and Jurisprudence/Legal Theory). New subjects can be extended via standard JSON course packs, and community decks can be added via pull requests.
Core Features¶
The plugin performs two main tasks simultaneously, providing both card content and progress tracking.
System Prompt & Skill¶
- System Prompt Snippet: When a turn is expected to involve user waiting, a learning card is displayed at the very beginning of that turn, followed by the continuation of the main task.
- Embedded Skill
idle-scholar: A complete workflow including card formatting, course rotation, and a “stop learning” exit option.
Three Tools¶
| Tool | Function |
|---|---|
study_card |
Draws a card; supports optional course / deck / type filtering. Unseen cards are prioritized, while recently repeated ones are excluded. |
study_status |
Displays today’s count vs. daily goal, streak days, deck coverage, and course catalog. |
study_switch |
Switches the default course, persisting across sessions. |
Progress data (seen count per card, daily totals, streak days) is written to $DSH_HOME/idle-scholar.json, not within the repository directory.
Card Types¶
Individual cards within course packs support: vocab (vocabulary), quiz (multiple choice, where answer is the index within choices), concept (knowledge points), and tip (cultural/practical advice). All cards require a non-empty explanation.
Installation and Activation¶
DSH Plugin Method¶
The installation command provided in the official README is as follows (replace the path with your local plugin directory; do not guess the command as dsh plugin add github:… based on the repo name):
dsh plugin --profile web add /path/to/idle_scholar
Reload the harness after installation. In DeepSeek Harness ≥ 0.2.1-alpha.3 with hot reload enabled, plugin code updates may not require a restart; however, the first installation still requires a reload. If the profile’s cordis.patch.yml already contains an idle-scholar line, delete it first—duplicate registration will prevent startup.
Rebuilding the profile with dsh … --from-default-profile will replace that profile (including the plugin list), requiring you to re-add this plugin afterwards.
Standalone Skill (Any Agent Tool)¶
The Skill follows Agent Skills and can be copied to common skills directories:
cp -r skills/idle-scholar ~/.claude/skills/ # or ~/.agents/skills, ~/.codex/skills, etc.
The Skill remains functional without installing the DSH plugin tools: the model generates cards on the fly following skills/idle-scholar/references/course-topics.md.
Configuration Options¶
| Field | Default Value | Description |
|---|---|---|
enabled |
true |
Master switch; when off, the prompt snippet is not injected (tools and Skill remain mounted). |
defaultCourse |
'en' |
The course used by study_card when no filter is provided. |
dailyGoal |
10 |
Daily card goal count, used for progress display. |
promptSection |
true |
Whether to expose the system prompt snippet. |
skill |
true |
Whether to register the embedded idle-scholar Skill. |
coursesDir |
— | Directory for additional course packs, loaded alongside built-in decks. |
stateFile |
$DSH_HOME/idle-scholar.json |
Path to the progress file. |
Typical Usage and Course Packs¶
Drawing Cards and Switching Courses¶
The model calls study_card at the start of a waiting turn; it may pass course, deck, or type if necessary. Use study_status to check progress; use study_switch to change the default course.
Course Pack Format¶
A deck is a JSON file located at courses/<course>/<deck>.json. The structure example is as follows (excerpted from README):
{
"id": "en-vocab",
"course": "en",
"name": "English core vocabulary",
"cards": [
{
"id": "en-vocab-001",
"type": "vocab",
"prompt": "**serendipity** means?",
"hint": "noun, related to chance",
"answer": "The faculty of making fortunate discoveries by accident",
"explanation": "From The Three Princes of Serendip.",
"tags": ["CET6"]
}
]
}
To contribute a new subject: add it to courses/<course-id>/<deck-id>.json according to the format (deck and card IDs must be globally unique; this is validated by test/decks.test.js in the repository); synchronously update the course table in course-topics.md and skill.js; and run npm test to validate the deck.
Use Cases and Notes¶
Who it is for: Developers who develop or use agents in DSH long-term and wish to perform light review (English, Japanese, Law Exam, or self-built JSON decks) during tool-waiting gaps.
Runtime and Trust: The plugin runs with the permissions of the current DSH process. It reads and writes $DSH_HOME/idle-scholar.json and injects learning content during waiting turns. Before installation, please review the GitHub source code and MIT License to ensure compliance with your environment and requirements. SkillHub is a community plugin directory and has no official affiliation with DeepSeek / High-Flyer; the DSH ecosystem emphasizes “everything is a plugin,” and the directory site serves as an independent discovery channel, not an official app store.
Environment: package.json requires Node ≥ 20. The targeted harness-related package versions for development are specified in the README (e.g., @deepseek-ai/dsh-tools 0.2.1-alpha.4). It is more stable to align these with your DSH version before installing the plugin.
Roadmap (Items listed as incomplete in README): Web panel (settings area + sidebar streak counter), Spaced Repetition (SM-2 style scheduling to replace current seen-weighting), more seed decks (e.g., Law Exam case style cards, TOEFL/IELTS, Classical Chinese, etc.).
Conclusion¶
idle-scholar transforms “waiting for tools” into “one card,” without occupying the main task workflow; it includes built-in English, Japanese, and Law Exam seed packs, with extensions relying on JSON course packs and community PRs. Directory Page: SkillHub - dsh-idle-scholar; Source Code and Full Documentation: GitHub - Smallballoons01/dsh-idle-scholar.