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: MIT5metadata:6 id: import.contract-review-anthropic7 category: import8 jurisdictions: [__multi__]9 priority: P310 intent: [__import__, contract-review, migration, anthropic, skill-import]11 related: [review-contract-generic, import-nda-triage-anthropic, import-tabular-review-lawvable, import-legal-risk-assessment-anthropic]12 source: https://skillmd.com/skills/sboghossian-mini-claude-for-legal/import-contract-review-anthropic13 upstream: Louis — HAQQ Legal AI (github.com/sboghossian/mini-claude-for-legal)14 version: "1.0"15---1617# Import: Contract Review (Anthropic)1819## What it does2021This 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.2223The 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.2425## Import config2627| Field | Source mapping | Default if absent |28|---|---|---|29| `skill_id` | Legacy `id` or filename stem | `review-contract-anthropic` |30| `prompt_template` | Legacy system prompt text | Extract from file body |31| `risk_buckets` | Legacy risk categories array | HIGH / MEDIUM / LOW |32| `clause_flags` | Legacy clause checklist | Standard 12-clause set (see below) |33| `output_schema` | Legacy response format | Structured markdown table |34| `jurisdiction` | Legacy `jurisdiction` or `locale` field | `__multi__` |35| `language` | Legacy `lang` field | `en` |36| `model_hint` | Legacy `model` field | `claude-sonnet-4-5` |3738## Dry-run preview3940Before committing the import, the adapter emits a preview block:4142```43IMPORT PREVIEW — contract-review-anthropic44Source shape : Anthropic system-prompt JSON45Target skill : review-contract-anthropic46Clause flags : 12 detected (termination, indemnity, liability cap, IP assignment,47 governing law, dispute resolution, confidentiality, payment terms,48 warranties, force majeure, assignment, data protection)49Risk buckets : HIGH / MEDIUM / LOW50Output schema: markdown table51Jurisdictions: __multi__ (no jurisdiction lock detected in source)52```5354The user must confirm before the skill is written to disk.5556## Standard clause checklist (default)5758When the legacy config did not specify a clause list, the import seeds these 12 standard clauses for contract review:59601. **Termination** — grounds, notice period, consequences612. **Indemnification** — scope, caps, carve-outs623. **Liability cap** — amount, exclusions (gross negligence, fraud)634. **IP assignment / licensing** — ownership, work-for-hire, licence grant645. **Governing law & jurisdiction** — choice of law, seat of arbitration656. **Dispute resolution** — arbitration vs litigation, escalation ladder667. **Confidentiality / NDA** — scope, duration, permitted disclosures678. **Payment terms** — currency, timing, late-payment interest689. **Warranties & representations** — scope, survival period6910. **Force majeure** — definition, notice, relief, termination trigger7011. **Assignment & change of control** — consent requirements7112. **Data protection** — DPA obligations, sub-processing, breach notification7273## Jurisdictional notes7475MENA-specific traps surfaced during review after import:7677- **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.78- **DIFC / ADGM**: common-law; DIFC Contract Law and ADGM Contract Regulations apply. Penalty clauses enforceable if genuine pre-estimate of loss.79- **Lebanon**: French-inspired civil law; Articles 221–230 Code des Obligations et des Contrats govern damages; force majeure construction differs from Anglo-American standard.80- **Egypt**: Civil Code (Law 131/1948); courts routinely re-examine penalty clauses.81- **France**: GDPR + French data-protection overlay; specific consumer-protection rules if B2C.8283## Failure modes8485| Error | Likely cause | Resolution |86|---|---|---|87| `schema_mismatch` | Legacy output format uses XML or HTML | Map via `output_schema: markdown` override |88| `clause_list_empty` | Source used implicit checks, no list | Apply default 12-clause set |89| `jurisdiction_conflict` | Source locks to US; target is MENA | Override with `jurisdictions: [__multi__]` |90| `prompt_too_long` | Legacy prompt exceeds context on import | Split into system + user template parts |9192## Related skills9394- [[review-contract-generic]]95- [[import-nda-triage-anthropic]]96- [[import-legal-risk-assessment-anthropic]]97- [[import-tabular-review-lawvable]]98- [[review-nda-bilateral]]