Preface

In DSH (DeepSeek Harness) plugin development, when an agent needs to handle a specific, well-defined business problem, writing a standalone plugin is often easier to maintain than hard-coding the logic directly in the prompt. dsh-hair-wash is a representative example of this kind of lightweight logic tool; it focuses on the specific task of “hair-washing frequency.”

What It Is

dsh-hair-wash is a DSH plugin maintained by uckkk. It registers a tool that returns clear hair-washing frequency recommendations based on user-supplied parameters. The plugin is implemented purely in Node.js and does not rely on external network requests at runtime, making it suitable for integration as an auxiliary tool for agents.

Core Features

  1. Tool registration: Registers a tool named hair_wash.
  2. Parameter handling: Returns explicit recommendation results according to the provided parameters.
  3. Runtime environment: Pure Node.js implementation with no network dependencies.

Installation and Enablement

Use the official command to install the plugin:

dsh plugin add github:uckkk/dsh-hair-wash

After installation, no additional configuration is required; the plugin’s tool is automatically registered in the current session.

Typical Usage

After installing, simply call the tool registered by the plugin in a session. The DSH framework will invoke the hair_wash tool based on the context and retrieve the recommendation.

Use Cases and Notes

  • Runtime permissions: This plugin runs with the permissions of the current DSH process. Ensure it does not perform operations beyond the intended permissions.
  • Dependency check: Before installing, confirm that your environment satisfies the dependency requirements, including @deepseek-ai/cordis (requires ^4.0.1) and @deepseek-ai/dsh-tools (requires >=0.1.0-rc.6).
  • Source code review: Although the license is MIT, it is recommended to review the source code before installing third-party plugins to confirm that their behavior matches expectations.

Closing

By encapsulating simple logic, this plugin provides concrete business support for agents. To view the full documentation or source code, visit its GitHub repository or DSH catalog page.