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

Brazilian Fiscal Data (SICONFI) for Research Pipelines

Query state and municipal fiscal accounts by IBGE code, normalise field spellings across demonstratives and aggregate by account prefix so every total can be re-checked.

SS-0011 Research infrastructure Tested Available Analysis v1.0.0· MIT
PythonHermes Agent

What it solves

Retrieve fiscal accounts declared by Brazilian states and municipalities in a form whose arithmetic can be audited by a reader.

SICONFI by IBGE codePrefix aggregationNo credential needed

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 runs on Python 3.10+.

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

Careful: No credential: SICONFI is public. Do not send a key to it.

Installation and activation

git clone https://github.com/LABHDUFBA/scholarskills.git
cd scholarskills/brazilian-fiscal-data
python3 -m pip install -r requirements.txt
  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

    21 tests with recorded payloads 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

SICONFI is public by design and needs no credential. The figures are those declared by the entity: auditing them is a different operation, and a declared total is not a payment. Comparing entities without adjusting for population, revenue base and reporting quality produces a league table, not an analysis. Coverage varies by year and entity; gaps must be reported.

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. Brazilian Fiscal Data (SS-0011), v1.0.0, 2026. LABHDUFBA/UFBA. DOI: 10.5281/zenodo.24505404

DOI: 10.5281/zenodo.24505404

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

BibTeX
@software{ss0011,
  author = {Leonardo Fernandes Nascimento and Eric Brasil and Ricardo Sodré},
  title = {Brazilian Fiscal Data (SICONFI) 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/brazilian-fiscal-data},
  doi = {10.5281/zenodo.24505404}
}

Package links