Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add emidio-trancoso/advocacia-aberta/plugin install advocacia-abertaWrote 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.
[](https://agentmods.dev/skills/emidio-trancoso/advocacia-aberta/0.2-preparar-ambiente)<a href="https://agentmods.dev/skills/emidio-trancoso/advocacia-aberta/0.2-preparar-ambiente"><img src="https://agentmods.dev/badge/skills/emidio-trancoso/advocacia-aberta/0.2-preparar-ambiente/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.
<a href="https://agentmods.dev/skills/emidio-trancoso/advocacia-aberta/0.2-preparar-ambiente"><img src="https://agentmods.dev/badge/skills/emidio-trancoso/advocacia-aberta/0.2-preparar-ambiente.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00048 | $0.01259 |
| Opus 5 | $0.00024 | $0.00629 |
| Sonnet 5 | $0.00010 | $0.00252 |
| Haiku 4.5 | $0.00005 | $0.00126 |
Grade C, and why
preparar-ambiente scanned grade C with 2 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.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
curl -fsSL https://bun.sh/install | bash Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -fsSL https://bun.sh/install | bash How it starts
The opening of the file, as written. The whole thing — 144 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Preparar ambiente
A maioria das skills deste kit é texto puro e funciona sem instalar nada. Apenas quatro skills dependem de programas externos. Esta skill instala esses programas sob demanda, ou seja, só o que for realmente necessário para o que você quer fazer:
transcrever(transcrever áudio/vídeo de audiência) precisa dowhisper-cli, doffmpege de um modelo de inteligência artificial de voz (um arquivo de cerca de 539 MB).buscar-fontes(busca na base jurídica local) precisa do programabun.buscar-tjpr(busca de acórdãos no portal do TJPR) precisa do programauvcom Python 3.12. Na primeira busca, ele baixa cerca de 400 MB de um navegador automatizado.diagramar-peca(geração do PDF final) precisa do programatypst.
Use esta skill quando uma das skills acima avisar que está faltando uma ferramenta, ou quando você já souber que vai usar esses recursos e quiser deixar tudo pronto.
Procedimento
Passo 1 — Descobrir o que instalar
Pergunte ao usuário (ou deduza do que ele já pediu) qual recurso ele quer habilitar:
- transcrição de áudio/vídeo de audiência,
- busca na base jurídica local,
- busca no TJPR,
- diagramação em PDF, ou
- tudo de uma vez.
Instale apenas o necessário. Não instale ferramentas que não serão usadas (setup preguiçoso).
Passo 2 — Detectar o sistema e ver o que já existe
Descubra qual é o sistema operacional do usuário: macOS, Linux ou Windows.
Antes de instalar qualquer coisa, verifique o que já está instalado para não repetir trabalho:
which bun uv whisper-cli ffmpeg typst
No macOS, verifique também se o Homebrew existe:
which brew
Só instale o que estiver faltando.
Passo 3 — Instalar o que faltar
Antes de rodar cada comando, explique ao usuário em uma frase o que ele faz e avise sobre downloads grandes ou demora. Use exatamente os comandos abaixo.
bun (para buscar-fontes)
Instalar o programa:
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.
- 12d ago First seen · 144 lines · 48 tokens per session scan C 0cd17460ed23
preparar-ambiente is a skill published in the GitHub repository emidio-trancoso/advocacia-aberta (49 stars, last pushed 5d ago), licensed MIT. It adds 48 tokens to every session and 1,259 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
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.
advogado-especialista
Advogado especialista em todas as areas do Direito brasileiro: familia, criminal, trabalhista, tributario, consumidor, imobiliario, empresarial, civil e constitucional.
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…
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…
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…
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…