The core philosophy of DeepSeek Harness (DSH) is “everything is a plugin.” When building agents or automated workflows, if specific business calculation logic is involved, extending capabilities through plugins is more flexible than hard-coding them directly. dsh-electricity-bill is a DSH plugin focused on tiered electricity bill calculation.

What It Is

This is a DSH plugin maintained by uckkk, designed to meet the need for tiered electricity bill calculation. Through its registered tool interface, it provides the ability to calculate electricity bills precisely based on parameters within a session.

Core Features

  • Tiered electricity bill calculation: Supports parameter-based calculation and returns detailed results.
  • No network dependencies: Implemented in pure Node.js, it does not make network requests during execution, making it suitable for scenarios with data privacy or offline environment requirements.

Installation and Activation

Run the official installation command in a DSH environment:

dsh plugin add github:uckkk/dsh-electricity-bill

After installation, the plugin is loaded automatically and requires no additional configuration.

Typical Usage

After installation, simply call the tool registered by the plugin in a DSH session. According to the README, the tool is named electricity_bill and is used for tiered electricity bill calculation.

Use Cases and Considerations

  • Target users: Developers who need to integrate electricity bill calculation logic into agents or automated workflows.
  • Security recommendation: Because the plugin runs with the permissions of the current DSH process, it is recommended to review the source code and license (MIT) before installation.
  • Dependencies: The plugin depends on @deepseek-ai/cordis (>=4.0.1) and @deepseek-ai/dsh-tools (>=0.1.0-rc.6).

Conclusion

This plugin provides a lightweight solution for tiered electricity bill calculation. For more details, see the community catalog: dsh-electricity-bill or GitHub: uckkk/dsh-electricity-bill.