diagnosticar

diagnosticar is a skill for Claude Code from emidio-trancoso/advocacia-aberta. It costs 55 tokens per session (2,915 once invoked), scanned A, original, MIT.

A Portuguese-language legal case analysis skill that examines the strengths and weaknesses of both sides of a matter. It uses an adversarial review, meaning it tests your position as if it were being challenged by an opponent.

In plain words
What is it for?
Use it to assess lawsuits, legal theories, contract risks, or legal opinions based on a case summary and relevant documents, producing a DIAGNOSTICO.md file.
Why use it?
It helps reveal factual, legal, evidentiary, logical, and argumentative gaps before they are exposed by the opposing side, a judge, or a client.

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 assess lawsuits, legal theories, contract risks, or legal opinions based on a case summary and relevant documents, producing a DIAGNOSTICO.md file.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/emidio-trancoso/advocacia-aberta/2.1-diagnosticar
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 2.1-diagnosticar
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 diagnosticar

README.md
[![agentmods](https://agentmods.dev/badge/skills/emidio-trancoso/advocacia-aberta/2.1-diagnosticar/github.svg)](https://agentmods.dev/skills/emidio-trancoso/advocacia-aberta/2.1-diagnosticar)
Your own site
<a href="https://agentmods.dev/skills/emidio-trancoso/advocacia-aberta/2.1-diagnosticar"><img src="https://agentmods.dev/badge/skills/emidio-trancoso/advocacia-aberta/2.1-diagnosticar/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 diagnosticar

Your own site · 80×15
<a href="https://agentmods.dev/skills/emidio-trancoso/advocacia-aberta/2.1-diagnosticar"><img src="https://agentmods.dev/badge/skills/emidio-trancoso/advocacia-aberta/2.1-diagnosticar.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,915 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.00055 $0.02915
Opus 5 $0.00028 $0.01458
Sonnet 5 $0.00011 $0.00583
Haiku 4.5 $0.00006 $0.00292

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

Security

Grade A, and why

diagnosticar 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/2.1-diagnosticar/SKILL.md · 258 lines

How it starts

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

Diagnosticar — Forças e Fragilidades do Caso

Esta skill faz um diagnóstico honesto e adversarial de uma matéria jurídica: mapeia, lado a lado, as forças e as fragilidades da sua posição e da posição contrária (quando houver). Funciona para um litígio, mas também para avaliar a viabilidade de uma tese, os riscos de um contrato ou os pontos fracos de um parecer.

O coração da skill é o espírito red-team: atacar a própria posição como se você fosse o adversário. É desconfortável, e é exatamente por isso que dá valor — você descobre os furos antes que a parte contrária (ou o juiz, ou o cliente) os descubra. Cada ponto forte vira algo a blindar com fundamentação; cada ponto fraco vira algo a corrigir ou contornar.

A skill lê o SUMARIO.md do caso (produzido pela skill organizar-caso) e os documentos relevantes, e produz o DIAGNOSTICO.md.

Instrução

Esta skill funciona em dois modos, conforme o que você tem em mãos. Escolha pelo que o usuário forneceu; na dúvida, pergunte.

  • Modo repositório — você trabalha sobre a pasta de um caso no espaço de trabalho aberto no agente. Lê casos/<caso>/analise/SUMARIO.md e os documentos relevantes, e grava casos/<caso>/analise/DIAGNOSTICO.md. Use quando o usuário indicar um <caminho-do-caso> ou já existir uma pasta casos/.
  • Modo conversa — não há pasta do caso: o SUMARIO.md e os documentos foram anexados na conversa (ou o sumário foi gerado antes, na própria conversa, pela skill organizar-caso). Use-os como entrada e, ao final, entregue o DIAGNOSTICO.md como arquivo para download. Use quando o usuário apenas anexar material.

Em ambos os modos, se ainda não houver um SUMARIO.md, execute primeiro a skill organizar-caso.

Modo repositório

Considere <caminho-do-caso> o caminho relativo informado pelo usuário (ex.: casos/contrato-prestacao-servicos ou casos/0001234-56). Se não tiver sido informado, peça-o antes de continuar. Os caminhos abaixo são todos relativos à raiz do projeto aberta no agente.

Read the full file on GitHub · 258 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 · 258 lines · 55 tokens per session scan A 3460c32d1ad3

Subscribe to this mod's changes

diagnosticar is a skill published in the GitHub repository emidio-trancoso/advocacia-aberta (49 stars, last pushed 5d ago), licensed MIT. It adds 55 tokens to every session and 2,915 once invoked, about $0.0003 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