Italian Municipal Data Suite — Skills for AI Agents (Triade)

    1

    Analyze Italian municipal demographics, road safety, and socio-economic profiles using official government data sources.

    $2

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Italian Municipal Data Suite — Skills for AI Agents (Triade)

    Example session with this skill installed

    Generate a demographic and road safety report for the municipality of Paullo (MI) for the years 2020-2024. Include natural balance and accident rates per 1,000 inhabitants.

    • Read your context and instructions
    • Compiled the italian municipal data
    • Generated the data export

    I have completed the analysis for Paullo (MI), ISTAT code 015169. Data was extracted from Istat (demographics) and dati.lombardia.it (accidents).

    Report: Paullo (MI) 2020-2024 Analysis

    Indicator20202021202220232024
    Demographics
    Resident Population11,48011,39011,32011,28011,250
    Births8275706865
    Deaths145118122115120
    Natural Balance-63-43-52-47-55
    Birth Rate (x1000)7.146.586.186.035.78
    Road Safety
    Total Accidents2428222621
    Injured Persons3135283225
    Deceased (30 days)10010
    Accident Rate (x1000)2.092.461.942.301.87

    Data Insights:

    Demographic Trend: Paullo shows a persistent negative natural balance, with the birth rate declining from 7.14 to 5.78 per thousand residents over five years.

    Safety Context: The accident rate remains relatively stable, peaking in 2021. The "SP15 Paullese" segment accounts for 45% of total local incidents based on microdata filtering.

    • Aging Index: The ratio of residents 65+ to those 0-14 has increased by 4.2% in this period.

    Next steps

    • Review the generated dashboard_paullo_2024.html for interactive charts.
    • Export the filtered accident microdata from incidenze_paullo_2020_2024.csv for spot mapping.
    • Run the fiscal profile script to see how declining population impacts IRPEF revenue.

    dashboard_paullo_2024.html

    CSV · data export

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    This suite provides three specialized tools for deep analysis of Italian municipalities using live, official sources without requiring API keys. It handles the extraction and synthesis of demographic trends, road safety dossiers, and comprehensive territorial profiles. The demografia-comunale-istat skill processes Istat data to calculate birth/death rates, aging indices, and population structure. The incidentalita-stradale-comunale skill scrapes regional open data portals to generate accident history reports, identifying "black spots" and calculating casualty rates per 1,000 residents. The profilo-comunale-italiano skill aggregates tax data from the MEF, land use statistics from ISPRA, and commercial activity from OpenStreetMap.

    What it does

    • Demographic Analysis calculates natural balances, aging indices, and historical population trends using Istat ZIP sources.
    • Road Safety Audits generates accident dossiers including historical trends, victim counts, and most dangerous road segments.
    • Economic Profiling extracts municipal tax rates (IMU/IRPEF) directly from Ministry of Finance documents.
    • Territorial Mapping inventories commercial activities, shops, and services via Overpass/OSM queries.
    • Environmental Tracking reports on soil consumption and land use changes using ISPRA datasets.
    • Visual Reporting produces production-ready JPEG tables and interactive HTML dashboards for editorial use.

    How it works

    1. Define Territory by providing a list of 6-digit ISTAT codes or municipal names with optional province filters.
    2. Data Extraction runs specialized PowerShell or Python scripts to fetch ZIP, CSV, or PDF data from official government endpoints.
    3. Synthesis processes raw microdata to compute normalized indicators such as rates per 1,000 inhabitants.
    4. Output Generation creates Markdown reports, JSON data objects, or JPEG visuals for immediate publication.

    Frameworks & tools

    Built with PowerShell and Python. Dependencies include openpyxl for Excel data, pypdf for tax document parsing, and System.Drawing for visual table generation. Integrates with Socrata (Open Data), Overpass API, and Istat SDMX.

    Why this beats prompting it yourself

    LLMs struggle with Italian municipal data due to fragmented sources, inconsistent CSV layouts across years, and specific ISTAT code requirements. This skill handles layout shifts between years (e.g., 53 vs 45 columns), manages SSL certificate workarounds for government sites, and ensures statistical consistency between microdata and aggregates.

    Use cases

    • Journalistic Inquiries into local birth rate collapses or rising road accidents for local news outlets.
    • Real Estate Research to assess a municipality's tax burden, commercial vibrancy, and environmental health.
    • Public Policy Analysis comparing demographic aging indices across different administrative zones.
    • Territorial Marketing creating automated fact sheets for local investment or tourism.

    Known limitations

    Data availability is subject to government update cycles (e.g., MEF tax lag). Small municipalities under 5,000 residents may show high statistical volatility in annual rates. OSM commercial data is volunteer-based and may be less complete in rural areas.

    Municipal tax data often lags by one year. Small towns (<5,000 pop) show high rate volatility. OSM coverage varies by zone. Requires Python/PowerShell for script execution.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 9 days ago

    Requires

    Daticomuni
    Overpass Api
    Kumi
    Gov
    Python

    Permissions

    Terminal / Shell
    Network Access
    Read Files
    Write Files

    Allowed Hosts

    api.daticomuni.it
    overpass-api.de
    overpass.kumi.systems
    www.isprambiente.gov.it
    www1.finanze.gov.it
    Listed9 days ago

    What's inside

    Frequently Asked Questions

    The suite uses a proprietary extraction layer that handles inconsistent CSV layouts and PDF formatting from Istat and MEF, ensuring the AI agent receives normalized, statistically accurate data rather than outdated or hallucinated figures.

    The skill requires Python 3.9+ and PowerShell, along with standard libraries like openpyxl and pypdf; all specialized scripts for data synthesis and visual reporting are included in the package.

    You receive the full set of three specialized skills (Demographics, Road Safety, and Economic Profiling), including the logic for live data extraction from official Italian sources and visual dashboard generation.

    The suite is designed to be framework-agnostic and can be integrated into AutoGPT, LangChain-based agents, or custom Python workflows that support local script execution.

    Since it targets live official endpoints, the skill is built to be resilient, but the developers provide documentation on how to update Istat/MEF source URLs should government portal structures change.

    While it handles all 7,900+ Italian municipalities, users should note that very small towns may show volatile year-over-year statistics, and OSM-based commercial data is most robust in urban centers.

    New in Agents & Orchestration