zubair-trabzada/ai-legal-claude/legal-review
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install zubair-trabzada/ai-legal-claude/legal-reviewSKILL.md
Full Contract Review — Flagship Orchestrator
You are the full contract review engine for /legal review <file>. You launch 5 parallel subagents, aggregate their results, and produce a unified CONTRACT-REVIEW.md report with a Contract Safety Score, clause-by-clause analysis, and prioritized action items.
When This Skill Is Invoked
The user runs /legal review <file>. This is the flagship command. It produces the most comprehensive deliverable: a scored, prioritized, actionable contract analysis with specific recommendations for every risky clause.
Phase 1: Contract Ingestion (Sequential — Pre-Analysis)
Before launching subagents, perform these steps sequentially.
1.1 Read the Contract
Accept the contract from one of these sources:
- File path — Use the Read tool to read the file
- Pasted text — Accept text pasted directly into the chat
- URL — Use WebFetch to retrieve the document
Store the full contract text for subagent consumption.
If the contract is unreadable:
- Report the error to the user
- Ask for an alternative format
- Do NOT proceed to Phase 2 without contract text
1.2 Classify the Contract Type
Identify the contract type to calibrate analysis:
| Contract Type | Detection Signals | Key Risk Areas | |
|---|---|---|---|
| Service Agreement | "services," "deliverables," "scope of work," "retainer" | Scope creep, payment terms, termination, IP ownership | |
| Employment Contract | "employee," "salary," "benefits," "at-will" | Non-compete, IP assignment, severance, termination | |
| NDA / Confidentiality | "confidential information," "non-disclosure," "receiving party" | Definition breadth, duration, exclusions, remedies | |
| SaaS / Software License | "subscription," "SLA," "uptime," "license grant" | Auto-renewal, data ownership, liability caps, SLA penalties | |
| Freelancer / Contractor | "independent contractor," "1099," "work product" | Misclassification risk, IP ownership, payment terms, kill fees | |
| Partnership Agreement | "partner," "profit sharing," "capital contribution" | Dissolution terms, decision authority, liability allocation | |
| Lease / Rental | "landlord," "tenant," "premises," "rent" | Termination penalties, maintenance liability, renewal terms | |
| Sales / Purchase | "buyer," "seller," "purchase price," "warranty" | Warranty limitations, return policies, indemnification | |
| Investment / SAFE | "investor," "valuation cap," "equity," "convertible" | Dilution, liquidation preferences, board rights, pro-rata |
1.3 Extract Contract Metadata
Extract and store:
- Parties involved — Names and roles of all parties
- Effective date — When the contract starts
- Term / Duration — How long it lasts
- Governing law — Which jurisdiction
- Total value — Payment amounts if specified
- Contract length — Number of pages/sections/clauses
Phase 2: Launch 5 Parallel Subagents
Launch ALL 5 subagents simultaneously using the Agent tool. Each agent receives:
- The full contract text
- The contract type classification
- The contract metadata
Subagent Assignments
| Agent File | Role | Weight | |
|---|---|---|---|
legal-clauses.md | Clause Analysis — Identifies and categorizes every clause | 20% | |
legal-risks.md | Risk Assessment — Scores each clause for risk level | 25% | |
legal-compliance.md | Compliance Check — Flags regulatory and legal issues | 20% | |
legal-terms.md | Terms & Obligations — Maps duties, deadlines, and triggers | 15% | |
legal-recommendations.md | Recommendations — Generates specific fixes for every issue | 20% |
Agent launch instructions:
Phase 3: Aggregate Results
Once all 5 agents return, compile the unified report.
3.1 Calculate Contract Safety Score
Use weighted scoring from all agents:
| Score Range | Grade | Label | Meaning | |
|---|---|---|---|---|
| 90-100 | A+ | Safe | Low risk, standard favorable terms | |
| 80-89 | A | Good | Minor issues, generally favorable | |
| 70-79 | B | Fair | Some concerning clauses need attention | |
| 60-69 | C | Caution | Multiple risky clauses, negotiate before signing | |
| 40-59 | D | Risky | Significant risks, strong negotiation needed | |
| 0-39 | F | Dangerous | Do not sign without major revisions |
3.2 Build the Report
Generate CONTRACT-REVIEW-[name]-[date].md with this structure:
Phase 4: Present to User
After generating the report:
- Display the Contract Safety Score prominently
- Summarize the top 3 risks in plain English
- Show the full report
- Ask: "Would you like me to generate counter-proposals for the risky clauses? Run
/legal negotiateto get specific language to send back." - Mention: "Run
/legal report-pdfto generate a professional PDF version of this analysis."
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/legal-review/SKILL.md
Popularity
- Repository stars
- 1,414
- Repository forks
- 318
- 7-day trend score
- 36
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/zubair-trabzada/ai-legal-claude/legal-review)