Introduction

In DeepSeek Harness (DSH) development, agents often need to process financial data or generate calculated results. Manually writing tax calculation logic is error-prone and costly to maintain. The dsh-tax-income plugin addresses this need by providing a standard personal income tax calculation tool, eliminating the need to hardcode complex rules in code or prompts.

Plugin Positioning

This is a DSH plugin maintained by istone, with a personal income tax calculator as its core function. It is implemented in pure Node.js and does not depend on external network resources, ensuring that the calculation process runs stably locally.

Core Features

The plugin registers a tool named tax_income.
* tax_income: Accurately calculates personal income tax based on the given parameters and returns detailed results and explanations.

Installation and Dependencies

Before installation, ensure the environment meets the dependency requirements: @deepseek-ai/cordis (^4.0.1) and @deepseek-ai/dsh-tools (>=0.1.0-rc.6).

Run the following command to install:

dsh plugin add github:uckkk/dsh-tax-income

Usage

After installation, you can directly invoke the tool registered by this plugin in a DSH session.

Notes

  • The plugin runs with the permissions of the current DSH process.
  • Please review the source code and license (MIT) before installation.

Summary

By encapsulating the calculation logic, this tool provides agents with standardized personal income tax calculation capabilities.