Introduction¶
Writing prompts and running Sessions in DeepSeek Harness (DSH) for extended periods can easily lead to a lack of rhythm, despite the screen remaining consistent. While system-level Pomodoro timers or browser extensions can track time, they are separated from the conversation interface, and daily statistics must be recorded manually. The community plugin @skillre/dsh-plugin-pomodoro embeds the classic Pomodoro Technique into the DSH Web UI: it provides a persistent capsule below the input box (composer) featuring a countdown, phase switching, and the current day’s focus count. Preferences are stored locally in the browser, without touching Session logs or exposing state to the model.
What is this¶
Maintained by skillre, @skillre/dsh-plugin-pomodoro is categorized as a client-side plugin. The current package version is 0.1.0, and the README marks its status as experimental. It targets developers already using the Web interface in DSH: it provides a focus / short break / long break cycle below the conversation input area and records the number of completed focus rounds and total focus duration for the current day.
The plugin entry in cordis.patch.yml contains no config field; all adjustable items are user preferences modified via the settings page and written to the browser’s localStorage, rather than altering the host configuration file.
Core Features¶
Persistent Capsule Below the Input Box¶
The plugin registers conversation.composer.dock (session scope). On conversation pages with an active Session, a capsule UI is displayed below the input box, containing:
- Current phase and countdown
- Progress of the current round
- Three actions: Start/Pause, Restart, and Skip to Next Phase
Phases cycle according to the Pomodoro Technique: Focus → Short Break → … → Long Break after completing N focus rounds → back to Focus.
Daily Statistics¶
Records the number of focus rounds and focus duration completed on the current day; “Today” is defined by the browser’s local timezone, and counts reset automatically upon crossing local midnight. Ongoing phases are not interrupted when crossing midnight; they are only counted towards the new day upon completion.
Settings Page Preferences¶
An independent section is registered under Settings (settings.section, root scope), allowing adjustment of the items in the table below. Out-of-bounds inputs are clamped to the valid range, and corrupted or legacy data degrades gracefully to usable configuration.
| Preference | Default | Range | Description |
|---|---|---|---|
| Focus Duration | 25 min | 1–180 | Length of one focus round |
| Short Break | 5 min | 1–180 | Break after a standard focus round |
| Long Break | 15 min | 1–180 | Break after completing a cycle |
| Focus Rounds Before Long Break | 4 | 1–12 | Number of focus rounds in one cycle |
| Auto-start Break | On | On/Off | Enter break immediately after focus ends |
| Auto-start Focus | Off | On/Off | Enter next focus round immediately after break ends |
Non-Goals (Deliberately Excluded in the First Version)¶
- System notifications, sounds, or browser Notifications (no additional permissions requested)
- Writing to Session logs or registering Model-visible Tools (pure UI state; the model cannot see the Pomodoro timer)
- Cross-device cloud synchronization
- Continuing to run when the DSH page is closed (see Limitations below)
Installation and Activation¶
Once published, install it under a specified profile:
dsh plugin --profile <profile> add @skillre/dsh-plugin-pomodoro
The package.json requires Node ^22.19.0 || >=24.0.0, and the DSH peer range is >=0.2.0-rc.2 <0.3.0. The README documents verification completed on DSH 0.2.0-rc.2 (as of 2026-09-30), including installing a packaged tarball into a desktop profile. Verification for dump-config, bounded-startup, and real browser visual testing is not yet complete; it is recommended to review the source code and the MIT License yourself before installing.
For local development, use the packaged tarball. Do not use dsh plugin ... add . pointing to the source directory (this causes dependency resolution to resolve to the plugin’s own node_modules, which often leads to startup failures during packaged installation):
npm install
npm run check
npm pack
dsh plugin --profile <dev-profile> add ./skillre-dsh-plugin-pomodoro-<version>.tgz
dsh --profile <dev-profile> --dump-config
dsh --profile <dev-profile>
For updates and rollbacks, refer to UNINSTALL.md in the repository.
Typical Usage¶
- Install and launch the DSH Web UI for the corresponding profile, then enter a conversation page with an active Session (the capsule next to the composer does not appear on a blank homepage without a Session; the settings page is unaffected).
- Click start on the capsule below the input box to begin a default 25-minute focus session; modify durations, cycle rounds, or “Auto-start Break / Focus” in the settings as needed.
- Use pause, restart, or “Next Phase” to manually control the rhythm; the number of focus rounds and duration completed on the current day are displayed on the side of the capsule, resetting after local midnight.
Preferences and timing state are saved under the localStorage key skillre-pomodoro/state (payload version currently 2), containing only the plugin’s own JSON, not Session content. If storage is unavailable or full, it silently degrades to in-memory operation, and timing remains functional.
Use Cases and Notes¶
Who it is for: Users already writing Sessions in the DSH Web UI who want the timer and input area on the same screen and accept that data remains solely in the local browser.
Permissions and Side Effects (README Summary): No network, no credentials, no file I/O on the Host side; the UI uses the skp-pomodoro- class name prefix and --dsw-alias-* theme variables without replacing host DOM. It refreshes every second while running; when idle, it sleeps until the next local midnight. The plugin loads with the DSH client; please read the repository source code and license before installing to ensure compliance with your environment policies.
Known Limitations:
- Timing does not progress in the foreground while the entire browser page is closed; upon reopening, it settles expired phases based on absolute timestamps and does not backfill multiple Pomodoro rounds missed during sleep.
- Each tab holds its own state, converged via
localStorage, with no real-time cross-tab broadcasting; if Tab A starts, Tab B must wait for a refresh to sync. - A single settlement handles only one expired phase; it will not backfill multiple rounds at once after a long period of sleep.
- No notifications or sounds.
The DSH ecosystem emphasizes “Everything is a plugin”; the community directory skillhub.cn is an independent site with no official affiliation with DeepSeek or High-Flyer.
Links¶
- Directory Page: https://www.skillhub.cn/plugins/skillre/dsh-plugin-pomodoro
- Source Code & Documentation: https://github.com/skillre/dsh-plugin-pomodoro
If you specifically need a Pomodoro timer that stays “inside the conversation interface, with local preferences, and without interfering with model context,” you can install it into a profile using the commands above and use the settings page and composer capsule directly within your Session conversations.