Preface¶
When handling Chinese accounting, auditing, and tax issues in DSH (DeepSeek Harness), a common problem is that the model may provide conclusions but lacks verifiable, line-item evidence. dsh-plugin-cas-kb is a plugin designed for such scenarios, providing line-item queries for CAS, ASSE, CSA, and Chinese tax laws, and constraining the model via the china-accounting-standards skill to avoid citing original texts that haven’t been read.
What is it¶
dsh-plugin-cas-kb is a DSH plugin package, maintained by niuniu-869, and licensed under MIT. It targets Chinese accounting, auditing, and tax issues, offering line-item access to CAS, ASSE, CSA, and Chinese tax laws, and provides a skill to prevent citing without original texts.
According to plugin documentation, it is based on the Quaesto Open Accounting Knowledge Base and claims to contain 265 addressable documents. The plugin requires no account, no API key, and uses a read-only access method.
Core Features¶
Line-item Access¶
The plugin covers line-item content for CAS, ASSE, CSA, and Chinese tax laws. Please note the scope of use:
- CSA only provides source text and does not include the judgment layer or decision procedures.
- Decision steps are AI-generated and have not been reviewed by a CPA; documentation states that each item is marked
requires_human_confirmation. - The plugin does not include the tax circulars and administrative notices layer, nor does it include copyrighted publications.
10 Quaesto KB MCP Tools¶
The plugin provides 10 Quaesto KB MCP tools, including:
list_standardssearch_kbget_articleget_decision_procedurecheck_applicabilityget_tax_treatmentget_tax_accounting_difflist_documentssearch_unitsget_unit
In example tool calls, these tools appear with the mcp__quaesto_kb__ prefix, for example:
mcp__quaesto_kb__list_standards
mcp__quaesto_kb__search_kb
mcp__quaesto_kb__get_tax_treatment
mcp__quaesto_kb__get_article
Skill: china-accounting-standards¶
The plugin includes the china-accounting-standards skill. It requires:
- No citing without original texts.
- No fabricating line item numbers.
- Form a judgment first, then verify.
The purpose of this skill is to embed “must cite original text” and “do not treat the judgment layer as the final conclusion” into the usage workflow, preventing the model from citing based solely on conclusive knowledge.
Installation and Activation¶
Execute the official installation command, replacing the profile name and commit SHA:
dsh plugin --profile <name> add github:niuniu-869/dsh-plugin-cas-kb#<sha>
The package.json declares Node requirements as:
^22.19.0 || >=24
Documentation states that this plugin has not yet been published to npm. The plugin requires no account, no API key, and uses read-only access.
Typical Usage¶
An example query:
dsh --profile headless "业务招待费在企业所得税前能扣多少?给出条款依据。"
The recorded tool order in the example is:
skill(china-accounting-standards)
mcp__quaesto_kb__list_standards
mcp__quaesto_kb__search_kb
mcp__quaesto_kb__get_tax_treatment
mcp__quaesto_kb__get_article
This order reflects first activating the skill, then listing standards, searching the knowledge base, retrieving tax treatment, and finally retrieving the article text.
If the plugin needs to be configured in a profile patch, the example uses id: quaesto-kb-mcp and sets the following configuration items:
- id: quaesto-kb-mcp
config:
serverName: quaesto_kb
transport: streamable-http
url: <MCP URL>
toolCallTimeoutMs: <timeout>
failOnStartupError: <boolean>
serverName must be consistent in two places with the skill body; otherwise, the skill may point to a non-existent tool.
Applicable Scenarios and Notes¶
Suitable for DSH usage scenarios that require line-item verification in Chinese accounting, auditing, and tax Q&A, especially workflows that wish to restrict citations to original texts.
Before use, confirm the following:
- The plugin runs with the permissions of the current DSH process.
- Source code and license should be checked before installation.
- Tool calls are sent to
api.accountingllm.site, and query text will leave the local machine. - Decision steps are AI-generated, not reviewed by a CPA, and marked
requires_human_confirmation; they cannot replace professional advice. - CSA only provides source text and does not include the judgment layer or decision procedures.
- The plugin does not include the tax circulars and administrative notices layer, nor copyrighted publications.
Conclusion¶
dsh-plugin-cas-kb provides line-item query access for CAS, ASSE, CSA, and Chinese tax laws and constrains “no citation without original text” via the skill. It can serve as a verification component for DSH agents in accounting, auditing, and tax Q&A, but critical judgments still require human confirmation.
Repository address:
https://github.com/niuniu-869/dsh-plugin-cas-kb