legal-analysis
Analyze legal contracts, extract clauses, and perform legal research with structured frameworks
Best use case
legal-analysis is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Analyze legal contracts, extract clauses, and perform legal research with structured frameworks
Teams using legal-analysis should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/legal-analysis/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How legal-analysis Compares
| Feature / Agent | legal-analysis | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Analyze legal contracts, extract clauses, and perform legal research with structured frameworks
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
Best AI Skills for ChatGPT
Find the best AI skills to adapt into ChatGPT workflows for research, writing, summarization, planning, and repeatable assistant tasks.
AI Agent for Product Research
Browse AI agent skills for product research, competitive analysis, customer discovery, and structured product decision support.
AI Agent for SaaS Idea Validation
Use AI agent skills for SaaS idea validation, market research, customer discovery, competitor analysis, and documenting startup hypotheses.
SKILL.md Source
# Legal Analysis ## Purpose Analyze legal documents, extract key clauses, and perform structured legal research. ## Key Datasets - **CUAD** (atticus-project/cuad): Contract Understanding Atticus Dataset — 510 contracts, 41 clause types, 13,000+ annotations (CC-BY) - **CaseHOLD**: Legal case holding identification - **LegalBench**: Legal reasoning benchmark across 162 tasks ## Clause Types (from CUAD) Document Name, Parties, Agreement Date, Effective Date, Expiration Date, Renewal Term, Notice Period, Governing Law, Arbitration, Anti-Assignment, Non-Compete, Non-Solicitation, Termination for Convenience, IP Ownership, License Grant, Non-Disparagement, Revenue/Profit Sharing, Change of Control, Audit Rights, Uncapped Liability, Cap on Liability, Liquidated Damages, Most Favored Nation, Exclusivity, Minimum Commitment, Volume Restriction, Insurance, Covenant Not to Sue, Third Party Beneficiary ## Protocol 1. **Document intake** — Parse contract structure, identify parties and key dates 2. **Clause extraction** — Identify and classify clauses by type 3. **Risk analysis** — Flag unusual, missing, or potentially problematic provisions 4. **Comparison** — Compare against standard terms for the contract type 5. **Summary** — Structured output with key terms, obligations, and risks ## Rules - This is NOT legal advice — always recommend professional legal review - Identify jurisdiction-specific considerations - Flag ambiguous language that could be interpreted multiple ways - Note missing standard clauses that are typically expected
Related Skills
statistical-analysis
Guided statistical analysis with test selection and reporting. Use when you need help choosing appropriate tests for your data, assumption checking, power analysis, and APA-formatted results. Best for academic research reporting, test selection guidance. For implementing specific models programmatically use statsmodels.
social-science-analysis
Social science research methods including survey design, qualitative analysis, content analysis, network analysis, psychometrics, and mixed methods. Covers sociology, psychology, political science, education, and communication studies. Use when user designs surveys, analyzes qualitative data, does content analysis, builds scales, or uses mixed methods. Triggers on "survey design", "qualitative analysis", "content analysis", "Likert scale", "thematic analysis", "grounded theory", "factor analysis", "SEM", "structural equation", "psychometrics", "interview coding".
scipy-analysis
Scientific computing and statistical analysis with SciPy, NumPy, and pandas. Use when: (1) statistical hypothesis testing, (2) optimization problems, (3) signal processing, (4) numerical integration, (5) data manipulation and analysis. NOT for: symbolic math (use sympy-math), machine learning (use sklearn directly), or visualization (use matplotlib-viz).
patent-analysis
Conducts patent landscape analysis including prior art searches, patent claim interpretation, freedom-to-operate assessment, and intellectual property strategy for scientific inventions; trigger when users discuss patents, prior art, IP protection, or technology licensing.
paper-analysis
Read, summarize, and critically analyze scientific papers. Extract key findings, methodology, limitations, and contributions. Use when user shares a paper (PDF/URL/DOI), asks to summarize a paper, critique methodology, extract data from a paper, compare papers, or do a critical review. Triggers on "summarize this paper", "analyze this study", "what does this paper say", "critique this methodology", "extract findings from".
nlp-analysis
Natural language processing for research including text mining, sentiment analysis, topic modeling, named entity recognition, text classification, and corpus analysis. Use when user needs to analyze text data, extract information from documents, do sentiment analysis, topic modeling, or text classification for research purposes. Triggers on "text mining", "sentiment analysis", "topic modeling", "NER", "named entity", "text classification", "word embeddings", "LDA", "corpus analysis", "word frequency", "TF-IDF".
meta-analysis
Perform quantitative meta-analysis with effect size calculation, forest plots, funnel plots, and heterogeneity assessment. Use when: user asks to combine results from multiple studies, calculate pooled effect sizes, assess publication bias, or create forest/funnel plots. NOT for: systematic review protocol (use systematic-review) or single-study statistics (use statsmodels-stats).
linguistics-analysis
Analyze language structures, typological features, and semantic change across languages
legal-search
Search US and EU case law, court opinions, dockets, and regulations via CourtListener, Harvard Case Law, and EUR-Lex. Use when: (1) finding US court opinions by keyword or citation, (2) searching federal and state dockets, (3) querying EU legislation and case law, (4) looking up cases by date range or jurisdiction. NOT for: current legislation text (use congress.gov), legal advice (never provide), patent search (use USPTO APIs).
geospatial-analysis
Performs geospatial data analysis including GIS operations, spatial statistics, remote sensing image processing, geocoding, and cartographic visualization; trigger when users discuss maps, coordinates, satellite imagery, spatial patterns, or geographic data.
genomics-analysis
Orchestrates a genomics analysis workflow from gene query through expression analysis to pathway enrichment. Use when investigating gene function, analyzing expression data, or performing pathway-level interpretation. NOT for pure protein structure modeling or drug-target interaction analysis.
genome-analysis
Performs genomics analyses including gene expression profiling, BLAST sequence alignment, GWAS interpretation, variant calling, and genome assembly tasks; trigger when the user mentions DNA/RNA sequences, SNPs, gene panels, or comparative genomics.