juris-tjro

Queries TJRO court decisions and full-text rulings through the JURIS search API.

1|Updated May 8, 2026
One-click install
npx skills add https://github.com/franklinbaldo/skills --skill juris-tjro-franklinbaldo
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: juris-tjro
Source: https://github.com/franklinbaldo/skills/tree/main/juris-tjro
Command: npx skills add https://github.com/franklinbaldo/skills --skill juris-tjro-franklinbaldo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires cyclopts, and includes scripts (resource) components.

What problem does it solve? Legal professionals researching what the TJRO (Rondônia state court) actually decided need to search acórdãos, sentenças, votos, and ementas and read the full text of rulings, but the JURIS web interface is hard to query programmatically and its search endpoint has non-obvious pitfalls (OR-based text search, broken server-side date ranges, an endpoint that ignores filters). ## Core Features & Use Cases - Filtered jurisprudence search: Search by term, document type, class, judging body, and rapporteur, with client-side AND filters and date ranges that work around server limitations. - Full-text retrieval: Fetch the cleaned complete text of any document by ID, with HTML and base64 artifacts stripped, so holdings and reasoning can be cited accurately. - Per-process document listing and facets: List all documents of a CNJ case number and explore aggregations by class, court body, and rapporteur. - Use Case: A lawyer needs to know whether the TJRO has ruled on a specific interest-rate question in police-related cases. The skill searches for the distinctive term, filters to acórdãos containing the required phrase, then reads the full text of the top candidates to extract the actual holding and reasoning. ## Quick Start Ask the agent to search TJRO jurisprudence for what the court has decided on a specific legal question and read the full text of the relevant rulings.

Frequently Asked Questions about juris-tjro

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search TJRO jurisprudence from the command line?▼

Run uv run scripts/juris.py buscar with a distinctive search term, optionally adding filters like --tipo ACÓRDÃO, --classe, --orgao, or --relator. Use --contendo for additional mandatory words since the server-side text search is OR-based.

How do I get the full text of a TJRO court decision?▼

Run uv run scripts/juris.py texto followed by the document ID shown in search results. The script returns the complete cleaned text with HTML tags, base64 images, and styles removed, optionally truncated with --max.

Does the TJRO JURIS API require authentication or credentials?▼

No private credential is needed. The client calls the public endpoint POST https://juris-back.tjro.jus.br/search/varios_parametros/ using only the Python standard library for HTTP, with cyclopts as its sole declared dependency.

Why does filtering TJRO search results by date not work server-side?▼

The server's date range parameter is broken, so the script fetches a larger result pool and applies --de and --ate filters client-side. Similarly, GET /search/documentos/ ignores query parameters and must be avoided.

When should I use DataJud instead of JURIS for TJRO case information?▼

Use DataJud for case counting, procedural status, movement timelines, and current phase questions. JURIS is the right source only for the content of judicial acts: full text, ementas, votes, and the reasoning behind decisions.