audit-cabys-ciiu

Audits CABYS–CIIU affinity logic and monthly cut workflows for misclassifications and escalation errors.

Updated Feb 26, 2026
One-click install
npx skills add https://github.com/ElPoot/contabilidad --skill audit-cabys-ciiu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audit-cabys-ciiu
Source: https://github.com/ElPoot/contabilidad/tree/main/.agents/skills/audit-cabys-ciiu
Command: npx skills add https://github.com/ElPoot/contabilidad --skill audit-cabys-ciiu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps detect inconsistencies and incorrect automatic classifications in the CABYS–CIIU affinity logic and the monthly cut workflow, so a firm can trust which items are marked for purchases versus expenses and when manual decisions are required.

Core Features & Use Cases

  • CABYS–CIIU affinity consistency auditing: Checks how the system decides COMPRAS vs GASTOS using CABYS “bien_es_compra|is_purchase”, forced purchase chapters (“compras_capitulos|purchase_chapters”), and CIIU sector rules (“ciiu_affinity|affinity”).
  • Ambiguity escalations review: Verifies the actual criteria for items flagged as ambiguous and routed to the manual decision modal (“gestor_contable/gui/corte_ambiguo_modal.py”).
  • Vendor catalog contamination and decision persistence checks: Audits whether vendor catalog inputs and saved manual decisions (“vendor_catalog|VendorCatalog”, “save_decision|persist|guardar”) can bias outcomes across customers/periods.
  • Monthly cut execution sanity: Reviews the monthly cut flow for pending/undecided items, batch processing, and whether rollback/reversibility is implemented as intended.

Quick Start

Ask the agent to audit the current CABYS–CIIU and monthly cut code paths and produce an evidence-based report including files reviewed, pending-decision handling, and any detected problems with quoted code excerpts.

Frequently Asked Questions about audit-cabys-ciiu

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

FAQPage Schema
How do I audit CABYS CIIU classification rules for misclassification errors?

To audit CABYS CIIU classification rules, the Skill examines affinity logic and forced purchase chapters to catch misclassifications and ambiguous escalation errors. It reviews specific modules and produces an evidence-only findings report with quoted code excerpts.

What causes ambiguous items to escalate incorrectly during a monthly accounting cut?

Ambiguous items escalate incorrectly during a monthly accounting cut when the criteria routing them to the manual decision modal are misconfigured. The Skill verifies the actual escalation criteria and pending-decision handling to detect these logic errors.

How does vendor catalog contamination affect CABYS purchase decisions across periods?

Vendor catalog contamination biases CABYS purchase decisions when saved manual decisions persist improperly across customers or periods. The Skill audits vendor catalog inputs and manual persistence flows to detect cross-contamination issues.

Can I check if my monthly cut workflow handles pending and undecided items correctly?

You can check monthly cut workflow handling of pending and undecided items by auditing the batch processing flow. The Skill reviews the monthly cut execution sanity, including whether rollback and reversibility are implemented as intended.

How do I validate COMPRAS vs GASTOS accounting classification using CABYS and CIIU?

Validating COMPRAS vs GASTOS accounting classification requires checking CABYS purchase flags and CIIU sector affinity rules. The Skill audits how the system decides these classifications and flags any inconsistent automatic logic.

What are the limitations of auditing monthly cut logic without evidence-based code excerpts?

Auditing monthly cut logic without evidence-based code excerpts limits the ability to verify rollback implementation and pending-decision handling. The Skill overcomes this by producing an evidence-only findings report with quoted code from the reviewed modules.