dsh-finance:DeepSeek Harness 的财务与会计工作流插件

前言

DSH 的扩展方式接近“一切皆插件”:把特定任务沉淀为插件,再挂到当前 DSH 环境里使用。社区目录是独立站点,不等同于 DeepSeek 或幻方的官方应用商店。

财务和会计场景里,常见需求不是让模型直接改动业务系统,而是把分录准备、对账、报表、差异分析、关账计划、SOX 测试和审计支持整理成可检查的工作产品。zhang787jun/dsh-finance 面向这个需求:它是 zhang787jun 维护的 DSH 插件,从 Anthropic 的 Finance plugin 适配而来,用于准备和校验财务与会计工作。它是独立社区适配,不代表 Anthropic 背书。

这是什么

一句话定位:Finance and accounting workflows for DeepSeek Harness, adapted from Anthropic’s Finance plugin.

它解决的是“在 DSH 中完成财务与会计工作流的准备和检查”,但不越过授权边界:不发布分录、不锁会计期间、不发送报告、不签署对账、不审批控制、不做投资决策。

许可证为 MIT AND Apache-2.0。仓库原有代码为 MIT 许可;八个适配的 finance skills 派生自 Apache-2.0 许可的 Anthropic 材料。

核心功能

八个财务技能

下面列出它覆盖的八个技能:

DSH 技能 覆盖内容
dsh-finance-journal-entry accruals, depreciation, prepaids, payroll, revenue entries, support, and review
dsh-finance-journal-entry-prep standard entry patterns, documentation, approval matrix, and error checks
dsh-finance-reconciliation GL-to-subledger, bank, intercompany, aging, categorization, and escalation
dsh-finance-financial-statements income statement, balance sheet, cash flow, GAAP/IFRS presentation, and period-end adjustments
dsh-finance-variance-analysis price/volume, rate/mix, headcount, spend, materiality, narratives, and waterfalls
dsh-finance-close-management T+1 to T+5 close calendar, dependencies, critical path, status, and retrospectives
dsh-finance-audit-support SOX scoping, assertions, sampling, evidence, workpapers, and deficiency classification
dsh-finance-sox-testing control matrices, sample selection, test steps, conclusions, and remediation

五个工具

它提供五个工具,用于在 DSH 中做确定性的检查和扩展:

  • finance_journal_entry_check:校验借贷平衡、行结构、文档缺失和制单人/审批人分离。它不授权发布分录。
  • finance_reconciliation_snapshot:计算调整后余额、账龄、分类合计、久未处理项标记和签核准备度。它不授权签核。
  • finance_variance_bridge:验证带符号驱动因子能否从基准连接到实际值,暴露残差,并评估重要性阈值。
  • finance_research_workflow:规划有来源支撑的公开市场研究。
  • portfolio_risk_snapshot:根据提供的持仓计算敞口和集中度控制。

finance_research_workflowportfolio_risk_snapshot 是从版本 0.1 保留下来的 DSH 扩展,不属于与 Anthropic Finance 对齐的部分。

安装与启用

先确认你接受其许可边界,然后把插件安装到目标 profile:

dsh plugin --profile web add github:zhang787jun/dsh-finance

上面的命令会把 dsh-finance 加入 web profile。安装不会激活外部服务器,也不会收集凭据。

由于插件会以当前 dsh 进程权限运行,安装前应检查源码、许可证和依赖,确认它符合你的安全要求。

典型用法

下面的请求示例说明它可用于哪些任务:

Prepare the July AP accrual journal entry, show the support, and validate that debits equal credits.

Reconcile the cash GL to the bank statement as of 2026-07-31 and age every open item.

Build the monthly income statement, flag material variances, and reconcile the waterfall drivers.

Create a SOX testing workpaper for the revenue-recognition control for 2026-Q2.

Build a T+5 month-end close plan with owners, dependencies, blockers, and a critical path.

经过上面的步骤,可以得到分录草稿与借贷校验、现金总账与银行对账、月度利润表与差异桥、SOX 测试工作底稿、T+5 月结关账计划。所有结果仍需专业人员审核后才能进入后续使用。

适用场景与注意

适合把财务和会计工作流放进 DSH 的开发者或财务团队,尤其适合以下类型的工作:

  • 分录准备、支持材料整理和借贷校验。
  • 总账到子账、银行、公司间、账龄和分类对账。
  • 收入表、资产负债表、现金流量表和期末调整的材料准备。
  • 价格/数量、费率/结构、人头、费用等差异分析。
  • T+1 到 T+5 关账日历、依赖关系、关键路径和状态回顾。
  • SOX 范围、断言、抽样、证据、工作底稿和缺陷分类。
  • 控制矩阵、样本选择、测试步骤、结论和整改记录。

注意以下边界:

  • 如果没有连接数据源,DSH 必须请求粘贴数据或本地文件,并说明由此带来的证据限制。
  • 输出用于 reporting、filings、audit documentation、tax work 或 investment decisions 前,必须由合格财务专业人员审核。
  • 插件不执行高权限动作:不发布分录、不锁会计期间、不发送报告、不签署对账、不审批控制、不做投资决策。
  • 安装前建议检查仓库源码、许可证与依赖,确认它符合当前 DSH 环境的安全要求。

相关链接

  • GitHub:https://github.com/zhang787jun/dsh-finance
  • 目录页:https://www.skillhub.cn/plugins/zhang787jun/dsh-finance
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

小夜