- Home
- Skills
- Legal & Compliance
- Legal Analyzer
More screenshots
Works with the AI Agents you already use
Legal Analyzer
by Reyan Das
Local-first contract intelligence for risk scoring, obligation extraction, and grounded Q&A.
$9.99
Legal Analyzer
Example session with this skill installed
Analyze vendor_agreement.pdf for a Client role in the US-CA jurisdiction. Identify high-risk clauses and suggest amendments. Export as markdown.
- Read your context and instructions
- Compiled the legal analyzer
- Generated the document
I have analyzed vendor_agreement.pdf from the perspective of the
Client under
US-CA jurisdiction. The system identified 3 high-risk clauses and 2 missing standard protections.
Contract Analysis Report: vendor_agreement.pdf
| Clause Ref | Category | Risk Level | Finding | Suggested Amendment |
|---|---|---|---|---|
| Section 8.2 | Indemnification | High | Unilateral indemnity favoring Vendor for all third-party claims. | "Each party shall indemnify and hold harmless the other party from..." |
| Section 4.1 | Payment Terms | Medium | 15-day payment window with 5% monthly late fee is aggressive. | Extend payment window to 30 days and cap late fees at 1.5% per month. |
| Section 12 | Termination | High | No provision for Client to terminate for convenience; 90-day notice for cause. | Add: "Client may terminate this Agreement for convenience upon 30 days' written notice." |
| N/A | Data Privacy | High | Missing CCPA-compliant data processing language. | Include standard California Data Processing Addendum (DPA) language. |
Extracted Obligations
- Payment: Client must pay undisputed invoices within 15 days (Section 4.1).
- Notice: Formal notices must be sent via certified mail to the Vendor's SF office (Section 14.3).
- Audit: Vendor may audit Client usage once per quarter with 48 hours' notice (Section 5.2).
Next steps
- Review the
reports/analysis.jsonfor the full raw extraction data. - Use the suggested amendments in Section 8.2 to open negotiations regarding mutual indemnification.
- Verify if the 48-hour audit notice in Section 5.2 aligns with your internal security protocols.
vendor_agreement.pdf
PDF · document
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Reviewing contracts manually is slow and prone to oversight. This skill automates the extraction of obligations, risk scoring, and amendment drafting directly from your local environment.
What it does
- Clause Analysis: Identifies risky, one-sided, or ambiguous clauses using heuristic scoring across ten categories.
- Obligation Extraction: Pulls key party duties, notice periods, payment terms, and deadlines into structured lists.
- Grounded Q&A: Answers specific questions about contract terms using exact supporting quotations and clause references.
- Amendment Drafting: Generates suggested replacement wording and negotiation talking points for unfavorable terms.
- Multi-format Export: Produces structured reports in Markdown, JSON, and PDF formats for integration or review.
How it works
- Environment Check: Run
check_environment.pyto verify Python 3.10+ and optional dependencies likepypdforreportlab. - Document Ingestion: Provide a
.pdf,.txt, or.mdfile to theanalyze_contract.pyscript. - Analysis Execution: Specify the jurisdiction and role to customize the risk assessment and amendment logic.
- Result Export: Retrieve the final report from the output directory in your preferred schema.
Frameworks & tools
Built with Python 3.10. It uses pypdf or PyMuPDF for text extraction and reportlab for PDF generation. Optional neural analysis utilizes torch, transformers, and faiss-cpu to run InLegalBERT and RoBERTa models locally.
Why this beats prompting it yourself
Generic prompts often hallucinate terms or miss subtle one-sided obligations in long documents. This tool uses a structured heuristic methodology and local embeddings to ensure every claim is grounded in the actual document text.
Use cases
- Audit vendor agreements to find hidden notice periods or automatic renewals.
- Generate a risk profile for employment contracts from the employee perspective.
- Rapidly answer "What are my termination rights?" with direct quotes from a 50-page PDF.
- Create a JSON export of all contract deadlines for integration into a calendar or CRM.
Known limitations
Does not support image-only scanned PDFs without extractable text layers. Highly complex formatting may impact clause boundary detection. Risk scores are heuristic aids and require professional review.
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 5 days ago
- Software
Python
- Optional
- Internet connection (only for optional model downloads)
The default analysis mode runs locally using Python. Optional ML-powered question answering may require an internet connection for initial model downloads. Supported inputs include text-based PDF, TXT and Markdown files. Scanned PDFs and DOCX files are not currently supported. This tool provides…
Permissions
File Scopes
Terminal access is required to execute the local Python analysis scripts. Read access is needed to inspect user-selected contracts. Write access is used only to create requested reports and suggested amendments. Network access is only needed for optional machine-learning model downloads. Contract contents are processed locally by default. No external accounts or API credentials are required.
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.