Preface¶
After installing multiple plugins in DeepSeek Harness (DSH), each plugin typically maintains its own JSON or similar structured configuration files. Manually checking syntax, required fields, empty tokens, local path existence, and valid webhooks item by item is time-consuming and prone to omissions. Errors often surface only during runtime, leading to high debugging costs.
Below, we introduce the community plugin dsh-plugin-config-doctor (maintainer thegabopacheco-sudo), categorized under admin-security. It provides centralized diagnosis for DSH plugin configurations: validating JSON, required fields, empty tokens, non-existent paths, and invalid webhooks, and offering correction suggestions. The plugin currently has 0 stars on GitHub, version 0.1.0, and license MIT; it requires Node.js >= 20 to be used alongside DSH.
What is it¶
dsh-plugin-config-doctor is a configuration health check tool designed for DSH operations and plugin developers. It performs read-only scanning and inspection of existing configurations via an MCP-style tool interface (see below), involving write operations only when explicitly confirmed. It does not replace the documentation included with each plugin, but instead turns the act of “checking if a configuration has obvious problems” into a repeatable step.
Community directory page: https://www.skillhub.cn/plugins/thegabopacheco-sudo/dsh-plugin-config-doctor (independent site, no official affiliation with DeepSeek / QuantCube). Source code and documentation: https://github.com/thegabopacheco-sudo/dsh-plugin-config-doctor.
Core Features¶
The tools listed in the README are as follows (descriptions are based on the original repository):
| Tool | Function |
|---|---|
status |
View status |
scan |
Scan configuration |
check |
Review single or specified configuration |
Combined with the plugin description, the diagnostic scope includes:
- JSON Validity: Whether the structure can be parsed and conforms to the expected format.
- Required Fields: Whether required keys specified by plugins or Harness are missing.
- Empty Tokens: Sensitive placeholders or unauthenticated fields.
- Paths: Whether local paths referenced in the configuration exist.
- Webhook: Whether URL or callback configurations are obviously invalid.
When problems are detected, the plugin suggests a direction for correction; specifically which line to change still requires referring to each plugin’s official documentation and your local environment.
Installation and Enablement¶
The official method provides two ways to install, with consistent identifiers:
- In DSH → Settings → Plugins, install
github:thegabopacheco-sudo/dsh-plugin-config-doctorand follow the prompts to allow the installation script (the repository containsscripts/postinstall.mjs). - Command line (replace
<perfil>with your DSH profile name):
dsh plugin --profile <perfil> add github:thegabopacheco-sudo/dsh-plugin-config-doctor
Before installation, it is recommended to review the repository source code and the MIT license; the plugin runs with current DSH process permissions, just like any other third-party plugin, and you should not blindly allow scripts without reviewing them.
Typical Usage¶
The README does not provide a complete CLI example with parameters; usage is based on the status / scan / check tools exposed by DSH after installation. You can operate in the following order:
- Call
statusto confirm Config Doctor is loaded and the running mode meets expectations (see the Security section below). - Call
scanto perform a breadth-first scan of Harness-side plugin configurations and view the summary list of issues. - For a single configuration file or a specific plugin node, call
checkfor targeted review, and then modify local JSON or environment variables based on the suggestions.
Specific parameter names and return fields are based on the tool schema for the 0.1.0 version you installed in DSH; after upgrading, please refer to GitHub’s CHANGELOG.md and README.
Security and Auditing¶
This plugin is categorized under admin-security, and its default behavior is conservative:
- Default read-only; write operations are only performed when
confirm:trueis included in the request and the user explicitly requests it. - Environment variable
DSH_CONFIG_DOCTOR_MODE=read-onlycan disable write actions, keeping only diagnostics. - Whitelist and audit logs are written to
<DSH_HOME>\cache\config-doctor\audit.jsonl(theDSH_HOMEin the path is based on your local DSH layout).
When using it on production or shared profiles, it is recommended to keep it in read-only mode and leave changes for manual review.
Applicable Scenarios and Notes¶
Suitable for:
- Just bulk installed multiple DSH plugins and need to discover obvious configuration errors all at once.
- After changing machines or migrating
DSH_HOME, verifying if paths and webhooks are still valid. - During team collaboration, performing automated sanity checks before submitting configuration changes.
Notes:
- Diagnostic results cannot replace security audits; issues like token leaks or excessive permissions still need to be handled according to organizational standards.
- Community plugins are not official releases; stars and downloads do not guarantee quality. Please read the
dist/server.mjsbuild chain and manifest files likecordis.patch.yml(seefilesfield inpackage.json) before installing. - Do not extend the capabilities described in this article to “automatically fixing all configurations” where not explicitly documented; write operations are constrained by
confirm:trueand mode switches.
Conclusion¶
dsh-plugin-config-doctor turns the most common class of errors in DSH plugin configurations (JSON, required fields, empty tokens, paths, webhooks) into a repeatable scan / check process, paired with a read-only default and audit logs, making it suitable for pre-launch checks in admin-security scenarios.