Packs / legal-ops-public
clause-finder
Find which standard clauses a contract contains or is missing, with the clause text for each found one
Install
logicpacks pack use legal-ops-public/clause-finderget_pack legal-ops-public/clause-finderThe second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.
Keys it needs (names only)
None.
Playbooks included
- Spec:
spec/SPEC.md(goal, steps, edge cases, don’ts) - Routes:
local-python - Checks: 1 in
outcome/checks.yaml - Code:
clauses.py - Tools: python3
Usage, last 8 weeks
New: no recorded use yet.
Purpose (from spec/SPEC.md)
Goal
A present/missing table for standard commercial clauses (term, termination, renewal, payment, confidentiality, limitation of liability, indemnity, governing law, assignment, dispute resolution, force majeure, data protection) with the matching clause number and first line.
Verified by: Fixture MSA: 9 clauses found, dispute resolution / force majeure / data protection reported missing.
Steps
- Convert the contract to text.
- Run
python3 code/clauses.py contract.txt. - For each MISSING clause decide if it matters for this deal; ask a lawyer if unsure.
Edge cases
- Pattern search can miss unusual wording; a missing result means 'not found by keyword', so skim the document too.
- Schedules and annexes are searched as well.
Don'ts
- Don't present the output as legal advice; a qualified lawyer reviews anything that will be signed.