/ Directory / Playground / lex-intelligentia-skills
● Community fbmoulin ⚡ Instant

lex-intelligentia-skills

by fbmoulin · fbmoulin/lex-intelligentia-skills

17 Agent Skills tuned for Brazilian law — helps judges, lawyers, and legal researchers draft decisions, petitions, and memos in Portuguese.

Lex Intelligentia bundles specialized skills for Direito Brasileiro: constitutional interpretation, procedural drafting, jurisprudence search, case analysis. Outputs follow Brazilian legal formatting conventions — not a generic LLM with a prompt, but a domain-tuned workflow library.

Why use it

Key features

Live Demo

What it looks like in practice

lex-intelligentia-skill.replay ▶ ready
0/0

Install

Pick your client

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "lex-intelligentia-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/fbmoulin/lex-intelligentia-skills",
        "~/.claude/skills/lex-intelligentia-skills"
      ],
      "_inferred": true
    }
  }
}

Open Claude Desktop → Settings → Developer → Edit Config. Restart after saving.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "lex-intelligentia-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/fbmoulin/lex-intelligentia-skills",
        "~/.claude/skills/lex-intelligentia-skills"
      ],
      "_inferred": true
    }
  }
}

Cursor uses the same mcpServers schema as Claude Desktop. Project config wins over global.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "lex-intelligentia-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/fbmoulin/lex-intelligentia-skills",
        "~/.claude/skills/lex-intelligentia-skills"
      ],
      "_inferred": true
    }
  }
}

Click the MCP Servers icon in the Cline sidebar, then "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "lex-intelligentia-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/fbmoulin/lex-intelligentia-skills",
        "~/.claude/skills/lex-intelligentia-skills"
      ],
      "_inferred": true
    }
  }
}

Same shape as Claude Desktop. Restart Windsurf to pick up changes.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "lex-intelligentia-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/fbmoulin/lex-intelligentia-skills",
        "~/.claude/skills/lex-intelligentia-skills"
      ]
    }
  ]
}

Continue uses an array of server objects rather than a map.

~/.config/zed/settings.json
{
  "context_servers": {
    "lex-intelligentia-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/fbmoulin/lex-intelligentia-skills",
          "~/.claude/skills/lex-intelligentia-skills"
        ]
      }
    }
  }
}

Add to context_servers. Zed hot-reloads on save.

claude mcp add lex-intelligentia-skill -- git clone https://github.com/fbmoulin/lex-intelligentia-skills ~/.claude/skills/lex-intelligentia-skills

One-liner. Verify with claude mcp list. Remove with claude mcp remove.

Use Cases

Real-world ways to use lex-intelligentia-skills

Draft a preliminary sentença with proper structure

👤 Magistrados and law clerks preparing draft decisions ⏱ ~30 min advanced

When to use: You have the case file and need a first pass at the relatório / fundamentação / dispositivo structure.

Prerequisites
  • Case facts summarized in a document — Export from your court system or paste into the chat
  • Skill installed — git clone https://github.com/fbmoulin/lex-intelligentia-skills ~/.claude/skills/lex-intelligentia-skills
Flow
  1. Feed the case file
    Use lex-intelligentia-skills. Aqui está o caso [...]. Prepare um esboço de sentença com relatório, fundamentação e dispositivo.✓ Copied
    → Três seções claramente divididas, citações a CPC e CF
  2. Ask for jurisprudence support
    Sugira precedentes do STJ e STF aplicáveis aos pontos controvertidos.✓ Copied
    → List of case citations with súmulas numbers
  3. Human review pass
    Liste pontos onde o magistrado deve revisar pessoalmente antes de assinar.✓ Copied
    → Checklist of required human judgment moments

Outcome: A formatted draft sentença ready for the judge's own review and refinement — never signed as-is.

Pitfalls
  • LLM hallucinates jurisprudence citations — Always verify every case number and súmula against an official source (STJ, STF sites) before using
Combine with: filesystem

Compose a petição inicial with cause of action and pedidos

👤 Advogados starting a new civil action ⏱ ~45 min intermediate

When to use: You have the facts and legal theory; you need a well-structured petition.

Flow
  1. Describe the case and desired relief
    Com lex-intelligentia-skills, redija uma petição inicial para ação de cobrança com pedido de tutela de urgência. Fatos: [...]✓ Copied
    → Standard sections: qualificação, fatos, direito, pedidos, valor da causa
  2. Refine pedidos
    Revise os pedidos para que sejam certos, determinados e consequenciais.✓ Copied
    → Numbered, precise pedidos with procedural basis

Outcome: A petition draft structured to Brazilian civil procedure rules.

Pitfalls
  • Generic templates that ignore local court practice — Adjust for your specific tribunal's peculiarities; review with a senior colleague

Combinations

Pair with other MCPs for X10 leverage

lex-intelligentia-skill + filesystem

Save drafts and memos into your case folders automatically

Salve o rascunho em processos/2024/acao-cobranca/peticao-inicial.md✓ Copied
lex-intelligentia-skill + paper-fetch-skill

Download actual doctrinal papers for citation support

Busque PDFs abertos dos artigos citados no memorando.✓ Copied

Tools

What this MCP exposes

ToolInputsWhen to callCost
sentenca_draft case facts Preparing judicial decisions 0
peticao_generator facts, cause of action Drafting civil petitions 0
jurisprudencia_search legal topic, court Finding relevant case law — always verify 0
memo_juridico research question Writing doctrinal analysis 0

Cost & Limits

What this costs to run

API quota
None
Tokens per call
Variable — legal texts tend to be long
Monetary
Free
Tip
For long sentenças, work in sections to avoid context overflow.

Security

Permissions, secrets, blast radius

Credential storage: No credentials
Data egress: None — local skill prompts only; be aware case data sent to Claude API

Troubleshooting

Common errors and fixes

Cited case numbers don't exist

LLMs hallucinate legal citations. Verify every reference against the official court website before use.

Verify: Manual check on stj.jus.br or stf.jus.br
Formatting doesn't match my tribunal

Provide an example document from your tribunal; Claude will match its structure.

Output is in English

Prompt explicitly in Portuguese; reference the skill by name in Portuguese.

Alternatives

lex-intelligentia-skills vs others

AlternativeWhen to use it insteadTradeoff
Generic Claude without skillNon-Brazilian legal workNo Brazilian-specific formatting, higher hallucination rate
Commercial legal AI (Jusbrasil AI, Jurimetria)You need sourced, up-to-date jurisprudence databasesPaid; this skill is for drafting, not authoritative research

More

Resources

📖 Read the official README on GitHub

🐙 Browse open issues

🔍 Browse all 400+ MCP servers and Skills