wps-contract

wps-contract is a skill for Claude Code, Codex from ThomasMoreAI/legal-skills-open. It costs 68 tokens per session (2,037 once invoked), scanned A, original, Apache-2.0.

A contract document generator for common agreements such as employment, lease, sales, services, software development, and confidentiality contracts. It fills in key details and produces a Word document.

In plain words
What is it for?
Use it to create or revise standard contracts by providing the parties, contract type, price, dates, services or goods, and other business terms.
Why use it?
It gives you a structured starting point when drafting a contract, so important terms are less likely to be omitted.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create or revise standard contracts by providing the parties, contract type, price, dates, services or goods, and other business terms.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thomasmoreai/legal-skills-open/wps-contract
Install

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.

Any agent
npx skills add ThomasMoreAI/legal-skills-open --skill wps-contract
Clone the repo
git clone --depth 1 https://github.com/ThomasMoreAI/legal-skills-open

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for wps-contract

README.md
[![agentmods](https://agentmods.dev/badge/skills/thomasmoreai/legal-skills-open/wps-contract/github.svg)](https://agentmods.dev/skills/thomasmoreai/legal-skills-open/wps-contract)
Your own site
<a href="https://agentmods.dev/skills/thomasmoreai/legal-skills-open/wps-contract"><img src="https://agentmods.dev/badge/skills/thomasmoreai/legal-skills-open/wps-contract/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.

agentmods 80×15 button for wps-contract

Your own site · 80×15
<a href="https://agentmods.dev/skills/thomasmoreai/legal-skills-open/wps-contract"><img src="https://agentmods.dev/badge/skills/thomasmoreai/legal-skills-open/wps-contract.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,037 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00068 $0.02037
Opus 5 $0.00034 $0.01019
Sonnet 5 $0.00014 $0.00407
Haiku 4.5 $0.00007 $0.00204

Measured 9d ago against content hash 1c270feb3d69, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

wps-contract 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 9d 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.

cn/contracts/skills/wps-contract/SKILL.md · 215 lines

How it starts

The opening of the file, as written. The whole thing — 215 lines — stays where its author put it; the contents beside it link to each section on GitHub.

智能合同生成器

根据合同类型自动生成符合中国法律规范的 .docx 合同文档。

免责声明:本工具生成的合同模板仅供参考,不构成法律建议。重要合同请咨询专业律师审核。

When to Use

  • 用户需要起草各类合同或协议
  • 用户说"帮我写一份XX合同"
  • 用户需要标准合同模板
  • 用户需要在已有合同中添加/修改条款

When NOT to Use

  • 党政机关公文 → 使用 wps-gongwen
  • 普通Word文档 → 使用 wps-docx-writer
  • 合同中的数据表格处理 → 使用 wps-formula

支持的合同类型

类型 适用场景 核心条款
劳动合同 企业雇佣员工 岗位、薪酬、工时、社保、试用期、竞业限制
劳务合同 非劳动关系的服务 服务内容、报酬、期限、不构成劳动关系声明
租赁合同 房屋/设备/车辆租赁 租金、押金、维修责任、提前解约
买卖合同 商品购销 标的物、价格、交付、验收、质保
技术开发合同 软件/系统开发 需求范围、交付物、验收标准、知识产权
保密协议(NDA) 商业秘密保护 保密范围、期限、违约金、例外情形
合作协议 业务合作 合作模式、分工、收益分配、退出机制
股权转让协议 股权交易 转让价格、交割条件、陈述保证、过渡期
借款协议 民间借贷 借款金额、利率、还款方式、担保
代理协议 代理销售/采购 代理范围、佣金、独家/非独家
竞业限制协议 员工离职后限制 限制范围、期限、补偿金
服务协议(SLA) IT/咨询服务 服务范围、SLA指标、响应时间、付款

工作流程

Step 1: 确认合同要素

必填信息:

  • 合同类型:从上表选择
  • 甲方信息:名称(个人/公司)
  • 乙方信息:名称(个人/公司)
  • 核心商业条款:金额、期限、标的物等

可选信息(未提供则使用通用条款):

  • 争议解决方式(仲裁/诉讼,管辖地)
  • 违约金比例
  • 保密条款
  • 不可抗力条款
  • 通知方式
  • 合同份数

Step 2: 生成合同内容

合同基本结构:

合同编号:[编号]
                    [合同标题]

甲方(全称):_______________
统一社会信用代码/身份证号:_______________
法定代表人/负责人:_______________
地址:_______________
联系电话:_______________

乙方(全称):_______________
(同上字段)

鉴于:
  [合同背景和缔约目的]

双方经友好协商,根据《中华人民共和国民法典》及相关法律法规,
就[事项]达成如下协议:

第一条  [标的/服务内容]
第二条  [价格/报酬]
第三条  [付款方式]
第四条  [交付/履行]
第五条  [验收标准]
第六条  [双方权利义务]
第七条  [违约责任]
第八条  [保密条款]
第九条  [不可抗力]
第十条  [争议解决]
第十一条  [其他约定]
第十二条  [合同生效]

甲方(盖章):              乙方(盖章):
法定代表人/授权代表:        法定代表人/授权代表:
日期:    年  月  日         日期:    年  月  日

Step 3: 生成 .docx 文件

先确保依赖:

pip install python-docx 2>/dev/null || pip3 install python-docx 2>/dev/null

排版规范:

纸张:A4
页边距:上下左右各 2.54cm(Word默认)
标题:二号黑体,居中
合同编号:小四号宋体,右对齐
正文:小四号宋体,行距1.5倍
条款标题:"第X条"加粗
首行缩进:2字符
签署栏:左右分列,甲方左侧,乙方右侧
页脚:页码居中

金额大小写规范:

合同中出现金额时必须同时标注大小写:
人民币(大写):壹拾万元整
人民币(小写):¥100,000.00

大写数字对照:
零、壹、贰、叁、肆、伍、陆、柒、捌、玖
拾、佰、仟、万、亿
元、角、分、整

Read the full file on GitHub · 215 lines

Changes

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.

  1. 9d ago First seen · 215 lines · 68 tokens per session scan A 1c270feb3d69

Subscribe to this mod's changes

wps-contract is a skill published in the GitHub repository ThomasMoreAI/legal-skills-open (72 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 68 tokens to every session and 2,037 once invoked, about $0.0003 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-09-03.