rand0wn/dsh-minimal-anchor

rand0wn★ 0TypeScriptLast synced: 2026-08-17

Open on GitHub

DeepSeek Harness (dsh) plugin: prune the tool schema and inject a structural preamble on a session's first turn only

README excerpt

dsh-minimal-anchor A DeepSeek Harness ( dsh ) plugin that shields turn 1 from tool-schema overload. Why A fresh dsh session hands the model the entire configured toolset — file edits, bash, subagents, jobs — on message one, even when the first message is just "look at this repo and tell me what's going on." A smaller, focused schema on that first turn keeps the model's early reasoning on exploration instead of premature action, without touching how any later turn behaves. dsh-minimal-anchor hooks the harness's own prompt-assembly pipeline to: 1. Prune tools on turn 1 only — down to a configurable whitelist (default: read , glob , grep ). 2. Prepend a short structural preamble on that same turn, framing the session as exploration-first. 3. Get out of the way from turn 2 onward — every later assembly for that session passes through completely untouched, full toolset restored. Install or from a local checkout: This adds the package as a dependency of the profile, but does not by itself activate it — dsh only applies a package's dsh.bundle patch for packages listed in that profile's dsh.profile.bundles . Add the package name to that list in profiles/ /package.json : Confirm it composed…

View full README on GitHub →
Tools / Devcordisdeepseek-harnessdsh-pluginagent

Category