Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
By prof-ramos
Reviews vendor agreements, NDAs, and SaaS subscriptions against your sales-side or purchasing-side playbook, tracks renewals and cancel-by deadlines before they're missed, routes escalations to the right approver, and translates reviews into summaries business stakeholders will actually read.
npx claudepluginhub prof-ramos/legia --plugin commercial-legalWeekly agent that surfaces recently signed agreements containing playbook deviations and prompts the attorney to log context while memory is fresh. Runs weekly by default (Monday morning). Also runs on-demand. Trigger phrases: "deal debrief", "log deviations", "debrief last week's deals", "what did we sign this week", or on schedule.
Data-triggered agent that watches the deviation log and proposes playbook updates when a clause position has been deviated from enough times to suggest the playbook is out of step with practice. Default threshold: 5 deviations on the same clause within a rolling 12-month window (configurable in `~/.claude/plugins/config/claude-for-legal/commercial-legal/CLAUDE.md`). Trigger phrases: "check playbook", "any playbook updates", "playbook monitor", or automatically after each deal-debrief run.
Scheduled agent that checks the renewal register and posts what's coming up. Runs weekly by default. Posts to the channel named in `~/.claude/plugins/config/claude-for-legal/commercial-legal/CLAUDE.md` → House style → Renewal alerts. Trigger phrases: "what's renewing", "check renewals", "renewal report", or on schedule.
Trace how a contract has changed across its base agreement and all amendments — either a summary of all changes over time, or a provision trace for a specific clause. Use when the user says "what changed in this contract over time", "show me the amendment history", "where's the latest [clause]", "how has [provision] evolved", or uploads multiple versions of an agreement.
Run the cold-start interview to learn your commercial contracts practice and write your team practice profile. Use on first use of the plugin, when `~/.claude/plugins/config/claude-for-legal/commercial-legal/CLAUDE.md` is missing or still contains template placeholders, or when the user says "set up the plugin", "configure commercial contracts", "onboard me", or "let's get started". This is the only skill that should run on a fresh install.
Guided customization of your commercial contracts practice profile — change one thing without re-running the whole cold-start interview. Adjust risk posture, escalation contacts, playbook positions, NDA triage preferences, house style, review preferences, or matter workspace paths. Use when the user says "change my [thing]", "update my profile", "edit my playbook", "tune my config", or "customize".
Route a contract issue to the right approver per the escalation matrix in `~/.claude/plugins/config/claude-for-legal/commercial-legal/CLAUDE.md`, and draft the ask. Use when the user says "who needs to approve this", "escalate this", "does this need GC sign-off", "route this for approval", or when another skill finds an issue that exceeds the reviewer's authority.
Manage matter workspaces — new, list, switch, close, or detach (practice-level). Use when a multi-client practitioner needs to create a matter, switch the active matter, list matters, archive a matter, or detach to practice-level context, or when another skill needs to know which matter it's working in.
Search your contract repository and workflows using plain language — expiring MSAs, termination clauses, vendor agreements — scoped to your permissions.
Agreement search, status tracking, and signature workflows.
Governed iManage content connected to Claude — documents stay in iManage, access is permission-bound and auditable.
Outside counsel recommendations from The L Suite — 5,000+ in-house counsel community sentiment, rankings, and expertise evidence.
Live, deterministic access to contract structure — resolve definitions, validate cross-references, map dependencies, run structural diffs.
External network access
Connects to servers outside your machine
Uses power tools
Uses Bash, Write, or Edit tools
Share bugs, ideas, or general feedback.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Memory compression system for Claude Code - persist context across sessions
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.
Intelligent prompt optimization using skill-based architecture. Enriches vague prompts with research-based clarifying questions before Claude Code executes them
Streamline people operations — recruiting, onboarding, performance reviews, compensation analysis, and policy guidance. Maintain compliance and keep your team running smoothly.
Runs first-pass trademark clearance and freedom-to-operate triage, screens invention disclosures for initial patentability, drafts and triages cease-and-desist letters and DMCA takedowns (send and respond), checks open source compliance, reviews IP clauses, and tracks registrations and renewal deadlines.
CoCounsel Legal delivers comprehensive Westlaw Deep Research reports with inline, linked citations to Westlaw and Practical Law sources.
Reviews product launches against your risk calibration, answers 'is this a problem?' questions in minutes, checks marketing copy for claims that need substantiation, and flags upcoming launches that need legal eyes before anyone asks.
Watches regulatory feeds, diffs new rules against your policy library, tracks comment deadlines and open gaps, and writes the digest your team reads Monday morning.
Reviews hires and terminations for jurisdiction-specific risk flags, classifies workers against the controlling state test, tracks leave deadlines before they're missed, runs internal investigations, and drafts policies with state supplements where the law differs.
Inteligência Jurídica Artificial para o Direito Brasileiro
Agentes, skills, conectores e RAG jurisprudencial — adaptados ao ordenamento jurídico brasileiro.
Visão Geral • Estrutura • Começando • Agentes • Ratio • Contribuição
LegIA é a unificação de dois projetos em uma plataforma completa de IA jurídica para o Brasil:
[!IMPORTANT] Toda saída é rascunho para revisão de um advogado — não é aconselhamento jurídico, não substitui consulta à fonte oficial (STF, STJ, CPC, CLT).
LegIA/
├── commercial-legal/ # Contratos, M&A, Due Diligence (CCB)
├── employment-legal/ # Direito Trabalhista (CLT)
├── litigation-legal/ # Contencioso (CPC/2015)
├── corporate-legal/ # Direito Societário (Lei 6.404/76)
├── privacy-legal/ # LGPD (Lei 13.709/18)
├── ip-legal/ # Propriedade Intelectual (LPI 9.279/96)
├── regulatory-legal/ # Direito Regulatório
├── product-legal/ # Direito do Consumidor (CDC)
├── ai-governance-legal/ # Governança de IA (PL 2338/2023)
├── legal-clinic/ # Prática jurídica geral
├── law-student/ # Educação jurídica
├── legal-builder-hub/ # Construção de skills/agentes
├── managed-agent-cookbooks/ # Agentes schedule-based
│
├── ratio/ # Backend FastAPI + RAG (LanceDB)
│ ├── backend/
│ │ ├── main.py # API: /health, /api/query, /api/explain
│ │ └── escritorio/ # Pipeline multiagente de petições
│ ├── rag/ # Motor de busca híbrida + reranking
│ └── frontend/ # Interface web
│
├── external_plugins/
│ ├── cocounsel-legal/ # Plugin de referência (original)
│ └── ratio-legal/ # Plugin de integração Ratio ↔ LegIA
│
├── docs/
│ ├── atas/ # Registro de reuniões e decisões
│ └── planejamento-traducao-ptbr.md
│
├── scripts/ # Automação e utilidades
└── references/ # Documentação de referência
uv# 1. Clone o repositório
git clone https://github.com/prof-ramos/LegIA.git
cd LegIA
# 2. Instale como plugin no Claude Code
codex features install --path .
# 3. (Opcional) Instale o plugin Ratio
codex features install --path ./external_plugins/ratio-legal
Siga o QUICKSTART.md para configurar o plugin no Claude Desktop.
| Domínio | Agentes Principais | Legislação Base |
|---|---|---|
| Comercial | Revisor de Contratos, Due Diligence, M&A | CCB (arts. 421–480) |
| Trabalhista | Reclamatória, Rescisão, Acordo | CLT (DL 5.452/43) |
| Contencioso | Petição Inicial, Contestação, Recursos | CPC/2015 |
| Societário | Contratos Sociais, Assembléias | Lei 6.404/76, CC |
| Privacidade | LGPD, DPO, Incident Response | Lei 13.709/18 |
| Propriedade Intelectual | Patentes, Marcas, Direitos Autorais | LPI 9.279/96 |
| Consumidor | Reclamações, Revisão Contratual | CDC (Lei 8.078/90) |
| Comando | Descrição |
|---|---|
/ratio-legal:cold-start-interview | Configura o perfil de prática (1 vez) |
/ratio-legal:pesquisa-jurisprudencia | Busca jurisprudência STF/STJ |
/ratio-legal:escritorio-ratio | Pipeline multiagente de petições |
/ratio-legal:verificar-citacao | Valida citações jurisprudenciais |
O motor Ratio oferece busca RAG híbrida (semântica + BM25) com reranking para jurisprudência brasileira.
cd LegIA/ratio
uv run uvicorn backend.main:app --host 127.0.0.1 --port 8000