Introduction

When developing agents or toolchains based on DeepSeek Harness (DSH), handling formatting requirements for specific platforms, such as Xiaohongshu notes, is a common scenario. The dsh-xhs-note plugin provides this capability directly by converting Xiaohongshu note data into a tool format compliant with the DSH specification, making subsequent automation or integration easier.

Scope and Features

This is an online tool plugin maintained by guobinmengxiang-rgb. It formats Xiaohongshu notes as a DeepSeek Harness tool and injects it into DSH’s tool collection through the plugin system.

Core capabilities include:
* Export Name: format-xhs-note
* Tool Name: format_xhs_note
* Injection Point: tools
* Title Rule: limited to 20 Unicode code points

Installation and Activation

Use the official CLI to install it. Make sure the @deepseek-ai/dsh-tools dependency is available in the current environment.

dsh plugin --profile web add github:guobinmengxiang-rgb/dsh-xhs-note

After installation, you can verify that the layer was added correctly by dumping the configuration:

dsh --profile web --dump-config

The output should include the dsh-xhs-note layer. Once the configuration is correct, start the profile in the usual way.

Typical Usage

After the plugin is installed, the injected tool will appear in DSH’s tool list. The package includes a demo file that can be run directly to see the result:

node demo.mjs

Notes

  • Runtime Environment: The plugin runs on the local machine.
  • Developer Preview: DeepSeek Harness is currently in developer preview, and breaking changes are expected.
  • Dependency Version: The dependency is @deepseek-ai/dsh-tools (^0.1.0-rc.6).
  • Paths and Overlays:
    • npx may not load local overlays.
    • The course overlay in dsh-getting-started still requires the absolute path to the TypeScript file.
    • The cordis.patch.yml in this bundle uses the package name dsh-xhs-note rather than a file system path.

Ecosystem and Resources

This plugin is hosted in the standalone community catalog SkillHub: https://www.skillhub.cn/plugins/guobinmengxiang-rgb/dsh-xhs-note
The full source code is available on GitHub: https://github.com/guobinmengxiang-rgb/dsh-xhs-note