dsh-docs-reader: Reading Repository Docs and Skill Libraries in the DSH Web Sidebar

Preface

When developing agents or plugins in DSH, documentation is often scattered across the docs/ directory in the repository and the preset skill library paths. Opening them with external editors or static sites gives you two separate interfaces from the current Web workspace, and the retrieval and reference relationships between documents are not intuitive.

dsh-docs-reader is a community-maintained client-side plugin (maintainer als3453) that adds a “Development Docs” entry to the left sidebar of the DSH Web, placing the directory tree, Markdown reading, full-text search, and knowledge graph in the same panel. Documentation data is not bundled with the plugin; instead, it dynamically reads the docs/ directory and skill library directory of the dsh repository in the running environment. After repository documentation updates, restarting dsh web will apply the changes.

What is this

  • Name: dsh-docs-reader (Cordis plugin id is also dsh-docs-reader)
  • Category: Client-side (dsh.client.platform: web)
  • Positioning: DSH development documentation reader and knowledge graph plugin
  • Repository: github.com/als3453/dsh-docs-reader (MIT, package version 1.0.0)
  • Catalog page: skillhub.cn/plugins/als3453/dsh-docs-reader (Community plugin catalog, not officially affiliated with DeepSeek / High-Flyer)

The Host side provides the DocsReader service via index.js (scanning, reading, searching docs); the Client side registers the sidebar entry, main panel, and inline ECharts graph via client.js.

Core Features

The following capabilities are all from the plugin README:

  • Entry: “Development Docs” at the bottom of the left sidebar (sidebar.panellist slot)
  • Directory tree: Grouped collapse, hierarchical indentation; Chinese and English titles displayed according to document language
  • Reading: Markdown rendering (code blocks, tables, heading levels, Chinese/English switching)
  • Search: Full-text search, matching titles and paths
  • Knowledge graph: ECharts 5.5.1 inline, offline available — overview force-directed graph → click node to highlight nodes and edges → right-side preview summary → reference relationship browsing
  • Right sidebar: Table of contents for this page, path, referenced documents, “Referenced by the following documents” (click to jump and locate)

Installation and Enablement

Currently only supports GitHub or local path installation; the plugin has not been published to the npm registry, so dsh plugin add dsh-docs-reader (npm package name method) is currently unavailable.

The plugin is pure JavaScript with no build scripts; git installation is ready to use, no pnpm build authorization needed.

dsh plugin --profile web add github:als3453/dsh-docs-reader

Restart dsh web after installation. If your profile name is not web, first check with dsh profile list, then replace web in the command with the actual profile name.

Method B: Local path installation

After downloading the ZIP from GitHub and extracting it, fill in the extracted folder path into <extracted path> (suitable for offline or local debugging):

dsh plugin --profile web add link:<extracted path>

Method C: DSH internal install_bundle

Call the plugin management tool in DSH:

plugin_manager → action: install_bundle → target: <plugin package absolute path>

After installation, confirm the line is activated (application: applied), and the “Development Docs” entry should appear at the bottom of the sidebar.

Data Sources and Configuration

By default, the plugin reads two data sources from the repository where the plugin package resides (relative to the plugin package path):

Data Source Default Path Description
Development docs ../../docs/ Repository docs directory
Skill library ../../packages/preset/agent-preset/skills/ Built-in Skill documentation (SKILL.md + references)

Can be overridden via config.root / config.skillsRoot (relative or absolute paths are both fine), written in the plugin line’s patch layer or the profile’s cordis.patch.yml, for example:

- override:
    - id: dsh-docs-reader
      config:
        root: /path/to/deepseek-harness/docs
        skillsRoot: /path/to/deepseek-harness/packages/preset/agent-preset/skills

Typical Usage

  1. Install via any of the above methods and restart dsh web.
  2. Open “Development Docs” at the bottom of the left sidebar, select a Markdown document in the directory tree to read.
  3. Use the search box to locate documents by title or path.
  4. Switch to the knowledge graph view, click nodes to view highlighted relationships and right-side summaries, then navigate through “Referenced documents / Referenced by” in the right sidebar.

Uninstall example:

dsh plugin --profile <name> remove dsh-docs-reader

Or use plugin_manager → remove_bundle within DSH.

Use Cases and Notes

Suitable for: Developers who are already running DSH Web in a local or deployed environment and want to browse the repository’s docs/ and preset skill library documentation without leaving the workspace, and view reference relationships between documents.

Compatibility (README notes):

  • Depends on @deepseek-ai/dsh-typert-protocol, @deepseek-ai/dsh-api-gateway, resolved by dsh installation; the plugin package does not separately declare dependencies.
  • Styles use --dsw-alias-* theme tokens and dark fallbacks, adapting to the host’s light/dark theme; does not introduce Harness Client packages.

Security and Permissions: The plugin runs with the permissions of the current dsh process and reads files under the paths you configure for root / skillsRoot. Before installation, please read the repository source code and LICENSE (MIT) to confirm that the paths and data sources comply with your environment policy.

Conclusion

dsh-docs-reader connects the development documentation and skill library documentation within the DSH repository to the Web sidebar, and adds search and knowledge graph capabilities, making it suitable as a documentation reading client extension in the DSH ecosystem under the “everything is a plugin” philosophy.

羽毛球分组比赛记分
小程序二维码

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

Xiaoye