Productivity & Collaboration pdf-generationreportlabpythoncontract-reviewlegal-reportingdocument-generation

Legal Analysis PDF Report Generator

Turns completed legal contract-review results into a polished branded PDF with score gauge, risk dashboard, and clause-by-clause analysis.

FollowSkills review · FSRS-2.0
Use with care
47/ 100 5-point scale 2.4 / 5
1 2 3 4 5 6
1Trust14 / 25 · 2.8/5

The skill itself is fairly restrained: it only reads existing analysis files in the working directory and produces a PDF, and includes explicit legal disclaimers. Deductions: Phase 2.3 auto-installs reportlab via pip without user confirmation, and instructs generating and executing inline Python when the script is missing — an unconfirmed code-execution surface; script search uses relative globs with mediocre data-flow transparency; no rollback mechanism documented.

2Reliability10 / 20 · 2.5/5

Instructions are self-consistent and well structured, with an error-handling table and graceful fallbacks (no data/no script paths). But the key path depends entirely on a generate_pdf_report.py whose contents are not provided here, plus inline generation quality; parsing depends on exact upstream markdown formats (e.g. 'Contract Safety Score: X/100') with no handling for format drift; no tests or failure-feedback detail — static ceiling of 10 applies.

3Adaptability8 / 15 · 2.7/5

Trigger conditions are clear (/legal report-pdf after a review), prerequisites and input formats are specified, and it explicitly refuses to run without data. Deductions: compatibility boundaries with externally produced analysis files are undeclared; English-only with no Chinese support note; core function depends on Claude Code and PyPI, with mainland-China reachability risk undisclosed.

4Convention6 / 15 · 2.0/5

Documentation is well layered (phased, tabular), and the error-handling table is a strength. Deductions: license metadata unknown; no version or changelog; the script path inside the skill (scripts/generate_pdf_report.py) is inconsistent with README's generate_legal_pdf.py — a hidden assumption; maintenance ownership and update path unclear, and README skews toward marketing (Skool community funnel).

5Effectiveness6 / 15 · 2.0/5

The Phase 3 output spec is detailed and concrete enough to yield a directly usable branded PDF, with a fallback if the gauge fails. Deductions: actual quality depends on LLM-written inline ReportLab code, unverifiable statically; '>10KB' is weak verification; usability of output without attorney review is limited; comparative-benefit evidence missing; static ceiling of 7 applies.

6Verifiability3 / 10 · 1.5/5

Only source-file specifications exist — no tests, CI evidence, real execution samples, or third-party corroboration. README statistics (82%, $10,000+ etc.) are unsourced marketing claims. Evidence types are thin under static review; 3 points.

Evidence confidence:Low Reviewed Sep 09, 2026 Reviewed revision 19ece98df260
Before you use it
  • When the script is missing, the skill auto-installs reportlab and executes inline-generated Python; verify dependency provenance and inspect generated code before use.
  • README claims like '60-second contract review' lack execution evidence; this is a static review — the PDF pipeline was not executed.
  • Repository license is unknown; the script filename in the skill differs from README — verify the actual script location after install.
  • Core function depends on Claude Code and PyPI, which may be unreachable from mainland-China networks; no Chinese-language support is documented.
  • The PDF contains legal analysis content; always have it reviewed by a licensed attorney before relying on it.
Review evidence [1][2]
See the full review method →

What does this skill do, and when should you use it?

This skill is the reporting module of the AI Legal Assistant collection (one of 14 skills), invoked via /legal report-pdf. It first locates the most recent contract-review output file in the working directory (e.g. CONTRACT-REVIEW-*.md), parses the safety score, risk distribution, clause analysis, missing protections, and negotiation priorities, then uses Python + ReportLab to produce a multi-page PDF with cover page, score gauge, risk dashboard, and legal disclaimer. It performs no legal analysis itself — a review command must run first to generate the data. The whole collection installs with a single curl command.

1) Uses Glob to search the working directory for review output files in priority order: CONTRACT-REVIEW-*.md, FREELANCER-REVIEW-*.md, COMPLIANCE-AUDIT-*.md, NDA-REVIEW-*.md; 2) parses score, grade, contract type, parties, risk dashboard, clause analysis, obligations timeline, compliance flags, and negotiation priorities via regex/string matching; 3) prefers running the repo's scripts/generate_pdf_report.py, falling back to an inline Python script that calls ReportLab; 4) outputs a Letter-size PDF with cover (semi-circular score gauge), executive summary, risk dashboard, clause-by-clause entries, missing-protections checklist, obligations table, compliance flags, negotiation priorities, next-steps checklist, and a final legal disclaimer, with CONFIDENTIAL page footers; 5) verifies the file exists and is a reasonable size (over 10KB).

  1. A freelancer who has run /legal review and needs a formal PDF to send to a client or attorney
  2. An AI automation agency selling contract review as a paid service and needing branded client deliverables
  3. A small-business owner who wants a structured contract-risk record including deadlines and consequences
  4. A compliance person who wants /legal compliance audit results fixed into a written report with flags
  5. A negotiator who wants the ranked negotiation priorities rendered as a printable brief before a call

