Preface¶
DeepSeek Harness (DSH) adopts a plugin-based architecture, and dsh-study-planner is one of its client plugins. It leverages DSH’s conversation view to add a “Study Plan” tab next to the chat tab, breaking down study plans into daily tasks, exercises, and check-in progress, while providing a visual interface.
The core value of the plugin lies in: plan content is dynamically generated by AI during conversations, check-in data is stored locally, making it suitable for scenarios requiring long-term tracking of learning progress.
Core Features¶
- Plan Table: Displays topics, knowledge points, reading chapters, hands-on tasks, completion criteria, and daily exercises (including questions, hints, reference answers, and difficulty) by week or by day.
- Check-in Progress Visualization: Shows total progress percentage, completed days, cumulative study hours, consecutive check-in days, and exercise completion count, along with a clickable check-in calendar.
- Today’s Recommendation: After setting a start date, the system calculates which day should be studied “today” based on calendar days; when not set, it automatically recommends the first uncompleted day.
- Plan Generation: Enter your goal at the top of the page, click to fill the prompt into the chat box below, and press Enter to send. The AI generates the plan file according to the specified JSON format, and refreshing the page displays it.
- Multi-plan Support: Supports multiple study plans. The number of options in the dropdown at the top of the page equals the number of plan files in the
plans/directory. - Data Localization: Plan files are plain JSON; check-in records are maintained by the plugin host and all stored in the
~/.dsh/study-planner/directory.
Installation¶
Install by running the following command in the terminal:
dsh plugin --profile <your profile> add github:4399Accelerator/dsh-study-planner
After installation, refresh the page (F5). If the tab bar does not appear, try restarting DSH.
Usage¶
- Enter the Tab Page: Open any conversation that has already sent messages (blank conversations do not display the tab bar), then click the “Study Plan” tab at the top.
- Generate a Plan: The first entry shows a guide page. Write your learning goal in the input box, for example, “6 weeks of Python data analysis, 1 hour per day, zero foundation.”
- AI Generation: Click “Let AI Generate Plan.” The prompt will automatically fill into the input box below this conversation; press Enter to send. The AI generates the plan file in JSON format and writes it to the local data directory.
- View and Check-in: Return to this page and click “Refresh” to see the plan table. View overall progress and calendar on the left, and today’s tasks on the right. Click “Complete Today’s Check-in” when finished.
You can also skip the button and directly input commands in the conversation to have the AI generate the plan.
Data and Host Interface¶
All data is stored in the local path ~/.dsh/study-planner/:
* plans/: Stores plan JSON files.
* progress.json: Stores check-in records (manual modification is not recommended).
* README.md: Description of the plan JSON format.
The plugin host side registers an HTTP interface POST /dsh-study-planner/api accessible only via local loopback, used for reading and writing state. Supported actions include state (get state), plan (get plan), toggle-day (check-in/undo), toggle-exercise (exercise check), etc.
Notes¶
- DSH currently does not support automatic plugin updates; upgrading requires uninstalling first and then installing the new version.
- Uninstalling the plugin will not delete data in the
~/.dsh/study-planner/directory. - Blank conversations do not display the tab bar; messages must be sent in the conversation first.
- The plugin depends on the Web/Desktop form provided by the host, and the host interface is only accessible via local loopback.
Ecosystem Background¶
This plugin is maintained by community developers. Source code can be obtained from the SkillHub Plugin Directory or GitHub.