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 proposed AI use cases against your registry, runs impact assessments across the regimes in scope, reviews vendor AI terms for training-on-data and liability gaps, and keeps your AI policy current with practice.
npx claudepluginhub prof-ramos/legia --plugin ai-governance-legalEU AI Act per-system inventory — track each AI system's role (provider, deployer, importer, distributor, authorized representative, product manufacturer) and risk tier (prohibited, high-risk, limited, minimal, GPAI, GPAI+systemic). Role and tier are assessed per system, not per company. Use when the user says "ai inventory", "add an ai system", "what systems do we have", "classify this ai system", "eu ai act register", or "ai system registry".
Run an AI impact assessment — structured intake, risk analysis, regulatory classification per regime in scope, policy consistency diff, and recommendation with conditions. Uses the house-style structure learned from the seed impact assessment in `~/.claude/plugins/config/claude-for-legal/ai-governance-legal/CLAUDE.md`. Use when user says "impact assessment for", "assess this AI use case", "run an AIA", "generate an AIA", "we need to document this AI system", "AI risk assessment for X", or follows a conditional triage result.
Run the cold-start interview — learns your AI governance practice and writes `~/.claude/plugins/config/claude-for-legal/ai-governance-legal/CLAUDE.md` from your AI policy, a reference impact assessment, and key vendor AI agreements. Use when the practice profile is missing or contains `[PLACEHOLDER]` markers, or when user says "set up ai governance plugin", "onboard me", "configure ai governance".
Guided customization of your AI governance practice profile — change one thing without re-running the whole cold-start interview. Adjust risk posture, escalation contacts, use-case registry entries, vendor AI positions, AI policy commitments, impact-assessment house style, or matter workspace paths. Use when the user says "change my [thing]", "update my profile", "edit my config", "tune my playbook", or "customize".
Manage matter workspaces — new, list, switch, close, or detach (practice-level). File-management logic for keeping one client or engagement's context separate from every other. Use when working across multiple clients or matters, when the user says "new matter", "switch matter", "list matters", "close matter", or when any substantive skill needs to know which matter it's working in.
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.
Write SQL, explore datasets, and generate insights faster. Build visualizations and dashboards, and turn raw data into clear stories for stakeholders.
Open-source, local-first Claude Code plugin for token reduction, context compression, and cost optimization using hybrid RAG retrieval (BM25 + vector search), reranking, AST-aware chunking, and compact context packets.
Agent Skills for AI/ML tasks including dataset creation, model training, evaluation, and research paper publishing on Hugging Face Hub
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