What are this skill's strengths and limitations?

Pros
  • Complete report structure: score gauge, risk dashboard, clause-by-clause analysis, obligations timeline, negotiation priorities
  • Built-in fallbacks: generates Python inline if the script is missing, and degrades the gauge to a color-coded score box if drawing fails
  • Handles missing data sections gracefully and reports which sections were skipped
  • Includes legal disclaimer pages, suitable for client delivery
Limitations
  • Not standalone — depends on /legal review, /legal freelancer, or similar commands producing data first
  • Requires Python 3.8+ and ReportLab; cannot run in pure web or Python-less environments
  • License unknown, so commercial-use terms are unclear
  • No test suite or sample PDF in the docs to evidence output quality
  • Parsing depends on the specific markdown markers of upstream review output; format changes upstream would break it

How do you install this skill?

Install the whole collection (including this skill and the PDF script): curl -fsSL https://raw.githubusercontent.com/zubair-trabzada/ai-legal-claude/main/install.sh | bash. The skill lives at skills/legal-report-pdf/SKILL.md in the repo. An uninstall.sh is also provided. Requirements: Claude Code, Python 3.8+, and reportlab (pip3 install reportlab). Manual standalone installation of just this skill is not documented.

How do you use this skill?

Run any review command first (e.g. /legal review <file>), then run /legal report-pdf in the same working directory. The skill auto-locates the most recent review file and outputs CONTRACT-REVIEW-REPORT.pdf. If no review data is found it prompts you to run /legal review first. In environments without slash commands, follow the SKILL.md workflow manually: run generate_pdf_report.py with --input pointing at the analysis markdown and --output for the PDF path.

How does this skill compare with similar options?

The source names no other PDF report tools; within the repo it serves as the shared report output for the 13 analysis/generation skills.

FAQ

Does it cost money?
The repo is distributed free (license unknown), but it requires Claude Code with an active Anthropic API key; the README suggests selling reviews as a $500–$1,500 service.
Can I use this skill standalone?
No. It only consumes existing review result files; without a CONTRACT-REVIEW-style analysis file it refuses to run and tells you to run /legal review first.
What if generation fails?
SKILL.md defines error handling: auto pip-installs ReportLab and retries, generates the script inline if missing, and as a last resort hands you the markdown analysis with an explanation that the PDF could not be produced.
Is the report legal advice?
No. Both the cover and final pages carry a disclaimer: this is AI-generated analysis, not legal advice — always consult a licensed attorney before signing.

More skills from this repository

All from zubair-trabzada/ai-legal-claude

Productivity & Collaboration

AI Legal Assistant (legal/SKILL.md Orchestrator)

One /legal command in Claude Code for contract review, risk scoring, NDA and terms generation, compliance checks, and PDF reports — replacing costly first-pass legal review.

Productivity & Collaboration

Missing Protections Finder (AI Legal Assistant)

Scans a contract for protections that industry standards say should be there but aren't, then delivers ready-to-insert clause language with urgency ratings.

Productivity & Collaboration

AI Legal Assistant: Full Contract Review

One command launches five parallel AI agents to review a contract, producing a scored report with clause-by-clause risk analysis and negotiation priorities in under 60 seconds.

Productivity & Collaboration

Contract Comparison Skill

Clause-by-clause comparison of two contract versions, flagging every change, who it favors, and hidden risks before you sign.

Productivity & Collaboration

Freelancer Contract Review

Reviews contracts from the freelancer's perspective, flags common traps, scores fairness, and produces actionable negotiation scripts before you sign.

Dev & Engineering

Deep Risk Analysis (AI Legal Assistant Skill)

Clause-by-clause contract risk scoring (1-10), financial exposure estimates, and ready-to-use replacement clause language.

Productivity & Collaboration

Terms of Service Generator (AI Legal Assistant)

Scans any website or SaaS product and drafts complete, GDPR/CCPA-compliant Terms of Service with plain-English summaries for every section.

Productivity & Collaboration

Plain English Contract Translator

Turns every clause of a contract from legalese into clear plain English, flagging deliberately confusing or misleading language.

Writing & Content

Privacy Policy Generator

Scans a website's actual data collection practices and generates a GDPR/CCPA-compliant privacy policy tailored to what it really finds.

Productivity & Collaboration

Counter-Proposal Generator

Flags every unfavorable contract clause and produces insert-ready replacement language, talking points, and a ready-to-send revision email.

Dev & Engineering

Custom NDA Generator

Generate a complete, situation-tailored Non-Disclosure Agreement from one command, with plain English annotations on every section — no more piecing together templates.

Productivity & Collaboration

Business Agreement Generator

Turns a short Q&A into a complete business agreement with plain-English annotations — freelancer contracts, partnerships, SOWs, MSAs and more.

Productivity & Collaboration

Compliance Gap Analysis

Scans any website and audits it against GDPR, CCPA, ADA/WCAG, PCI-DSS, CAN-SPAM, COPPA and SOC 2, producing a scored gap report with a remediation roadmap.

Related skills