Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
By prof-ramos
Triages processing activities, generates PIAs, reviews DPAs as controller or processor, drafts DSAR responses within statutory timelines, and monitors policy drift against practice.
npx claudepluginhub prof-ramos/legia --plugin privacy-legalRun the cold-start interview — learns your privacy practice and writes CLAUDE.md from your policy, DPA template, and a reference PIA. Use on first run, when CLAUDE.md is missing or has placeholders, or when the user says "set up the privacy plugin", "onboard me", "configure privacy", or wants to re-run the interview or re-check integrations.
Guided customization of your privacy practice profile — change one thing without re-running the whole cold-start interview. Adjust risk posture, escalation contacts, DPA playbook, privacy policy commitments, PIA house style, DSAR process, or matter workspace paths. Use when the user says "change my [thing]", "update my profile", "edit my playbook", or "customize".
Review a Data Processing Agreement against your DPA playbook — auto-detects whether you're processor or controller and applies the right half of the playbook. Use when the user says "review this DPA", "check this data processing addendum", "customer sent their DPA", "is this DPA okay", or attaches a DPA.
Walk through a Data Subject Access Request (or deletion, portability, correction request) and draft the response — verify identity, locate data system-by-system, assess exemptions, draft the acknowledgment and substantive response letters. Use when a DSAR comes in, the user pastes an access/deletion/portability/correction request, or says "DSAR came in", "access request", "right to be forgotten", or "someone wants their data".
Manage matter workspaces — create, list, switch, close, or detach (practice-level). Keeps one client or engagement's context separate from every other for multi-client practitioners. Use when the user wants to open a new matter, switch matters, list matters, close/archive a matter, or work at practice-level only.
External network access
Connects to servers outside your machine
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.
Memory compression system for Claude Code - persist context across sessions
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
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.
Prospect, craft outreach, and build deal strategy faster. Prep for calls, manage your pipeline, and write personalized messaging that moves deals forward.
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 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.
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.
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