djen

djen is a skill for Claude Code, Codex from rvsanches/skills-datajud-djen. It costs 209 tokens per session (1,528 once invoked), scanned A, original, MIT.

A practical guide to the public DJEN API, which provides Brazilian court notices such as summonses, citations, and other procedural publications. DJEN is the Diário de Justiça Eletrônico Nacional, Brazil’s national electronic court journal.

In plain words
What is it for?
Use it to retrieve court communications by OAB number, state, and date, monitor notices that may start legal deadlines, and build integrations with the Comunica PJe API.
Why use it?
It explains how to query the service and documents operational details that are not fully covered by the official documentation, including Brazilian-IP restrictions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to retrieve court communications by OAB number, state, and date, monitor notices that may start legal deadlines, and build integrations with the Comunica PJe API.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rvsanches/skills-datajud-djen/djen
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 rvsanches/skills-datajud-djen --skill djen
Clone the repo
git clone --depth 1 https://github.com/rvsanches/skills-datajud-djen

Made for: Claude Code, Codex.

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 djen

README.md
[![agentmods](https://agentmods.dev/badge/skills/rvsanches/skills-datajud-djen/djen/github.svg)](https://agentmods.dev/skills/rvsanches/skills-datajud-djen/djen)
Your own site
<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.

agentmods 80×15 button for djen

Your own site · 80×15
<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>
Per session 209 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,528 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00209 $0.01528
Opus 5 $0.00105 $0.00764
Sonnet 5 $0.00042 $0.00306
Haiku 4.5 $0.00021 $0.00153

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

Security

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 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.

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' \
skills/djen/SKILL.md · 104 lines

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)

  1. 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 (GCP southamerica-east1, AWS sa-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.

  2. itensPorPagina máximo é 50 — e o erro é silencioso. Acima de 50 a API responde items: [] com count preenchido, sem erro. Parece "sem resultados", mas é o parâmetro. Use exatamente 50 e pagine.

  3. 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.

Read the full file on GitHub · 104 lines

Files

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.

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 · 104 lines · 209 tokens per session scan A 6885000471dc

Subscribe to this mod's changes

djen is a skill published in the GitHub repository rvsanches/skills-datajud-djen (19 stars, last pushed 2mo ago), licensed MIT. It adds 209 tokens to every session and 1,528 once invoked, about $0.0010 per session on Opus 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.

Related

Other skills, from other repositories

contingencia-report

Gera relatórios estruturados de contingência jurídica para uso em balanços, auditoria e compliance. Use quando o usuário precisar classificar processos por probabilidade de perda (provável/possível/remota) conforme CPC art. 95-96 e IAS 37 / CPC 25, calcular impacto financeiro no passivo contingente, ou preparar…

autodevx/legal-skills · 107 tokens

contrato-review

Analisa contratos brasileiros identificando cláusulas problemáticas, riscos jurídicos e oportunidades de negociação. Use quando precisar fazer due diligence contratual, revisar minutas antes de assinatura, identificar cláusulas abusivas ou desequilibradas, verificar conformidade com CC/2002, CDC, LGPD ou legislação…

autodevx/legal-skills · 101 tokens

audiencia-classifier

Classifica publicações de audiência judicial por tipo e modalidade. Use quando receber textos de intimações, pautas de audiência ou publicações do diário de justiça e precisar categorizar automaticamente em INICIAL/INSTRUÇÃO/JULGAMENTO/CONCILIAÇÃO × PRESENCIAL/VIRTUAL/HÍBRIDA. Aplicável a publicações de qualquer…

autodevx/legal-skills · 104 tokens

Geração de RIPD (Relatório de Impacto à Proteção de Dados)

Gera o Relatório de Impacto à Proteção de Dados Pessoais (RIPD) conforme exigido pela LGPD (Art. 38), descrevendo o tratamento, identificando riscos, propondo medidas de mitigação e documentando a base legal aplicável.

autodevx/legal-skills · 74 tokens

Triagem e Resposta a Solicitações de Titulares (LGPD)

Classifica solicitações de titulares de dados pessoais recebidas pelo canal de privacidade, verifica prazo legal de resposta, identifica o direito exercido (Art. 18 LGPD) e gera minuta de resposta formal adequada ao pedido.

autodevx/legal-skills · 61 tokens

cnj-parser

Valida, normaliza e extrai componentes de números de processos judiciais brasileiros no formato CNJ (NNNNNNN-DD.AAAA.J.TT.OOOO). Use quando receber números de processo em formatos variados (com ou sem máscara, colados de sistemas diferentes), precisar validar dígitos verificadores, identificar tribunal, instância e…

autodevx/legal-skills · 102 tokens