Preface¶
When developing agents or conversations in DeepSeek Harness (DSH), models often need to handle “formatting tasks” and “diagnostic tasks” such as JSON validation, log parsing, and traceback localization. A common approach is to have the model write shell commands or scripts on the fly each time: when quoting, encoding, or PowerShell versions change, results become unstable and difficult to reproduce. The DSH ecosystem extends capabilities under the principle “everything is a plugin”; the community plugin directory is maintained on sites such as SkillHub, which has no official affiliation with DeepSeek / High-Flyer.
The following introduces the bundle dsh-toolbox-bundle released by maintainer ax2 (GitHub: ax2/dsh-toolbox-bundle): a single command writes configurations for four independent plugins, totaling 46 deterministic tools that are purely local, network-free, and free of installation-time scripts, covering daily processing such as JSON/YAML/CSV/encoding/regex, as well as parsing common diagnostic inputs on the JVM, Python, and Windows production side.
What This Is¶
dsh-toolbox-bundle itself does not implement tool logic; instead, it inserts four lines of configuration at the DSH bundle layer in one go, depending on and pulling four npm plugins (each with independent versions and independent tests):
| Plugin | Tools | Focus |
|---|---|---|
| dsh-deterministic-tools | 29 | JSON validation (exact line/column), JSONPath, diff, CSV/YAML conversion, text statistics, regex, encoding/decoding and hashing, etc. |
| dsh-jvm-doctor | 5 | Thread dumps (including Java-level deadlock cycles), GC logs, Maven/Gradle dependency conflicts, exception chains, Spring configuration diff |
| dsh-py-doctor | 6 | Tracebacks, pytest, Django migrations/N+1/checks, celery reports (all with parsing coverage) |
| dsh-win-native | 6 | Encoding detection and conversion, Windows path legality, netstat interpretation, read-only disk inspection and duplicate files |
The README states: 214 tests pass; license MIT; current npm package version 0.1.2 (subject to the repository’s package.json). The predecessor package names dsh-zidev-toolbox and @ax2zicode/dsh-dev-toolbox have been deprecated on npm and now point to this package.
Core Capabilities and Design Orientation¶
The four plugins’ responses follow a unified contract: structured { result, meta }, refusal when over budget (e.g., INPUT_TOO_LARGE), text truncation by code point with a truncated marker, parsing tools reporting coverage and unrecognized lines; they declare capability boundaries (e.g., jwt_inspect does not verify signatures, netstat_parse does not fabricate process names not present in the text).
Of the 46 tools, only 2 access the disk read-only: dir_usage and file_duplicates (with file count/byte budgets, not following symbolic links or junctions). The remaining tools only analyze user-provided text or bytes, do not make network requests, and do not depend on additional binaries.
Compared with “leaving everything to the model to compute mentally”, the README’s position is: the model often gets it right, but the plugin provides a higher first-pass success rate, reproducible output under a fixed implementation, and clear boundary behavior—suitable for tasks where the input is much larger than the output, or aggregate tasks that are difficult to complete reliably in a single shell line.
Installation and Activation¶
The npm package name is dsh-toolbox-bundle, corresponding to the GitHub repository ax2/dsh-toolbox-bundle.
Installation for the Web profile:
dsh plugin --profile web add dsh-toolbox-bundle
After installation, restart the DSH application (the bundle list is read at startup). For the Desktop version, replace web with desktop:
dsh plugin --profile desktop add dsh-toolbox-bundle
For offline or pinned versions, fetch the tarball from Release:
dsh plugin --profile web add https://github.com/ax2/dsh-toolbox-bundle/releases/latest/download/dsh-toolbox-bundle.tgz
Do not mix-install with the four plugins already included in this bundle, otherwise tools with the same name will be registered twice. Family overview entry: zicode.com/software.
Runtime environment: package.json requires Node.js >= 20.10.
Typical Usage¶
After installation and reload, paste common production-side snippets into the conversation, and the model can select the corresponding tool. The Python traceback example given in the README:
Traceback (most recent call last):
File "svc.py", line 42, in handle
KeyError: 'user_id'
The model can call python_traceback to get structured fields (exception type, deepest stack frame, cause_hints, coverage, etc.), making it easier to fix code or query data in the next step rather than manually scanning line numbers in long text.
Other correspondences (excerpted from the README):
| User intent (illustrative) | Tool | Output highlights |
|---|---|---|
| Validate JSON with trailing commas, need exact line/column | json_validate |
line/column/position + error message |
Check if C:\temp\CON.txt is legal |
path_inspect |
Preserves DOS device name rules etc. |
| Analyze whether jstack has deadlocks | java_thread_dump |
Deadlock cycles, lock contention, state histogram |
| GC log p99 pause | java_gc_log |
Pause percentiles, Young/Full, etc. |
Find what’s listening on 8080 from netstat -ano |
netstat_parse |
Listening entries and PID/process name (text-based only) |
| Check directory usage | dir_usage |
Total bytes, largest file, extension histogram |
Token Cost and On-demand Trimming¶
Tool schemas are sent with every request, so installation occupies prompt space even if the user does not call the tools. The README’s measured results (not estimated): on a clean headless base (75 tool names, ~11,931 inputTokens), after adding this bundle’s 46 tools, there are about 121 tool names, and the first request costs about 19,608 inputTokens (+7,677). A single “validate JSON and give exact line/column” task: without the plugin it takes about 3 steps, 13.0 s; with the plugin it takes about 2 steps, 6.1 s, but raw tokens may actually be more—one-off small tasks are not necessarily more token-efficient; it’s more suitable for scenarios where large inputs are compressed into the tool, results are much smaller than inputs, or the model is prone to calculation errors.
If only a common subset is needed, you can configure only and toolPrefix by plugin id in your own profile’s profiles/<name>/cordis.patch.yml (the README example targets deterministic-tools). Do not use dsh --patch to modify ids not exposed at the bundle layer, otherwise you will get patch: entry "deterministic-tools" not found.
Use Cases and Caveats¶
Suitable for: developers and agent scenarios that need stable handling of JSON/YAML/CSV, regex and encoding in DSH conversations; pasting JVM thread dumps / GC logs, Python tracebacks / pytest / Django reports; interpreting netstat, paths, and disk usage (read-only) in Windows environments.
Caveats:
- The plugin runs with the current dsh process’s privileges; before installation, please review the GitHub source code and each sub-plugin repository and the MIT license yourself.
- The bundle is a configuration aggregation layer; the four plugins can also be installed individually from npm or their respective
releases/latest/download/<repo>.tgz; choose one or the other (bundle or individual), to avoid duplication. - The SkillHub directory categorizes this as “model reasoning”; repository star count is based on the directory page (currently 0), which does not represent feature completeness—please refer to the README and test documentation.
Conclusion¶
dsh-toolbox-bundle uses a single DSH command to mount four deterministic, offline toolchains into the profile, turning format processing and JVM/Python/Windows diagnostics from “writing scripts on the fly each time” into fixed implementations and structured responses. Directory page: SkillHub — ax2/dsh-toolbox-bundle; source code and installation instructions: github.com/ax2/dsh-toolbox-bundle.