DeepSeek peak-pricing cost guard for DSH
moon09300731/dsh-peak-cost-mode · skills
DeepSeek peak-pricing cost guard for DSH: automatic caveman-style compressed output during peak hours (Beijing 09:00-12:00 / 14:00-18:00, x2) + header badge & transition toasts.
★ 3GitHub stars
0Forks
2026-08-25Last updated
JavaScriptLanguage
MITLicense
Key features
- Automatic peak detection — Beijing time (UTC+8, no DST) is checked every 30 s against the DeepSeek V4 peak-pricing schedule
- Host (src/index.mjs)a 10 s timer computes the Beijing wall-clock time and drives a three-state machine (peak / voluntary / none).
- Peak-hour cost saving — while in a peak window, a "Peak Cost Mode" prompt section is injected, instructing the model to reply in ultra-compressed caveman style (drop filler/pleasantries/hedging, keep all technical content verbatim: code, commands, API names, file paths, exact error strings, numbers
- safety warnings and irreversible-action confirmations are never compressed).
- Transition reminders — toasts on every tier switch
Install command
dsh plugin --profile web add github:moon09300731/dsh-peak-cost-mode