AI Agent Hub
Back to plugins
⚙️

dsh-contract-drafting-agent

Workflow Updated 2026.09.04

Run the following command in DeepSeek Harness:

dsh plugin install songoao25/dsh-contract-drafting-agent

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install songoao25/dsh-contract-drafting-agent in your terminal to add the contract-drafting agent workflow to DeepSeek Harness; source code at https://github.com/songoao25/dsh-contract-drafting-agent

About this plugin

Asking a chat model to draft a contract is fast, but the document that ends up on paper often cannot survive the scrutiny of opposing counsel, an arbitral tribunal, or a court. dsh-contract-drafting-agent bridges that gap: it is not a one-click generator but a full agent-mode workflow that mirrors how a practising lawyer actually works, purpose-built for commercial contract drafting under the legal framework of the People's Republic of China.

You simply describe the deal and its core terms in plain language. The agent then walks through a structured pipeline: understanding the transaction, building a deal sheet, identifying clause gaps, asking a small number of material questions (each with A/B/C options and a recommendation), researching and verifying the applicable law, producing a first draft, subjecting it to five independent review lenses (legal validity, clause completeness, counterparty attack surface, litigation readiness, and internal consistency), revising, and finally passing a sixteen-point verification before delivering the complete contract package. Nothing is fabricated — unknown company names, amounts, or statutes remain as placeholders until you fill them in. The delivery package also clearly separates your decisions, AI-added clauses, AI assumptions, and items still to be confirmed.

It is designed for in-house counsel, paralegals, and independent founders in mainland China who need to turn a verbal agreement into an enforceable document while keeping a full audit trail. Every matter is archived under a dedicated folder in your local workspace: deal sheet, core-terms register, gap report, decision log, review reports, revision log, all draft versions, and the final package. To cover a new contract domain, simply add a domain pack — the core workflow stays unchanged. When parties in Hong Kong, Macao, Taiwan, or foreign jurisdictions are involved, the intake step automatically re-detects the applicable law. The output is a working document, not a formal legal opinion; for high-stakes transactions, have a licensed attorney review before signing.

Use Cases

  • Describe a deal in plain language and receive a complete partnership, investment, or operations agreement
  • Run a five-way parallel legal review on a first draft to uncover clause gaps and counterparty attack surface
  • Turn a verbal deal consensus into an enforceable contract while keeping a full decision audit trail

Best For

  • In-house counsel in mainland China drafting or reviewing commercial contracts
  • Lawyers and legal assistants who need AI-assisted contract workflows with zero fabricated statutes and full auditability
  • Founders and small teams turning verbal deal consensus into enforceable documents quickly