Introduction¶
In contract fulfillment, debt recovery, or termination processes, teams often need to repeatedly draft demand letters, termination notices, or lawyer’s letters. Common practices involve finding templates, manually editing placeholders, or laying out content from scratch in general document tools. This type of work has a high repetition rate, but the wording and structure need to align with legal practice; if handed over to agents to improvise, they are prone to missing fixed elements such as grace periods, grounds for termination, and avenues for objection.
DeepSeek Harness (DSH) decomposes capabilities into installable plugins. @deepwhale-cn/dsh-legal-notice is a skill-type plugin: after installation, the DSH agent invokes the CLI based on skill instructions, without a standalone interface. It produces Markdown and A4 printable HTML skeletons with field placeholders for manual review and use; it does not constitute legal advice.
What is this¶
- 定位: Legal letter skeleton generator (demand letters, termination notices, lawyer’s letters).
- 维护者与仓库: feely0208/dsh-legal-notice, npm package name
@deepwhale-cn/dsh-legal-notice, current version in documentation0.1.0, license MIT. - 解决的问题: Use unified CLI parameters to fill in Party A and Party B, contract number, amount, grace period, termination clause, etc., to generate an editable document skeleton in one go, reducing time starting from a blank page.
Directory Page: feely0208/dsh-legal-notice. The directory site is part of the community ecosystem and has no official affiliation with DeepSeek or Hanhua.
Core Functions¶
The documentation explicitly supports three types of letter skeletons:
- Demand Letter: Key points like grace periods and consequences of overdue payment are built-in.
- Termination Notice: Structured around Civil Code Articles 563/565, including grounds for termination and avenues for objection.
- Lawyer’s Letter: Skeletons for attorney-client relationships, requested matters, and overdue accountability.
The output format is Markdown and A4 printable HTML, with field placeholders and editable items. The plugin depends on @deepwhale-cn/dsh-guard-core and works with @deepseek-ai/dsh-skill as a peer dependency for skill invocation.
Important Disclaimer (from README): The output must be used after manual review and does not constitute legal advice.
Installation and Activation¶
Install in the DSH environment (commands are from the official README):
dsh plugin --profile web add @deepwhale-cn/dsh-legal-notice
Runtime requirements (from package.json): Node >=18, DSH >=0.1.0-rc.6 <0.3.0.
There is no standalone interface after installation; the DSH agent invokes the CLI inside the package (dsh-legal-notice) based on skill instructions.
Typical Usage¶
The following examples can be reproduced directly using npx (consistent with the README).
Demand Letter: Specify type, parties, contract, amount, grace days, and output directory.
npx @deepwhale-cn/dsh-legal-notice --type demand --party-a 深鲸科技 --party-b 某某公司 --contract 合同-2024-001 --amount 86000元 --days 7 --out ./产物
Termination Notice: Specify termination clause and effective date.
npx @deepwhale-cn/dsh-legal-notice --type termination --clause "第9.2条" --effective 2026-12-01 --out ./产物
The generated results are placed in the directory specified by --out, then the placeholder fields are modified as needed for review by legal or legal counsel.
Applicable Scenarios and Notes¶
Who is it for
- Teams already using DSH for automation or agent workflows who need to quickly pull up draft letters in conversations.
- Scenarios where the format for demand letters, termination notices, and lawyer’s letters needs to be unified, but you don’t want to start from a blank document every time.
Pre-usage Notes
- The plugin runs with the permissions of the current DSH process; it is recommended to read the repository source code and the MIT license before installation to ensure compliance with organizational requirements.
- The output is only skeletons and placeholder content and cannot replace professional legal advice; it must be reviewed by qualified personnel before being sent externally.
- Parameters such as party names, amounts, and clause references must match the actual contract; incorrect parameters will result in erroneous documents, and the responsibility lies with the user.
Conclusion¶
dsh-legal-notice solidifies the structure of three common types of legal letters into a parameterizable CLI and aligns with the DSH skill plugin format: no interface, invoked by the agent based on skill instructions. Its value lies in shortening drafting time and retaining the skeleton of key paragraphs, rather than automatically providing legal conclusions.
- Directory Page: https://www.skillhub.cn/plugins/feely0208/dsh-legal-notice
- GitHub: https://github.com/feely0208/dsh-legal-notice