LABHDUFBA Agentes AcadêmicosLABHDUFBA · UFBA PortuguêsPT
Home / Catalogue / SS-0010

DOU and Federal Covenants for Research Pipelines

Collect official gazette publications and federal covenants through the state's own machine-readable routes, with pagination that stops at an empty answer and a filter that is verified before any batch.

SS-0010 Research infrastructure Tested Available Data collection v1.0.0· MIT
PythonGitHubHermes Agent

What it solves

Collect DOU publications and federal covenants through official open-data routes, without circumventing access controls and without confusing silence from the source with absence of publication.

Official routesVerified filterNo circumvention

Requirements

What you must have before running this skill. Everything required appears here — credentials included.

Python 3.10 or newer

Requiredsoftware

What it is: The client and CLI run on Python 3.10+.

How to get it: Check with python3 --version.

Portal da Transparência API key

RequiredcredentialPORTAL_TRANSPARENCIA_KEY

What it is: Free key that authorises covenant queries through the official API.

How to get it: Sign up at portaldatransparencia.gov.br, open 'API de Dados' and generate a key. It travels in the chave-api-dados header.

export PORTAL_TRANSPARENCIA_KEY="sua_chave_aqui"

Careful: Not needed to parse a saved search page: the parser works offline.

Installation and activation

git clone https://github.com/LABHDUFBA/scholarskills.git
cd scholarskills/dou-federal-gazette
python3 -m pip install -r requirements.txt
export PORTAL_TRANSPARENCIA_KEY="..."
  1. Copy the package directory into your agent's skills folder.
  2. Start a new session so the agent re-reads its skills.
  3. Confirm the skill appears in the environment's list before using it.
  4. Only then ask for the task, within the scope and permissions you granted.

In Hermes Agent: hermes skills list and, in session, /skill <name>.

In Claude Code: the directory name becomes the /name command.

Step-by-step guide with activation check →

How it works

—

Evidence

What this package records publicly, dimension by dimension. A record is not the same as scientific quality.

  • Structural conformanceRecorded

    validate_skill.py: PASS, 3 warning(s); local run on 2026-11-26.

    Validator applied, specification version and result recorded.

  • Functional testsRecorded

    20 tests with recorded fixtures and a stub HTTP layer, environment recorded on 2026-11-24.

    Positive, negative and edge cases; environment, result and date recorded.

  • Methodological assessmentNot recorded

    Not recorded.

    Protocol, benchmark, adequate metrics and limitations.

  • Peer reviewNot recorded

    Not recorded.

    Editorial policy, authorised reports, version and decision.

  • Independent re-executionNot recorded

    Not recorded.

    Non-author executor, environment, version, results and divergences.

  • Scientific replicationNot recorded

    Not recorded.

    Where applicable, assessment on new data or a new study under a defined protocol.

The environment, command and output are in tests/RESULTS.md. tests/RESULTS.md ↗

Limits

The gazette is published under the access-to-information law and its decree; the client does not circumvent blocks, rotate identities or use third-party proxies. Acts naming individuals are public, but building a database of people is personal-data processing under the LGPD. The limit is one request per second and 40 pages per run. The record proves what the route returned on the day; for legal effect the certified copy prevails.

Authors

NameAffiliationORCID
Leonardo Fernandes NascimentoLABHDUFBA · UFBA0000-0003-2929-1115
Eric BrasilUNILAB0000-0001-5067-8475
Ricardo SodréUFBA0000-0003-3107-3686

ORCIDs are included only when each author supplies them; none is invented.

Licence: MIT

How to cite

NASCIMENTO, Leonardo Fernandes; BRASIL, Eric; SODRÉ, Ricardo. DOU and Federal Covenants for Research Pipelines (SS-0010), v1.0.0, 2026. LABHDUFBA/UFBA. DOI: 10.5281/zenodo.24507969

DOI: 10.5281/zenodo.24507969

The version DOI identifies the run; the concept DOI gathers the versions.

BibTeX
@software{ss0010,
  author = {Leonardo Fernandes Nascimento and Eric Brasil and Ricardo Sodré},
  title = {DOU and Federal Covenants for Research Pipelines},
  year = {2026},
  version = {1.0.0},
  publisher = {Digital Humanities Laboratory, Federal University of Bahia},
  url = {https://github.com/LABHDUFBA/scholarskills/tree/main/dou-federal-gazette},
  doi = {10.5281/zenodo.24507969}
}

Package links