- Home
- Skills
- Legal & Compliance
- Contract Clause Risk Scorer
Contract Clause Risk Scorer
by Binod Tiwari
Finds and risk-scores contract clauses (indemnity, IP, termination, non-compete and more) and explains the risky ones in plain English.
$1
Contract Clause Risk Scorer
Example session with this skill installed
Review this freelance contract and tell me what's risky: contract.pdf
- Read your context and instructions
- Compiled the contract clause risk
Overall risk: medium (0.60). Top issues: Indemnification (high) — "Contractor shall defend, indemnify and hold harmless Client... without limitation." One-sided and uncapped; ask to make it mutual and cap it at fees paid. IP assignment (high) — all work product goes to Client; ask to keep your pre-existing tools and code. Worth a look: termination for convenience on 30 days' notice. Looks standard: governing law (Delaware).
Connects securely to your tools. The creator never sees your data.
About this skill
Scores every clause in a contract for risk and turns the result into a short, plain-English review.
-
Get the text. If the user pasted it, save it to a temporary .txt file. For a PDF, make sure
pypdfis installed (pip install pypdf). -
Run the scorer (bundled at
scripts/analyze_contract.py, Python 3.9+):python scripts/analyze_contract.py <contract.pdf|contract.txt>- The default keyword mode needs nothing beyond Python (plus pypdf for PDFs) and is fast.
- Add
--bertfor BERT zero-shot classification (typeform/distilbert-base-uncased-mnli). It needstransformersandtorch, and the first run downloads about 250 MB. Use it only when the user wants deeper classification and the packages are already installed or the user agrees to install them. If loading fails, the script falls back to keyword mode. - The script prints JSON: overall score and level, counts by level, and each clause with
clause_type,risk_score(0-1),risk_level,confidence,why_it_mattersandtext_excerpt, sorted with the highest risk first.
-
Read the high and medium risk excerpts yourself. The scores are a triage signal, not legal judgment. For each one, check the actual wording: who bears the obligation, whether it is mutual or one-sided, caps, notice periods, durations and carve-outs. Correct a clause type if the excerpt was clearly mislabelled. Add any important clause the scorer missed (for example auto-renewal or assignment).
Not legal advice. Scanned PDFs need OCR first. Scores are a triage signal based on clause type, not on how favorable the exact wording is; the agent reviews the high-risk excerpts itself.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 3 days ago
- Software
Python 3.9+pypdf (for PDF input)
- Optional
- transformerstorch (BERT mode)
Permissions
File Scopes
Runs fully locally. Keyword mode makes no network calls. Optional --bert mode downloads the typeform/distilbert-base-uncased-mnli model from Hugging Face on first run.
What's inside
Frequently Asked Questions
New in Legal & Compliance
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Legal & Compliance.