Back to home

Canson666

dsh-minimal-tools-preset

No description

Stars
0
Language
PowerShell
Created
Aug 15, 2026
Updated
Aug 15, 2026

Introduction

DSH Agent Preset: Minimal + Toolkits (极简 + 工具包)

English | 中文

A DeepSeek Harness agent preset: the minimal core (persistent bash + file editor, one-line fixed prompt, no runtime-context snapshot, no compaction) plus mountable tool packs — file search, web search, skills, plan mode, and a code-review skill.

Why

minimal mode is fast because it composes almost nothing: two tools and a tiny prompt. standard composes everything at once. This preset keeps the minimal core and adds only the packs you actually want — better speed than standard, more capability than minimal.

Included packs

PackRowsNotes
File searchtool-fs, tool-fs-searchread/edit/glob/grep
Web searchtool-websearch only, no fetch
Skillsskill-filesystem, tool-skillloads the preset's own skills/
Plan modedsh-plan-mode (isolated realm)plan-first workflow
Code reviewskills/code-reviewself-review your diff before finishing

Install

The preset id is minimal-tools; it must live at ${DSH_HOME:-$HOME/.dsh}/.agent-presets/minimal-tools/.

Option A: one-command script

PowerShell (Windows):

irm https://raw.githubusercontent.com/Canson666/dsh-minimal-tools-preset/main/install.ps1 | iex

or, from a checkout of this repo:

powershell -ExecutionPolicy Bypass -File .\install.ps1

Bash (macOS / Linux):

bash <(curl -sL https://raw.githubusercontent.com/Canson666/dsh-minimal-tools-preset/main/install.sh)
# or, from a checkout of this repo:
bash install.sh

The scripts install from the local minimal-tools/ folder when they find it next to themselves (a checkout), and download it from GitHub otherwise — so the one-command forms work anywhere.

Option B: manual copy

# from a checkout of this repo
mkdir -p "$HOME/.dsh/.agent-presets"
cp -r minimal-tools "$HOME/.dsh/.agent-presets/"

Then start a new session in the GUI and pick 极简+工具包. A new session is required — a session already open keeps the composition it started with (the standing mount is stamped per composition file, so only sessions created after the files are in place see the packs, including code-review).

Verify

Start a new session in the GUI and pick 极简+工具包: the tool list should show file-search, web-search, and plan tools alongside the minimal bash + editor, and the skill list should include code-review. The session record also stamps the preset id (agentPreset: minimal-tools) in its log header, so you can confirm which preset a session actually runs.

How the code-review pack works

Ask the agent to review its changes (or say "check your work before finishing"), and it loads the code-review skill: it diffs the workspace (git status / git diff), reads the changed code in context, checks correctness / security / performance / consistency / error paths, fixes what it can, and reports a severity-tagged verdict. This is the self-review variant — the same agent that made the changes reviews them. A stronger "independent reviewer" variant needs the subagent pack (tool-subagent) added to the composition; that row consumes the host subagents registry and needs no realm.

Compatibility

  • Requires DeepSeek Harness with the shipped minimal and standard presets (the rows referenced here — @deepseek-ai/dsh-* — ship with the harness).
  • Windows and Unix both work: the !!js skill-root expression resolves skills/ relative to the preset's own directory (baseUrl), so the copy works from any install location.
  • Shell is platform-split: on Unix the persistent bash PTY chain is used; on Windows there is no bash PTY backend, so the preset disables it and uses the one-shot tool-pwsh instead (the same row standard uses on Windows).

License

MIT