redigir-peca

redigir-peca is a skill for Claude Code from emidio-trancoso/advocacia-aberta. It costs 120 tokens per session (4,476 once invoked), scanned A, original, MIT.

A Brazilian Portuguese legal-writing assistant for preparing documents such as lawsuits, defenses, appeals, contracts, and formal notices from supplied case material.

In plain words
What is it for?
Use it to plan and write a legal document after reviewing the case summary, diagnosis, legislation, and case-law materials.
Why use it?
It organizes the legal argument and drafts the document while requiring facts, laws, and case decisions to come from the provided sources.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

Part of the advocacia-aberta plugin — 10 skills shipped together

Good fit Use it to plan and write a legal document after reviewing the case summary, diagnosis, legislation, and case-law materials.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/emidio-trancoso/advocacia-aberta/3.1-redigir-peca
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add emidio-trancoso/advocacia-aberta --skill 3.1-redigir-peca
Clone the repo
git clone --depth 1 https://github.com/emidio-trancoso/advocacia-aberta

Made for: Claude Code.

Or install advocacia-aberta, the plugin that ships this one along with the rest of its 10 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for redigir-peca

README.md
[![agentmods](https://agentmods.dev/badge/skills/emidio-trancoso/advocacia-aberta/3.1-redigir-peca/github.svg)](https://agentmods.dev/skills/emidio-trancoso/advocacia-aberta/3.1-redigir-peca)
Your own site
<a href="https://agentmods.dev/skills/emidio-trancoso/advocacia-aberta/3.1-redigir-peca"><img src="https://agentmods.dev/badge/skills/emidio-trancoso/advocacia-aberta/3.1-redigir-peca/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for redigir-peca

Your own site · 80×15
<a href="https://agentmods.dev/skills/emidio-trancoso/advocacia-aberta/3.1-redigir-peca"><img src="https://agentmods.dev/badge/skills/emidio-trancoso/advocacia-aberta/3.1-redigir-peca.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 120 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,476 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00120 $0.04476
Opus 5 $0.00060 $0.02238
Sonnet 5 $0.00024 $0.00895
Haiku 4.5 $0.00012 $0.00448

Measured 12d ago against content hash fe016cf4a44b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

redigir-peca scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/3.1-redigir-peca/SKILL.md · 308 lines

How it starts

The opening of the file, as written. The whole thing — 308 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Redigir Peça — do plano à redação

Esta skill é o seu procedimento de escrita jurídica colocado por escrito. Ela transforma o material já organizado do caso em uma peça pronta para revisar — em duas fases:

  1. PLANEJAR — decidir o que dizer: silogismo central, hierarquia das teses e estrutura da peça. O plano é apresentado a você para validação antes de qualquer redação.
  2. REDIGIR — escrever a peça aplicando boa técnica, depois que você aprova o plano.

Serve para qualquer peça: petição inicial, contestação, réplica, recurso, contrarrazões, parecer, contrato, notificação extrajudicial, alegações finais, etc. A estrutura se adapta ao tipo.

Regra-raiz: nunca inventar — leia antes de tudo

Esta é a regra mais importante. Violá-la é pior do que omitir um argumento.

  • Fatos: só use o que está nos documentos do caso (autos, transcrições, SUMARIO, DIAGNOSTICO). Nunca invente datas, valores, nomes ou acontecimentos.
  • Lei: texto de artigo só entra na peça copiado palavra por palavra de fundamentacao/LEGISLACAO.md.
  • Jurisprudência: ementa, súmula, tema repetitivo ou trecho de acórdão só entra copiado palavra por palavra de fundamentacao/JURISPRUDENCIA.md.
  • Depoimentos: uma aspa só existe se a frase aparecer literalmente na transcrição rotulada do caso. Nunca parafraseie como se fosse citação. Toda aspa de depoimento leva o timestamp.

Se o texto exato de uma lei, precedente ou depoimento não estiver na fonte verificada, não use — escreva [verificar na fonte] e siga em frente. Toda lei ou precedente deve vir das skills buscar-fontes ou buscar-tjpr e estar registrado na fundamentação. A única escrita livre é a análise e a narrativa ao redor das citações.

Instrução

A entrada informada pelo usuário deve trazer o caminho relativo da pasta do caso e, opcionalmente, o tipo de peça. Exemplos:

  • casos/0001234-56.2025.8.16.0151 contestação
  • casos/joao-silva-acidente recurso de apelação
  • casos/0001234-56.2025.8.16.0151 (sem tipo — você infere ou pergunta no Passo 1)

Read the full file on GitHub · 308 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 308 lines · 120 tokens per session scan A fe016cf4a44b

Subscribe to this mod's changes

redigir-peca is a skill published in the GitHub repository emidio-trancoso/advocacia-aberta (49 stars, last pushed 5d ago), licensed MIT. It adds 120 tokens to every session and 4,476 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

advogado-criminal

Advogado criminalista especializado em Maria da Penha, violencia domestica, feminicidio, direito penal brasileiro, medidas protetivas, inquerito policial e acao penal.

sickn33/agentic-awesome-skills · 42 tokens

advogado-especialista

Advogado especialista em todas as areas do Direito brasileiro: familia, criminal, trabalhista, tributario, consumidor, imobiliario, empresarial, civil e constitucional.

sickn33/agentic-awesome-skills · 38 tokens

advogado-criminal-v2

ADVOGADO CRIMINALISTA SENIOR — ESPECIALISTA EM DIREITO PENAL E MARIA DA PENHA workflow skill. Use this skill when the user needs Advogado criminalista especializado em Maria da Penha, violencia domestica, feminicidio, direito penal brasileiro, medidas protetivas, inquerito policial e acao penal and the operator should…

diegosouzapw/awesome-omni-skills · 98 tokens

redator-adversarial

Redação e revisão adversarial de peças processuais. Use quando precisar redigir peça (inicial, contestação, réplica, recurso) com estrutura padrão, ou testar peça pronta simulando o juiz (admissibilidade, clareza, requisitos formais) e a parte contrária (contra-argumentos, flancos), gerando relatório de fragilidades…

neimaciel/redator-adversarial · 87 tokens

prazo-sentinel

Cálculo e alerta de prazos processuais. Use quando precisar contar prazo de intimação (dias úteis CPC, corridos CLT/CPP), verificar dobra de prazo (Fazenda, Defensoria, litisconsortes), aplicar suspensão de fim de ano, montar a agenda semanal de prazos da carteira, ou reagir a prazo perdido (justa causa). Adapta tom…

neimaciel/prazo-sentinel · 99 tokens

societario-pro

Direito societário consultivo e contencioso. Use para constituição de sociedade (LTDA x S.A. x SLU, contrato social com cláusulas de impasse e saída), acordo de sócios (vesting com cliff, tag along, drag along, não-concorrência, deadlock buy-or-sell, opção de compra), alterações societárias (cessão de quotas…

neimaciel/societario-pro · 126 tokens