cup-cig

Resolve Italian procurement inquiries by retrieving CUP and CIG project data.

5|1|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/ondata/skills --skill cup-cig
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cup-cig
Source: https://github.com/ondata/skills/tree/main/skills/cup-cig
Command: npx skills add https://github.com/ondata/skills --skill cup-cig

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires agent-browser, jq, timeout, and includes scripts (resource) and references (resource) components.

What problem does it solve?

CUP and CIG codes are fragmented across multiple Italian public-procurement portals, so you can’t reliably get project metadata, financial monitoring, or tender details without manually stitching sources together.

Core Features & Use Cases

  • Project metadata lookup (CUP): Fetch authoritative project details from OpenCUP (Sogei API when credentials are available, otherwise public HTML fallback).
  • Financial monitoring (CUP): Retrieve execution and financial status from OpenBDAP (MOP) using OData.
  • Tender and award details (CIG): Get tenders/outcomes from SCP-MIT (for above-threshold CIGs) and fetch full CIG detail via ANAC dettaglio-cig; use ANAC BDNCP bulk for CUP↔CIG joins and Z-prefix below-threshold direct awards.
  • Use Case: Provide a list of CUPs and CIGs, then combine the results into readable, analysis-ready outputs (formatted with jq/JSON shaping, and bulk joins via DuckDB).

Quick Start

Use the cup-cig skill to look up the project and tender details for CUP J87G22000360002 and CIG 8874674CA7.

Frequently Asked Questions about cup-cig

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

FAQPage Schema
How do I look up Italian public procurement project metadata using a CUP code?

You can retrieve Italian public procurement project metadata by querying the OpenCUP Sogei API with your client credentials, or falling back to public HTML, to get authoritative project details for a CUP code.

What is the best way to map a CUP code to its corresponding CIG tender codes?

The best way to map CUP codes to CIG codes is using the ANAC BDNCP bulk data for joins, which links project identifiers to their respective tender codes for Italian public procurement tracking.

How do I retrieve financial monitoring and execution status for an Italian public project?

You retrieve financial monitoring and execution status for an Italian public project by querying the OpenBDAP (MOP) OData service, which returns the current financial tracking data for a specific CUP code.

Does the cup-cig skill handle Z-prefix below-threshold CIG codes for direct awards?

Yes, the cup-cig skill handles Z-prefix below-threshold CIG codes by utilizing the ANAC BDNCP bulk data source to fetch direct award details and map them to their corresponding CUP codes.

Do I need API credentials to resolve CUP and CIG codes across Italian procurement portals?

You need OPENCUP_API_CLIENT_ID and OPENCUP_API_CLIENT_SECRET environment variables for OpenCUP Sogei API access, but public HTML fallback and OpenBDAP OData queries function without these specific credentials.

How do I get tender and award details for an above-threshold CIG code?

To get tender and award details for an above-threshold CIG code, the cup-cig skill sends SCP-MIT POST requests with SSL skip, and optionally uses ANAC dettaglio-cig browser automation via scripts for full detail extraction.