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 serejaris/kimi-skills --skill legal-contract-gengit clone --depth 1 https://github.com/serejaris/kimi-skillsWrote 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/serejaris/kimi-skills/legal-contract-gen)<a href="https://agentmods.dev/skills/serejaris/kimi-skills/legal-contract-gen"><img src="https://agentmods.dev/badge/skills/serejaris/kimi-skills/legal-contract-gen/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/serejaris/kimi-skills/legal-contract-gen"><img src="https://agentmods.dev/badge/skills/serejaris/kimi-skills/legal-contract-gen.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.00102 | $0.06772 |
| Opus 5.5 | $0.00041 | $0.02709 |
| Sonnet 5.5 | $0.00020 | $0.01354 |
| Haiku 4.5 | $0.00010 | $0.00677 |
Grade A, and why
legal-contract-gen 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 2mo 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 — 672 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Legal Doc Generator — 法律文书生成器
通过交互式问答收集关键变量,生成结构完整的法律文书初稿。支持 NDA(保密协议)、服务协议、隐私政策、合作框架协议等常见文书类型。
免责声明:本工具生成的文书仅供参考,不构成法律意见。正式签署前,请务必由专业律师审核。不同司法管辖区的法律要求可能不同,请确保文书符合当地法律法规。
Quick Start
用户只需说明:
- 文书类型:NDA / 服务协议 / 隐私政策 / 合作框架协议
- 基本场景:签约双方、合作目的、适用范围
示例:
"帮我生成一份双向 NDA,我方是一家科技公司,对方是潜在投资人,主要保护技术方案和商业数据。"
一、支持的文书类型
| 类型 | 中文名称 | 典型场景 |
|---|---|---|
| NDA | 保密协议 | 商务洽谈前、技术合作前、尽职调查前 |
| Service Agreement | 服务协议 | SaaS 服务、咨询服务、外包开发 |
| Privacy Policy | 隐私政策 | 网站/App 上线、数据收集业务 |
| Cooperation Agreement | 合作框架协议 | 联合研发、渠道合作、战略联盟 |
二、交互式问答流程(Variable Collection SOP)
2.1 通用变量(所有文书类型必收集)
在生成任何法律文书前,必须通过问答确认以下变量:
| 序号 | 变量 | 问题示例 | 说明 |
|---|---|---|---|
| 1 | 甲方名称 | "甲方(披露方/服务提供方)的全称是什么?" | 公司全称或自然人姓名 |
| 2 | 乙方名称 | "乙方(接收方/客户方)的全称是什么?" | 同上 |
| 3 | 签署日期 | "协议签署日期是哪天?(留空则填写签署当日)" | 格式:YYYY年MM月DD日 |
| 4 | 适用法律 | "本协议适用哪个司法管辖区的法律?(如:中华人民共和国法律)" | 默认中华人民共和国法律 |
| 5 | 争议解决 | "争议解决方式选择仲裁还是诉讼?如选仲裁,指定哪个仲裁机构?" | 仲裁 / 诉讼 |
| 6 | 语言 | "文书使用中文还是英文?" | 中文 / 英文 / 中英双语 |
2.2 NDA(保密协议)专属变量
| 序号 | 变量 | 问题示例 | 说明 |
|---|---|---|---|
| N1 | 保密方向 | "单向保密(一方披露)还是双向保密(双方互相披露)?" | 单向 / 双向 |
| N2 | 保密信息范围 | "需要保护哪些类型的信息?(如:技术方案、商业数据、客户列表、财务信息)" | 可多选 |
| N3 | 保密期限 | "保密义务持续多长时间?(如:协议终止后2年)" | 通常 1-5 年 |
| N4 | 排除信息 | "是否有不属于保密信息的例外情况?(如:公开信息、自行研发的信息)" | 标准排除条款 |
| N5 | 违约责任 | "违约金额或赔偿方式有无特殊约定?" | 具体金额 / 实际损失赔偿 |
2.3 服务协议专属变量
| 序号 | 变量 | 问题示例 | 说明 |
|---|---|---|---|
| S1 | 服务内容 | "服务的具体内容是什么?请简要描述。" | 详细服务范围 |
| S2 | 服务期限 | "服务期限是多长?起止日期?" | 固定期限 / 按项目 |
| S3 | 服务费用 | "服务费用是多少?支付方式?(如:月付、一次性、里程碑付款)" | 金额 + 支付方式 |
| S4 | 交付标准 | "交付物或验收标准是什么?" | 可量化的标准 |
| S5 | 知识产权 | "服务过程中产生的知识产权归属谁?" | 甲方 / 乙方 / 共有 |
| S6 | 终止条件 | "任一方可以提前终止吗?需要多少天提前通知?" | 提前通知天数 |
2.4 隐私政策专属变量
| 序号 | 变量 | 问题示例 | 说明 |
|---|---|---|---|
| P1 | 产品名称 | "这份隐私政策适用于哪个产品/网站/App?" | 产品全称 + 网址 |
| P2 | 收集数据类型 | "收集哪些用户数据?(如:姓名、邮箱、手机号、位置信息、浏览记录)" | 列举所有类型 |
| P3 | 数据用途 | "收集这些数据的目的是什么?(如:提供服务、个性化推荐、数据分析)" | 逐一对应 |
| P4 | 第三方共享 | "是否会与第三方共享用户数据?如是,哪些第三方?" | 广告平台 / 分析工具 / 不共享 |
| P5 | 数据存储 | "数据存储在哪里?保留多长时间?" | 服务器位置 + 保留期限 |
| P6 | 用户权利 | "用户是否可以查看、修改、删除自己的数据?" | 通常都需要支持 |
| P7 | 合规要求 | "需要符合哪些法规?(如:GDPR、中国个人信息保护法、CCPA)" | 可多选 |
What ships with it
1 file 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.
- 2mo ago First seen · 672 lines · 102 tokens per session scan A 67631681042d
legal-contract-gen is a skill published in the GitHub repository serejaris/kimi-skills (13 stars, last pushed 4mo ago), licensed MIT. It adds 102 tokens to every session and 6,772 once invoked, about $0.0004 per session on Opus 5.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-09-03.
legal-contract-gen compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| legal-contract-genserejaris/kimi-skills | Skill | 13 | 4mo ago | MIT | A | 102 | Claude Code, Codex |
| fiscalisteromainsimon/paperasse | Skill | 2.6k | 18d ago | MIT | A | 306 | Claude Code |
| controleur-fiscalromainsimon/paperasse | Skill | 2.6k | 18d ago | MIT | A | 136 | Claude Code |
| notaireromainsimon/paperasse | Skill | 2.6k | 18d ago | MIT | A | 233 | Claude Code |
| commissaire-aux-comptesromainsimon/paperasse | Skill | 2.6k | 18d ago | MIT | A | 123 | Claude Code |
| ai-ethics-reviewmohitagw15856/pm-claude-skills | Skill | 1.6k | today | MIT | A | 88 | Claude Code |
| ai-usage-policymohitagw15856/pm-claude-skills | Skill | 1.6k | today | MIT | A | 117 | Claude Code |