MIT-licensed DSH plugin plus a Python engine that turns a local ledger into journal-voucher cleaning, cash-flow statements, contra-account analysis and entry-anomaly tests, with review handed to the task's own agent session.
DSH integration
Native runtime
Author-claimed
Safety audit
Unaudited
Last verified
2026-11-25
License
MIT
01What can it help you accomplish?
Clean a journal-voucher export into business buckets you can audit
24-bucket classification per voucher with a calibrated confidence tier, a review list weighted by vouchers per group, an unknown-account JSON for maintaining the alias table, and a decisions log for every manual re-bucket
Auditors and finance staff who receive a full-year ledger as Excel/CSV and have to explain what each voucher is
Turn the same ledger into a cash-flow statement and an entry-anomaly report
A cash-flow statement aggregated by item plus a monetary-fund voucher sheet in one file (CSV above 50k rows), and for the anomaly test a business-group clustering, cross-group distance matrix, anomaly scores and a statistics report
Audit teams that must not classify the same ledger twice for two deliverables
Resolve contra accounts for multi-debit, multi-credit vouchers
An entry-structure class (1×1, 1×m, m×n, all-debit / all-credit, special), exhaustively computed combination schemes ranked by an Occam score, and an Excel export of the result
Auditors who need the counterpart account of a compound voucher rather than a row-level guess
02How to install into DeepSeek Harness
Prerequisites
- DeepSeek Harness with the 审计工作台 plugin — on npm as `dsh-auditor` since 0.1.8; the plugin is the main UI
- Python 3.11 – 3.13 (3.13 recommended) and a virtual environment for the engine
- A repo checkout on disk with its venv, because the sidebar entry reads repoRoot and the interpreter path from the plugin config
- Network access for the plugin install, the PyPI mirror and the ModelScope model download
Installation steps
- 01
In DSH open 插件 → 添加插件 and enter `dsh-auditor`.
- 02
If that fails, install from GitHub (`github:daijiaoshou-ds/dsh-auditor`), or unpack `dsh-auditor-<版本>.zip` into one fixed directory such as `D:\dsh-auditor` and give 添加插件 that absolute path — keep the same directory, upgrades overwrite it.
- 03
Open 审计工作台 → 环境配置 and click through the six steps top to bottom: Python interpreter → virtual environment → base dependencies → CPU torch → model files → base BGE.
- 04
Because the sidebar entry has no session, write the project root and interpreter into the plugin config: `repoRoot: <仓库绝对路径>` and `python: <仓库绝对路径>/venv/Scripts/python.exe`.
- 05
Manual route instead: clone the repo, `python -m venv venv`, activate it, `pip install -r requirements.txt`, `pip install torch --index-url https://download.pytorch.org/whl/cpu`, `pip install -r requirements-nn.txt`, then `modelscope download daijiaoshou/hajishou-V2.0 --local_dir core/nn/_storage`.
- 06
To run the checkout's own plugin directory instead of the npm package: `plugin_manager install_bundle` with `target = <仓库绝对路径>/dsh_plugin/journal-workbench`.
Verify the integration
- All six steps of 环境配置 complete, which is what leaves a runnable engine plus models on disk
- Upload `sample_data/示例序时账.csv` and walk 字段配置 → 分类 → 查看结果: the README ships that sample for exactly this end-to-end check
- The sidebar gains a 审计工作台 icon and the conversation gains a tab once the bundle is installed
03DSH integration and capability boundaries
Native DSH plugin (审计工作台, npm package dsh-auditor): the Host half registers journal_* agent tools and an HTTP/background-job layer, the browser half is a hand-written h() panel with no build step, and both drive the same Python engine through the repo checkout.
Journal-voucher cleaning (24 business buckets)
An Excel/CSV journal export with mapped columns — voucher no., top-level account, account name, summary, debit and credit→A bucket per voucher with a calibrated confidence tier, a review list, an unknown-account JSON and a traceable decisions log
runs a fine-tuned BGE-large model locallyreview re-buckets are written to decisions/*.json with an idempotency key, a reason and a timestampCash-flow statement built on the shared classification
A ledger the cleaning stage has already classified→A cash-flow statement aggregated by item plus a monetary-fund voucher sheet in one file, switching to CSV above 50k rows
loads no model of its own and re-uses the upstream bucketsa resume after an upstream bucket change recalculates the downstream productsEntry-anomaly test
Vouchers with date, voucher no., account, debit and credit, plus a Pareto materiality percentage→Business-group clustering, a cross-group distance matrix, anomaly scores and a statistics report
vouchers below the materiality threshold are dropped before scoringContra-account analysis for compound vouchers
Vouchers with an account column and debit / credit amounts→Entry-structure class, exhaustively enumerated combination schemes ranked by an Occam score, and an Excel export
multi-debit, multi-credit entries are enumerated rather than guessed, so wide vouchers cost more computeAgent-run review stops (journal_* tools)
A job sitting at an actor=ai stage→A journal_next → judge → journal_submit → journal_report loop driven by that task's own review session, with paged requests for large batches
a job at a review stop does not wake an agent by itself — someone has to press 「AI 复核这批」review conclusions are written back into the job's decisions and trigger the downstream stages
04Who is it for? When not to use it?
Good for
- Auditors and finance staff who receive a full-year ledger as Excel/CSV and have to explain what each voucher is
- Audit teams that must not classify the same ledger twice for two deliverables
- Auditors who need the counterpart account of a compound voucher rather than a row-level guess
Not for
- Install and first run need the network: the plugin comes from npm or GitHub, dependencies come from the Aliyun PyPI mirror, and the classification model is pulled with `modelscope download`.
- The engine and venv locations and the plugin-config example are Windows-shaped (`%LOCALAPPDATA%\dsh-auditor\engine`, `venv/Scripts/python.exe`, `venv\Scripts\Activate.ps1`) — the manual route also lists `source venv/bin/activate` for macOS/Linux. A plain `pip install torch` pulls the 2.4 GB CUDA build instead of the 122 MB CPU build, so the `/whl/cpu` index has to be pinned.
- Not everything advertised is wired into the workbench: bank-statement matching is still a standalone subproject, 成本计算 is a placeholder, and the legacy 小工具 set moved to `_archive` and no longer ships with the main flow.
05Compatibility, maintenance and safety notes
- Install and first run need the network: the plugin comes from npm or GitHub, dependencies come from the Aliyun PyPI mirror, and the classification model is pulled with `modelscope download`.
- Jobs, products and review decisions stay on the machine under `_storage_jobs/<id>/`, shared by the workbench and the `journal` CLI; a task keeps running in the background after the page is closed and has to be stopped with ■ 中止.
- The engine and venv locations and the plugin-config example are Windows-shaped (`%LOCALAPPDATA%\dsh-auditor\engine`, `venv/Scripts/python.exe`, `venv\Scripts\Activate.ps1`) — the manual route also lists `source venv/bin/activate` for macOS/Linux. A plain `pip install torch` pulls the 2.4 GB CUDA build instead of the 122 MB CPU build, so the `/whl/cpu` index has to be pinned.
- Not everything advertised is wired into the workbench: bank-statement matching is still a standalone subproject, 成本计算 is a placeholder, and the legacy 小工具 set moved to `_archive` and no longer ships with the main flow.
MIT · no GitHub release published; last push 2026-11-23 · DSH plugin ships on npm as dsh-auditor (from 0.1.8); the README's own status is a local tool for finance and audit teams, review handed to the session's agent
06Frequently asked questions
How do I install it into DeepSeek Harness?
In DSH open 插件 → 添加插件 and enter `dsh-auditor` (the npm package, published since 0.1.8). If that fails, fall back to `github:daijiaoshou-ds/dsh-auditor`, then to the offline zip: unpack `dsh-auditor-<版本>.zip` into one fixed directory (not the Downloads folder — upgrades overwrite that same directory) and point 添加插件 at its absolute path.
What has to happen before the first analysis?
Open 审计工作台 → 环境配置 and run the six steps top to bottom: Python interpreter, virtual environment, base dependencies, CPU torch, model files, base BGE. The engine and models land in %LOCALAPPDATA%\dsh-auditor\engine and the venv in %LOCALAPPDATA%\dsh-auditor\venv — both outside the plugin directory, so a new plugin version does not mean reinstalling the environment.
How can I tell the engine actually works?
Upload sample_data/示例序时账.csv and run 字段配置 → 分类 → 查看结果. The repo ships that sample (six vouchers covering payroll, purchasing, sales, expenses, assets and tax) exactly so the whole flow can be validated end to end.
Where does my ledger go, and how do I stop a run?
Nowhere off the machine: jobs, products and review decisions live under _storage_jobs/<id>/, and the workbench and the `journal` CLI read the same folder. A task keeps running in the DSH background after you close the page — press ■ 中止 in the feature page's top-right corner to stop it.
Does the AI review happen on its own?
No. A stage marked actor=ai only writes a request file and stops; you press 「AI 复核这批」 to wake that task's review session, or 「不复核,直接用」 to keep the program's judgement. Without DSH the CLI equivalents are `journal next`, `journal submit` and `journal report`.
07Related DSH workflows
dsh-univer-office
by dream-num
Give DeepSeek Harness a real office environment. Univer Office Plugin brings spreadsheets, docs, slides, canvases, relational tables, and more into one runtime — with connected data, validation, versioned changes, and isolated worktrees for multi-agent collaboration.
clearai-dsh
by clearailhc
Brings an evidence-checked epistemic loop to DSH: research sessions settle into a browsable domain ontology with evidence chains and support levels; contradictory readings are surfaced for human adjudication.
dsh-fish-memory
by yuuyuko-uu
Stores time-stamped, decaying per-session memories, recalls relevant items, and optionally distills imported local archives through the configured DSH model.
dsh-trading
by zhu1090093659
Agent-native trading terminal built on DeepSeek Harness. Crypto, US, CN and HK in one three-column GUI, 19+ hot-swappable connectors, dry-run by default with human approval on every live order. BYOK, no data redistribution.
08Data and sources
面向财务人员 / 会计师事务所的本地会计工具,主界面是 **DSH 插件「审计工作台」**。
同一份已配好的数据与同一套阶段机;复核由当前会话的 agent 接手,数据不出本机。
index.js # Host:注册 journal_* 工具
This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-11-25. Found an error? Submit a correction.
Best DeepSeek Harness Plugins
Twelve plugins worth installing first — picked from the whole catalog, across every category.
