DSH Capability Inspector: Read-only Runtime Capabilities and Diagnostics

Preface

After installing plugins, configuring MCP servers, and wiring up Skills in DeepSeek Harness (DSH), what the agent “should theoretically be able to use” and what is “actually visible inside the current process” often do not match: tools missing from scope, model catalogs not fully loaded, or workspace and session persistence misbehaving. Troubleshooting then means flipping through configuration and logs item by item. DSH Capability Inspector targets exactly this class of problems, providing a single-call, consolidated read-only diagnostic—effectively a capability matrix plus runtime health check on the Harness side—without modifying configuration or auto-repairing faults.

What This Is

DSH Capability Inspector is a read-only runtime diagnostics and health-check plugin for DeepSeek Harness. It registers an inspect_dsh tool with the calling agent, reports the capability set actually available to the current agent, and flags possible configuration or runtime issues. The community catalog categorizes it under admin-security; the repository is maintained on GitHub (the GitHub install source in the README is github:tree201/dsh-capability-inspector; where it coexists with the tree-freedom namespace shown on some catalog pages, the install command should follow the README verbatim). Licensed under MIT, package version 0.1.0.

The plugin does not return plaintext credentials such as API keys, does not modify configuration, and does not automatically fix failing checks.

Core Functions

inspect_dsh builds on the read-only enumeration APIs supported by the Harness. The first release covers the following checks:

  1. Runtime environment: Node.js version, operating system, architecture, and current working directory.
  2. Tools: the list of tools visible within the calling agent’s scope.
  3. Models: LLM providers and their model catalogs.
  4. Skills: Skill directories, providers, and invocation modes.
  5. Workspaces: registered workspaces, directory state, and the number of associated sessions.
  6. Sessions: whether session persistence is available.
  7. Gaps and errors: missing capability items, plus error messages when an individual check fails (a single-item failure does not break the whole report).

If you are searching for DeepSeek Harness Doctor, DSH diagnostics, MCP troubleshooting, or plugin readiness checker, this plugin’s positioning matches those keywords.

Design Boundaries

Before using it, you should understand what it deliberately does not do:

  • It does not inspect Cordis private reflection state.
  • It does not expose credential values.
  • It cannot diagnose other plugins that already failed before this plugin was loaded.
  • It reports problems only; it offers no automatic remediation.

Installation and Activation

DeepSeek Harness is currently in developer preview. If pnpm requests build-script authorization when installing from Git, review the source per the DSH plugin installation guide before granting it.

Install from GitHub (commands from the official README):

dsh plugin --profile web add github:tree201/dsh-capability-inspector
dsh web

Install from a local directory:

dsh plugin --profile web add /absolute/path/to/dsh-capability-inspector
dsh web

After installation you must restart DSH (or restart the web process per your profile’s flow) for the plugin to register inspect_dsh.

Typical Usage

Once DSH has restarted, you can simply ask the agent in natural language to run the diagnostic, for example:

Inspect the current DSH runtime and summarize available capabilities and warnings.

More focused prompts also work:

List the tools and skills available to this agent.

Check model providers and model catalogs.

Check workspace and session persistence health.

When the agent calls inspect_dsh, it may specify a scope:

scope meaning
summary Full report (default)
tools Tool catalog
models Providers and model catalog
skills Skill catalog
workspaces Workspace health
sessions Session persistence health

Use Cases and Caveats

Good for: debugging the DSH plugin ecosystem under local or web profiles, verifying whether MCP/Skills/models are visible to the current agent, troubleshooting workspace and session persistence, and running plugin-readiness self-checks.

Caveats:

  • The plugin runs with the permissions of the current DSH process; before installing from GitHub or a local path, review the source code and the MIT license yourself and only trust sources you approve.
  • Read-only diagnostics are not a substitute for a security audit; the admin-security classification indicates an emphasis on administration and observability, not a replacement for the permission model.
  • It depends on peer version ranges of @deepseek-ai/cordis and @deepseek-ai/dsh-tools, which must match the Harness version you are using.

For a developer-side self-check you can run:

pnpm install
pnpm run check

check runs TypeScript type checking, unit tests, and the build in sequence.

Closing

DSH Capability Inspector consolidates tools, models, Skills, workspaces, and sessions into a single read-only report, making it easy to quickly reconcile the runtime reality when “everything is configured but the agent still cannot use it.” See the repository’s llms.txt for further indexing and documentation.

  • Community catalog: https://www.skillhub.cn/plugins/tree-freedom/dsh-capability-inspector
  • GitHub: https://github.com/tree-freedom/dsh-capability-inspector (README install source: tree201/dsh-capability-inspector)
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye