Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/cat-xierluo/legal-skillsnpx agentmods add skills/cat-xierluo/legal-skills/contract-copilotWrote 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/cat-xierluo/legal-skills/contract-copilot)<a href="https://agentmods.dev/skills/cat-xierluo/legal-skills/contract-copilot"><img src="https://agentmods.dev/badge/skills/cat-xierluo/legal-skills/contract-copilot/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/cat-xierluo/legal-skills/contract-copilot"><img src="https://agentmods.dev/badge/skills/cat-xierluo/legal-skills/contract-copilot.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.00103 | $0.07963 |
| Opus 5 | $0.00051 | $0.03981 |
| Sonnet 5 | $0.00021 | $0.01593 |
| Haiku 4.5 | $0.00010 | $0.00796 |
Grade A, and why
contract-copilot 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.
The source is not reproduced here
No licence file
A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.
What ships with it
60 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.
- archive/.gitkeep 0 B
- CHANGELOG.md 59 KB
- config/.gitkeep 1 B
- config/review_memory.example.json 39 B
- config/reviewer_profile.example.json 160 B
- DEVELOPMENT-RETROSPECTIVE.md 13 KB
- LICENSE.txt 19 KB
- README.md 5.6 KB
- references/contract-routing.md 18 KB
- references/contract-types/01-sale/commercial-housing.md 7.7 KB
- references/contract-types/01-sale/distribution-sale.md 7.5 KB
- references/contract-types/01-sale/movables-sale.md 7.6 KB
- references/contract-types/01-sale/secondhand-housing.md 8.0 KB
- references/contract-types/02-lease/equipment-lease.md 7.6 KB
- references/contract-types/02-lease/property-lease.md 7.5 KB
- references/contract-types/03-service/advertising-service.md 7.7 KB
- references/contract-types/03-service/brokerage.md 7.7 KB
- references/contract-types/03-service/commission-agency.md 7.7 KB
- references/contract-types/03-service/general-service.md 9.1 KB
- references/contract-types/03-service/property-management.md 7.9 KB
- references/contract-types/03-service/storage-custody.md 6.4 KB
- references/contract-types/03-service/transportation.md 7.8 KB
- references/contract-types/03-service/work-contract.md 7.6 KB
- references/contract-types/04-ip/copyright.md 7.3 KB
- references/contract-types/04-ip/patent.md 7.3 KB
- references/contract-types/04-ip/software-license.md 7.5 KB
- references/contract-types/04-ip/technology-development.md 7.7 KB
- references/contract-types/04-ip/trademark-assignment.md 7.3 KB
- references/contract-types/04-ip/trademark-license.md 7.3 KB
- references/contract-types/05-guarantee/guarantee.md 7.3 KB
- references/contract-types/05-guarantee/mortgage.md 7.4 KB
- references/contract-types/05-guarantee/pledge.md 7.2 KB
- references/contract-types/06-lending-gift/gift.md 7.4 KB
- references/contract-types/06-lending-gift/private-lending.md 7.5 KB
- references/contract-types/07-internet/order-agreement.md 7.2 KB
- references/contract-types/07-internet/privacy-policy.md 7.2 KB
- references/contract-types/07-internet/user-agreement.md 7.2 KB
- references/contract-types/08-marriage-family/divorce-agreement.md 7.3 KB
- references/contract-types/08-marriage-family/legacy-support.md 7.3 KB
- references/contract-types/08-marriage-family/marital-property.md 7.2 KB
- references/contract-types/09-employment/business-outsourcing.md 7.4 KB
- references/contract-types/09-employment/confidentiality.md 4.2 KB
- references/contract-types/09-employment/employment-contract.md 6.8 KB
- references/contract-types/09-employment/internship.md 6.8 KB
- references/contract-types/09-employment/labor-dispatch.md 6.8 KB
- references/contract-types/09-employment/non-compete.md 3.8 KB
- references/contract-types/09-employment/part-time-employment.md 6.3 KB
- references/contract-types/09-employment/personal-service.md 6.8 KB
- references/contract-types/09-employment/reemployment.md 6.6 KB
- references/contract-types/09-employment/training-service.md 3.9 KB
- references/contract-types/10-real-estate/entrusted-construction.md 7.1 KB
- references/contract-types/10-real-estate/joint-construction.md 7.2 KB
- references/contract-types/10-real-estate/land-exchange.md 3.9 KB
- references/contract-types/10-real-estate/land-grant.md 6.2 KB
- references/contract-types/10-real-estate/land-option.md 3.6 KB
- references/contract-types/10-real-estate/land-transfer.md 5.7 KB
- references/contract-types/10-real-estate/relocation-compensation.md 4.1 KB
- references/contract-types/11-construction/construction.md 6.9 KB
- references/contract-types/11-construction/epc-contract.md 6.9 KB
- references/contract-types/11-construction/internal-contracting.md 3.9 KB
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 · 413 lines · 103 tokens per session scan A 5d639ab7244f
contract-copilot is a skill published in the GitHub repository cat-xierluo/legal-skills (670 stars, last pushed today), with no licence file. It adds 103 tokens to every session and 7,963 once invoked, about $0.0005 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
html-ppt-zhangzara-stencil-tablet
A workplace-safety compliance review for a manufacturing regulator — findings, the evidence chain, and the corrective mandate. Built as a decision-grade policy briefing deck for regulator, plant leadership.
treatment-plans
Format and structurally validate local treatment-plan documentation after clinical decisions have already been supplied and verified by authorized licensed professionals. Use for source traceability, clinician-authored intervention records, goals and checkpoints, shared-decision records, reconciliation handoffs, and…
handbook-updates
Diff a proposed handbook change against the current version, flag ripple effects and state supplement impacts. Use when user says "update the handbook", "add this to the handbook", "handbook change", or has a policy ready for insertion.
software-copyright-materials
A workflow for creating Chinese application materials for software copyright registration from a real software project.
iflytek-contract-intelligence-review
A contract-review workflow for scanned or digital agreements. It can recognize document text, examine clauses, detect risks, check compliance, and create translation summaries; its output is for review and is not formal legal advice.
legal-writer
Legal document drafting -- contracts, memos, briefs, complaints, demand letters, opinions, discovery, settlements, ToS, privacy policies. Full pipeline: document structure, per-section writing, Bluebook citation, case law lookup (CourtListener API), regulation lookup (eCFR API), DOCX output, and TDD-style verification…