Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add LawMotion-AI/Vibe-Lawyering --skill legal-due-diligencegit clone --depth 1 https://github.com/LawMotion-AI/Vibe-LawyeringWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/lawmotion-ai/vibe-lawyering/legal-due-diligence)<a href="https://agentmods.dev/skills/lawmotion-ai/vibe-lawyering/legal-due-diligence"><img src="https://agentmods.dev/badge/skills/lawmotion-ai/vibe-lawyering/legal-due-diligence/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/lawmotion-ai/vibe-lawyering/legal-due-diligence"><img src="https://agentmods.dev/badge/skills/lawmotion-ai/vibe-lawyering/legal-due-diligence.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00162 | $0.01827 |
| Opus 5 | $0.00081 | $0.00914 |
| Sonnet 5 | $0.00032 | $0.00365 |
| Haiku 4.5 | $0.00016 | $0.00183 |
Grade A, and why
legal-due-diligence scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 189 lines — stays where its author put it; the contents beside it link to each section on GitHub.
法律尽职调查 Skill v1.0
目标
为中国律师提供系统化的法律尽职调查底稿编写与报告生成工具。
核心价值:
- 调查全面:10大标准板块、200+检查项,不遗漏重要事项
- 用语规范:标准法律用语,表述专业严谨
- 两阶段输出:底稿(律师内部记录)→ 报告(客户交付文件)
- 风险识别:三级风险评估,系统识别法律风险
工作流程
init 初始化 → draft 写底稿 → check 检查 → report 生成报告
(创建项目) (逐章撰写) (完整性) (底稿→报告)
↺ 循环
四种工作模式
模式 1:init(项目初始化)
触发词:初始化尽调项目、新建尽调、init DD
操作步骤:
- 运行
scripts/init_project.py,在指定路径创建项目目录 - 生成项目信息文件
project-info.md - 为10个章节各生成底稿模板文件
必须获取的输入:
project_path:项目存放路径target_company:目标公司全称client_name:委托人名称
可选输入(有默认值):
base_date:调查基准日(默认当日)purpose:调查目的(如"股权收购"、"投资入股")law_firm:律师事务所名称lawyers:经办律师姓名(可多个)
输出:项目目录结构如下:
[项目名称]-DD/
├── project-info.md # 项目基本信息与进度跟踪
├── working-paper.md # 完整底稿(10章合一,单一文件)
└── report/
└── (报告生成后存放于此)
模式 2:draft(撰写底稿)
触发词:写底稿、撰写第X章、draft、分析材料并写入底稿
操作步骤:
- 读取 references/section-guide.md 中对应章节的调查指南
- 阅读用户提供的调查材料(支持文件路径或粘贴文本)
- 按底稿六段结构撰写该章节内容
- 写入项目根目录的
working-paper.md(单一底稿文件,定位至对应章节更新)
必须获取的输入:
chapter:章节编号(1–10)或章节名称materials:调查材料(文件路径列表 或 粘贴的文本内容)
可选输入:
project_path:项目路径(若上下文中已有则无需重复提供)append:是否追加模式(默认覆写)
底稿六段结构(每章必须包含):
## [编号]. [章节名称]
### [X].1 调查范围与方法
调查范围:[本章调查覆盖的事项]
调查方法:
- [ ] [方法1]
- [ ] [方法2]
### [X].2 已获取材料清单
| 序号 | 材料名称 | 形式 | 日期/期间 | 备注 |
|------|----------|------|-----------|------|
### [X].3 未获取/待补充材料
| 序号 | 材料名称 | 重要程度 | 状态 | 影响说明 |
|------|----------|----------|------|----------|
### [X].4 调查发现
[纯事实记录,引用具体文件,不含意见判断]
### [X].5 风险提示
| 序号 | 风险事项 | 等级 | 事实依据 | 法律依据 | 处理建议 |
|------|----------|------|----------|----------|----------|
### [X].6 律师备忘
[内部工作记录,不进报告]
风险等级标准:
- 🔴 高:直接影响交易可行性或重大法律后果
- 🟡 中:需关注,可能影响交易条款或需要整改
- 🟢 低:轻微瑕疵,一般不影响交易,建议关注
模式 3:check(检查底稿)
触发词:检查底稿、完整性检查、check、汇总风险
操作步骤:
- 读取
working-paper.md全文 - 逐章检查六段结构完整性
- 汇总所有风险提示(按等级分类)
- 统计未获取材料
- 输出检查报告到对话(不修改底稿)
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 189 lines · 162 tokens per session scan A c17ee1cce0e7
legal-due-diligence is a skill published in the GitHub repository LawMotion-AI/Vibe-Lawyering (20 stars, last pushed 4mo ago), licensed MIT. It adds 162 tokens to every session and 1,827 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
specification-writing
A workflow for writing complete patent specifications from patent claims and an invention disclosure. It adapts the document to a chosen jurisdiction, such as the US, Europe, or China.
regulatory-research-fallback
Fallback workflow for regulatory research when web extraction tools fail on government PDFs.
x-scorecard
OpenSSF Scorecard for assessing open source project security. Check security best practices and compliance. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.
gesellschaftsrechtliche-satzungen-agb
Für Gesellschaftsrechtliche Satzungen AGB Abgrenzung: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Prüfprodukt mit Risiko und nächstem Schritt. Fachgebiet: AGB-Recht-Prüfer. Route: gesellschaftsrechtliche-satzungen-agb.
memstack-business-gdpr
Use this skill when the user says 'GDPR', 'data protection', 'privacy compliance', 'DPA', 'DSAR', 'data subject request', 'cookie consent', 'privacy audit', 'CCPA', or asks 'do I need GDPR for this repo'. Scans the repository to detect what personal data is collected, classifies sensitivity, determines whether GDPR…
nda-review
Use when the user uploads or pastes a non-disclosure agreement and asks for review, redline, risk assessment, or a recommendation on whether to sign. Identifies missing standard protections, one-sided or unusual provisions, and operational issues; produces a structured report with severity ratings and citations to…