Skip to content
Back to skills

Rosie Suspicion Pipeline

ASecurity

"Run, inspect, adapt, and troubleshoot Rosie's

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
devopspythondockerapidatabase

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill rosie-suspicion-pipeline --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rosie Suspicion Pipeline?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rosie Suspicion Pipeline
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-rosie-suspicion-pipeline/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-rosie-suspicion-pipeline)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: rosie-suspicion-pipeline
description: "Run, inspect, adapt, and troubleshoot Rosie's
  suspicious-reimbursement pipeline for Chamber of Deputies and Federal Senate
  data."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Rosie Suspicion Pipeline

Use this sub-skill when you need to run Rosie, inspect or adapt its suspicious-reimbursement pipeline, reason about classifier inputs/outputs, or debug why `suspicions.xz` or classifier model caches were not produced as expected.

## Start here

- For CLI commands, programmatic pipeline flow, `Core(settings, adapter)`, model-cache behavior, and safe offline adaptation, read [references/cli-and-workflows.md](references/cli-and-workflows.md).
- For classifier catalog entries, settings keys, required dataframe columns, and prediction semantics, read [references/classifier-reference.md](references/classifier-reference.md).
- For Chamber of Deputies and Federal Senate adapter normalization, expected input/output files, `suspicions.xz` shape, and download caveats, read [references/data-formats.md](references/data-formats.md).
- For dependency, data, legacy-library, cache, and network failure modes, read [references/troubleshooting.md](references/troubleshooting.md).
- To run a deterministic no-download smoke check for Core and any bundled classifier (default: invalid CNPJ/CPF), run [scripts/rosie_smoke.py](scripts/rosie_smoke.py).

## Fast routing

- **Run the native pipeline:** use `python rosie.py run chamber_of_deputies --output <directory>` or `python rosie.py run federal_senate --output <directory>` from a Rosie runtime checkout or container.
- **Run native tests:** use `python rosie.py test`, optionally followed by `core`, `chamber_of_deputies`, or `federal_senate`.
- **Avoid downloads or service starts:** do not call the native `run` command. Use a tiny dataframe and a classifier directly, or use `Core` with a custom adapter whose `dataset` and `path` are already local.
- **Understand a suspicious flag:** identify the classifier column in `suspicions.xz`, then use `classifier-reference.md` for required columns and true/false meaning.
- **Stale or surprising model output:** inspect/delete the classifier `.pkl` cache in the selected output directory, except for the monthly-subquota classifier, which is fitted every run and intentionally not cached.
- **Jarbas API questions:** route to the sibling `jarbas-data-api` sub-skill.
- **Data loading, Docker/services, deployment, or setup operations:** route to the sibling `deployment-and-data-ops` sub-skill.

## Operating boundaries

Rosie is the suspicion-generation application. It reads reimbursement datasets, normalizes them through the selected adapter, applies a settings-defined classifier catalog, and writes a compressed CSV named `suspicions.xz`. It does not serve the web API, run Jarbas, start databases, or load data into Jarbas by itself.

The native `run` workflow is not safe for offline-only checks because adapter access triggers data update/download routines. For deterministic local verification, use the bundled smoke script or construct a minimal dataframe for the specific classifier under inspection.

## Verification anchors

This sub-skill is grounded in the native CLI surface (`run`, `test`, module choices, and `--output`), `Core(settings, adapter)` behavior, Chamber/Federal adapter normalization, classifier docstrings and tests, model-cache tests, and installed API inspection for Rosie public classes and methods.

Files in this skill

  • SKILL.md3.4 KB
  • references/classifier-reference.md6.2 KB
  • references/cli-and-workflows.md6.2 KB
  • references/data-formats.md5.1 KB
  • references/troubleshooting.md6.2 KB
  • scripts/rosie_smoke.py4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.