Import: Contract Review (Anthropic)
What it does
This import adapter migrates a contract-review skill originally authored for Anthropic's Claude API into the mini-claude-for-legal standard SKILL.md format. The legacy skill may have been built as a raw system-prompt file, a JSON config blob, a claude.ai Projects instruction, or a structured prompt-pack; this adapter normalises all of those shapes into a deployable skill entry.
The resulting skill enables Claude to systematically review commercial contracts — identifying missing clauses, anomalous terms, risk exposure, and jurisdiction-specific traps — while preserving all prompt logic from the original Anthropic-native implementation.
Import config
| Field |
Source mapping |
Default if absent |
skill_id |
Legacy id or filename stem |
review-contract-anthropic |
prompt_template |
Legacy system prompt text |
Extract from file body |
risk_buckets |
Legacy risk categories array |
HIGH / MEDIUM / LOW |
clause_flags |
Legacy clause checklist |
Standard 12-clause set (see below) |
output_schema |
Legacy response format |
Structured markdown table |
jurisdiction |
Legacy jurisdiction or locale field |
__multi__ |
language |
Legacy lang field |
en |
model_hint |
Legacy model field |
claude-sonnet-4-5 |
Dry-run preview
Before committing the import, the adapter emits a preview block:
IMPORT PREVIEW — contract-review-anthropic
Source shape : Anthropic system-prompt JSON
Target skill : review-contract-anthropic
Clause flags : 12 detected (termination, indemnity, liability cap, IP assignment,
governing law, dispute resolution, confidentiality, payment terms,
warranties, force majeure, assignment, data protection)
Risk buckets : HIGH / MEDIUM / LOW
Output schema: markdown table
Jurisdictions: __multi__ (no jurisdiction lock detected in source)
The user must confirm before the skill is written to disk.
Standard clause checklist (default)
When the legacy config did not specify a clause list, the import seeds these 12 standard clauses for contract review:
- Termination — grounds, notice period, consequences
- Indemnification — scope, caps, carve-outs
- Liability cap — amount, exclusions (gross negligence, fraud)
- IP assignment / licensing — ownership, work-for-hire, licence grant
- Governing law & jurisdiction — choice of law, seat of arbitration
- Dispute resolution — arbitration vs litigation, escalation ladder
- Confidentiality / NDA — scope, duration, permitted disclosures
- Payment terms — currency, timing, late-payment interest
- Warranties & representations — scope, survival period
- Force majeure — definition, notice, relief, termination trigger
- Assignment & change of control — consent requirements
- Data protection — DPA obligations, sub-processing, breach notification
Jurisdictional notes
MENA-specific traps surfaced during review after import:
- UAE / KSA onshore: civil-code jurisdictions; liquidated-damages clauses (penalty clauses) must not be unconscionably disproportionate or courts may reduce them. Verify Arabic language requirement for government contracts.
- DIFC / ADGM: common-law; DIFC Contract Law and ADGM Contract Regulations apply. Penalty clauses enforceable if genuine pre-estimate of loss.
- Lebanon: French-inspired civil law; Articles 221–230 Code des Obligations et des Contrats govern damages; force majeure construction differs from Anglo-American standard.
- Egypt: Civil Code (Law 131/1948); courts routinely re-examine penalty clauses.
- France: GDPR + French data-protection overlay; specific consumer-protection rules if B2C.
Failure modes
| Error |
Likely cause |
Resolution |
schema_mismatch |
Legacy output format uses XML or HTML |
Map via output_schema: markdown override |
clause_list_empty |
Source used implicit checks, no list |
Apply default 12-clause set |
jurisdiction_conflict |
Source locks to US; target is MENA |
Override with jurisdictions: [__multi__] |
prompt_too_long |
Legacy prompt exceeds context on import |
Split into system + user template parts |
Related skills
- [[review-contract-generic]]
- [[import-nda-triage-anthropic]]
- [[import-legal-risk-assessment-anthropic]]
- [[import-tabular-review-lawvable]]
- [[review-nda-bilateral]]
1---2name: import-contract-review-anthropic3description: Use when migrating a contract-review skill or workflow originally built for Anthropic's Claude API into the mini-claude-for-legal skill format. This import adapter maps the legacy Anthropic contract-review data shape — prompt templates, clause flags, risk buckets, and output schemas — into the standard skill model. Triggers on any import of Anthropic-native contract analysis configurations.4license: MIT5---67# Import: Contract Review (Anthropic)89## What it does1011This import adapter migrates a **contract-review skill** originally authored for Anthropic's Claude API into the `mini-claude-for-legal` standard SKILL.md format. The legacy skill may have been built as a raw system-prompt file, a JSON config blob, a `claude.ai` Projects instruction, or a structured prompt-pack; this adapter normalises all of those shapes into a deployable skill entry.1213The resulting skill enables Claude to systematically review commercial contracts — identifying missing clauses, anomalous terms, risk exposure, and jurisdiction-specific traps — while preserving all prompt logic from the original Anthropic-native implementation.1415## Import config1617| Field | Source mapping | Default if absent |18|---|---|---|19| `skill_id` | Legacy `id` or filename stem | `review-contract-anthropic` |20| `prompt_template` | Legacy system prompt text | Extract from file body |21| `risk_buckets` | Legacy risk categories array | HIGH / MEDIUM / LOW |22| `clause_flags` | Legacy clause checklist | Standard 12-clause set (see below) |23| `output_schema` | Legacy response format | Structured markdown table |24| `jurisdiction` | Legacy `jurisdiction` or `locale` field | `__multi__` |25| `language` | Legacy `lang` field | `en` |26| `model_hint` | Legacy `model` field | `claude-sonnet-4-5` |2728## Dry-run preview2930Before committing the import, the adapter emits a preview block:3132```33IMPORT PREVIEW — contract-review-anthropic34Source shape : Anthropic system-prompt JSON35Target skill : review-contract-anthropic36Clause flags : 12 detected (termination, indemnity, liability cap, IP assignment,37 governing law, dispute resolution, confidentiality, payment terms,38 warranties, force majeure, assignment, data protection)39Risk buckets : HIGH / MEDIUM / LOW40Output schema: markdown table41Jurisdictions: __multi__ (no jurisdiction lock detected in source)42```4344The user must confirm before the skill is written to disk.4546## Standard clause checklist (default)4748When the legacy config did not specify a clause list, the import seeds these 12 standard clauses for contract review:49501. **Termination** — grounds, notice period, consequences512. **Indemnification** — scope, caps, carve-outs523. **Liability cap** — amount, exclusions (gross negligence, fraud)534. **IP assignment / licensing** — ownership, work-for-hire, licence grant545. **Governing law & jurisdiction** — choice of law, seat of arbitration556. **Dispute resolution** — arbitration vs litigation, escalation ladder567. **Confidentiality / NDA** — scope, duration, permitted disclosures578. **Payment terms** — currency, timing, late-payment interest589. **Warranties & representations** — scope, survival period5910. **Force majeure** — definition, notice, relief, termination trigger6011. **Assignment & change of control** — consent requirements6112. **Data protection** — DPA obligations, sub-processing, breach notification6263## Jurisdictional notes6465MENA-specific traps surfaced during review after import:6667- **UAE / KSA onshore**: civil-code jurisdictions; liquidated-damages clauses (penalty clauses) must not be unconscionably disproportionate or courts may reduce them. Verify Arabic language requirement for government contracts.68- **DIFC / ADGM**: common-law; DIFC Contract Law and ADGM Contract Regulations apply. Penalty clauses enforceable if genuine pre-estimate of loss.69- **Lebanon**: French-inspired civil law; Articles 221–230 Code des Obligations et des Contrats govern damages; force majeure construction differs from Anglo-American standard.70- **Egypt**: Civil Code (Law 131/1948); courts routinely re-examine penalty clauses.71- **France**: GDPR + French data-protection overlay; specific consumer-protection rules if B2C.7273## Failure modes7475| Error | Likely cause | Resolution |76|---|---|---|77| `schema_mismatch` | Legacy output format uses XML or HTML | Map via `output_schema: markdown` override |78| `clause_list_empty` | Source used implicit checks, no list | Apply default 12-clause set |79| `jurisdiction_conflict` | Source locks to US; target is MENA | Override with `jurisdictions: [__multi__]` |80| `prompt_too_long` | Legacy prompt exceeds context on import | Split into system + user template parts |8182## Related skills8384- [[review-contract-generic]]85- [[import-nda-triage-anthropic]]86- [[import-legal-risk-assessment-anthropic]]87- [[import-tabular-review-lawvable]]88- [[review-nda-bilateral]]