CW-201b · Module 1
Legal Domain Guardrails
3 min read
Every domain-specific Claude workflow needs guardrails, and legal work needs them more than most. The reason is liability — a mischaracterized clause can lead to a signed contract with terms your organization did not intend to accept. The guardrails are not about distrusting Claude. They are about building a system that is reliable enough to trust.
Guardrail one: never let Claude recommend accepting or rejecting terms. Claude extracts. Claude compares. Claude flags. A human decides. The system prompt for every legal skill should include: "You are an extraction and analysis tool. Do not recommend courses of action. Do not use language like 'you should accept' or 'this is a good deal.' Present findings and let the reader decide."
Guardrail two: confidence scoring on every extraction. Claude should rate its confidence in each clause extraction: high (clause is clear and unambiguous), medium (clause is complex but interpretation is likely correct), low (clause is ambiguous, contains cross-references to other sections, or uses domain-specific terms that may have jurisdictional nuance). Low-confidence extractions get sent to legal counsel regardless of whether they would otherwise be flagged.
Guardrail three: version control every analysis. When Claude produces a contract review, save the analysis as a dated artifact alongside the source contract. If the contract is later disputed, you have a record of what was flagged and what was not. This is not just good practice — it is discoverable in litigation, so make sure the analysis is accurate and the disclaimers are clear.
Do This
- Include "do not recommend courses of action" in every legal skill's system prompt
- Require confidence scores on every clause extraction — high, medium, low
- Route low-confidence extractions to legal counsel automatically, even if not otherwise flagged
- Save every contract analysis as a dated artifact alongside the source document
Avoid This
- Let Claude say "you should sign this" or "this clause is acceptable" — that is legal advice
- Trust all extractions equally — complex nested clauses are harder to parse than simple ones
- Delete analysis artifacts after the deal closes — they may be needed later
- Skip the disclaimers on analysis output — anyone reading it must know it is AI-generated, not legal counsel