dsh-contract-drafting-agent
合同起草模式:11 阶段律师工作流,五路并行 AI 评审与决策门,内置通用/劳动/股权三类合同领域包。
songoao25
@songoao25
⬇ 2
★ 1
main
安装
dsh plugin --profile web add github:songoao25/dsh-contract-drafting-agent
需要可复现安装时,可在仓库后追加 #commit 固定提交。
合同起草模式:11 阶段律师工作流,五路并行 AI 评审与决策门,内置通用/劳动/股权三类合同领域包。
该插件未提供要点说明,请参考仓库 README。
agent-presetcontract-draftingdeepseek-harnessdshdsh-pluginlegal-ai
- 安装并启动 DeepSeek Harness:
npx @deepseek-ai/dsh web - 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
- 用 dsh plugins list 确认已安装,必要时重启 Harness 生效
插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。
| 代码仓库 | github.com/songoao25/dsh-contract-drafting-agent |
| 许可证 | MIT |
| 主要语言 | main |
| 下载量 | 2 |
| GitHub 星标 | 1 |
| 最近推送 | 2026-09-04 |
| 收录日期 | 2026-09-19 |
| 分类 | 工具与能力 |
事实信息来自公开插件目录快照(2026-10-01),介绍文案由本站再加工。
以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。
# dsh-contract-drafting-agent
**English** | [**中文**](README.zh-CN.md)
**A professional contract-drafting agent mode for DeepSeek Harness**, built for Mainland China legal practice.
[](LICENSE)
[](https://github.com/songoao25/dsh-contract-drafting-agent/releases)
[](https://github.com/songoao25/dsh-contract-drafting-agent/actions)
[](https://github.com/songoao25/dsh-contract-drafting-agent/commits/main)
[](https://github.com/songoao25/dsh-contract-drafting-agent)
[](https://github.com/songoao25/dsh-contract-drafting-agent/network/dependencies)
---
## What is this?
This is a **run mode** (agent preset) for DeepSeek Harness. You describe your deal and your core terms in plain words; the agent runs a lawyer-style workflow and produces a complete, professional, executable contract — **without a single prompt-to-draft shortcut**.
It works like a real lawyer using AI:
> **You decide the deal and the allocation of value. The agent understands, organizes, completes, researches, drafts, reviews, finds flaws, revises, and delivers the final contract.**
Designed for mainland China legal practice (default jurisdiction: the People's Republic of China, mainland). One domain-agnostic core workflow covers many contract types through pluggable **domain packs**.
## How it differs from a plain chat model
- **No "one-shot contract generation".** It first understands the transaction, builds a deal sheet, discovers the questions you did not know to ask, and only then drafts.
- **Asks only material questions.** How is profit defined? Who bears losses? Should exit require compensation? Each question comes with options (A/B/C) and a recommendation from your side — no questionnaires.
- **5-way parallel AI review.** After the first draft, five independent reviewers check legal validity, clause completeness, counterparty attack surface, litigation readiness, and internal consistency; a synthesizer consolidates and revises.
- **Never fabricates.** Unknown company names, amounts, statutes, or case numbers stay as placeholders (`【待填写:…】`) until filled in before signing.
- **Clear provenance in delivery.** The final package distinguishes *your decisions / AI-added clauses / AI assumptions / items to confirm*.
## Install
```bash
dsh plugin --profile add songoao25/dsh-contract-drafting-agent
```
Restart DeepSeek Harness once, then start a new session. The bundle makes the
contract-workflow skills available in the selected profile. To use the full
named preset (including its persona and tool composition), install `preset/`
separately as documented in the repository.
## Usage
Describe your transaction and core terms directly, for example:
> 帮我起草一个合作协议。甲方出资50万元。乙方负责实际运营。利润甲方60%,乙方40%。任何一方退出需要提前30天通知。乙方未经甲方同意不得把业务交给第三方。
The agent will: intake the matter → produce a deal sheet → analyze clause gaps → ask a few material questions (with options) → research and verify the law → draft → run the 5-way review → revise → run a 16-point verification → deliver the contract package (final contract / core-terms summary / AI-added clauses / risk memo / pending items).
## What you get
Every matter is saved under `matters//` in your workspace: deal sheet, core-terms register, gap report, decision log, review reports, revision log, drafts, and the final package — fully auditable and traceable.
## Structure
```
preset/
├── preset.yml # Display name: 合同起草模式
├── agent.cordis.yml # DSH preset composition (persona + tools + skills mount)
└── skills/
├── 01-matter-intake # Intake: confidentiality gate + matter + deal sheet
├── 02-matter-router # Domain routing + domain-pack selection
├── 03-clause-gap-analysis # Core-terms register + gap analysis
├── 04-decision-gate # Decision gate (option-based questions)
├── 05-legal-research # Legal research with independent verification
├── 06-contract-architecture # Contract architecture
├── 07-drafting # Draft v1
├── 08-multi-agent-review # 5-way parallel review (+ REVIEWER-PROMPTS.md)
├── 09-review-synthesis # Synthesis & revision
├── 10-final-verification # 16-point final verification
├── 11-final-delivery # Final delivery package
└── dp-* # Domain packs (general contract / employment / investment)
```
## FAQ
- **Is this legal advice?** No. Drafts are working documents, not formal legal opinions. For major transactions, have a licensed lawyer review before signing.
- **Can I add a new contract domain?** Yes. Add a new `dp-/SKILL.md` domain pack; the core workflow does not change.
- **Does it support non-mainland jurisdictions?** The default jurisdiction is mainland China. The intake step re-detects jurisdiction when Hong Kong, Macau, Taiwan, cross-border parties, or foreign law is involved.
## License
[MIT](LICENSE) © songoao25
数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。