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.
npx skills add rvsanches/skills-datajud-djen --skill djengit clone --depth 1 https://github.com/rvsanches/skills-datajud-djenWrote 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/rvsanches/skills-datajud-djen/djen)<a href="https://agentmods.dev/skills/rvsanches/skills-datajud-djen/djen"><img src="https://agentmods.dev/badge/skills/rvsanches/skills-datajud-djen/djen/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/rvsanches/skills-datajud-djen/djen"><img src="https://agentmods.dev/badge/skills/rvsanches/skills-datajud-djen/djen.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.00209 | $0.01528 |
| Opus 5.5 | $0.00084 | $0.00611 |
| Sonnet 5.5 | $0.00042 | $0.00306 |
| Haiku 4.5 | $0.00021 | $0.00153 |
Grade A, and why
djen scanned grade A with 1 finding 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 2mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl 'https://comunicaapi.pje.jus.br/api/v1/comunicacao?numeroOab=123456&ufOab=SP&dataDisponibilizacaoInicio=2026-07-11&dataDisponibilizacaoFim=2026-07-12&pagina=1&itensPorPagina=50' \ How it starts
The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.
API do DJEN / Comunica PJe (CNJ)
O DJEN (Diário de Justiça Eletrônico Nacional) centraliza as comunicações processuais — intimações, citações e demais publicações — de todos os tribunais brasileiros (Resolução CNJ nº 455; cobertura nacional obrigatória desde 2025). A API pública do Comunica PJe expõe essas comunicações para consulta.
Diferença-chave para o DataJud: o DataJud mostra movimentações (o que aconteceu no processo); o DJEN mostra o que dispara prazo contra o advogado. Para monitorar prazos, é o DJEN que importa.
Portal: https://comunica.pje.jus.br. Swagger: https://comunicaapi.pje.jus.br. Este guia registra o que a documentação não conta, aprendido operando a API em produção (projeto Judis, 2026).
Início rápido
# ATENÇÃO: precisa rodar de IP brasileiro (ver regra nº 1)
curl 'https://comunicaapi.pje.jus.br/api/v1/comunicacao?numeroOab=123456&ufOab=SP&dataDisponibilizacaoInicio=2026-07-11&dataDisponibilizacaoFim=2026-07-12&pagina=1&itensPorPagina=50' \
-H 'Accept: application/json'
Sem autenticação, sem chave, sem cadastro. A resposta é
{ "count": <total>, "items": [ ... ] }.
As 7 regras de ouro (aprendidas em produção)
-
A API geo-bloqueia IPs fora do Brasil: HTTP 403. Funciona do seu notebook e falha no deploy — porque sua cloud function/container está em região estrangeira (
us-central1,us-east-1…). Rode o backend em região brasileira (GCPsouthamerica-east1, AWSsa-east-1). Descobrimos em smoke test de produção: mesma requisição, 200 do Brasil, 403 dos EUA. O DataJud não tem esse bloqueio — é específico do Comunica. -
itensPorPaginamáximo é 50 — e o erro é silencioso. Acima de 50 a API respondeitems: []comcountpreenchido, sem erro. Parece "sem resultados", mas é o parâmetro. Use exatamente 50 e pagine. -
Página vazia ≠ fim dos dados. Sob instabilidade a API retorna páginas intermitentemente vazias no meio da paginação. Se
acumulado < count, retente a mesma página com backoff antes de desistir.
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago First seen · 104 lines · 209 tokens per session scan A 6885000471dc
djen is a skill published in the GitHub repository rvsanches/skills-datajud-djen (32 stars, last pushed 3mo ago), licensed MIT. It adds 209 tokens to every session and 1,528 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
djen compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| djenrvsanches/skills-datajud-djen | Skill | 32 | 3mo ago | MIT | A | 209 | Claude Code, Codex |
| contingencia-reportautodevx/legal-skills | Skill | 18 | 15d ago | MIT | A | 107 | Claude Code, Codex |
| contrato-reviewautodevx/legal-skills | Skill | 18 | 15d ago | MIT | A | 101 | Claude Code, Codex |
| audiencia-classifierautodevx/legal-skills | Skill | 18 | 15d ago | MIT | A | 104 | Claude Code, Codex |
| Triagem e Resposta a Solicitações de Titulares (LGPD)autodevx/legal-skills | Skill | 18 | 15d ago | MIT | A | 61 | Claude Code, Codex |
| cnj-parserautodevx/legal-skills | Skill | 18 | 15d ago | MIT | A | 102 | Claude Code, Codex |
| Geração de RIPD (Relatório de Impacto à Proteção de Dados)autodevx/legal-skills | Skill | 18 | 15d ago | MIT | A | 74 | Claude Code, Codex |