Task-aware inference mode router
yjh051108/dsh-router-standard · skills
Task-aware reasoning-mode router for DeepSeek Harness: three measured behavior bands (spec/mixed/react) with phase-transition evidence, persona + first-turn tool injection, agent-visible tuning.
★ 361GitHub stars
33Forks
2026-08-23Last updated
JavaScriptLanguage
MITLicense
Key features
- router-standardreads the session's first REAL user message, classifies the task (build → react / fix → spec / ambiguous → weak), and on the first model request injects the matching persona while keeping the full prompt sections
- One preset, two routing modes (v0.2.0 naming), plus the measured three-band axis behind them
- (The captured text is CLASSIFIED, not fed to bandOf raw — the old capture path silently mapped every captured message to the spec band.)
- The same model reaches top-band scores under spec conditions on a maintenance benchmark (Project2: minimal 99/96, anchored 98/99) and under react/code conditions on a greenfield build task (Mario: 10/10), while the wrong mode scores 91 / 6 respectively — a 10-point swing from prompt conditioning alone ("god/ghost duality").
- the first-turn core tool surface follows the band (spec=read/edit/glob/grep, react=read/write/edit, weak=read/write/edit, each plus the platform shell).
Install command
dsh plugin --profile web add github:yjh051108/dsh-router-standard