# Construction Risk Intelligence Platform

> Normalize multi-currency construction spreadsheets into USD KPIs, risk briefings, and interactive Plotly dashboards.

Construction Risk Intelligence Platform is a paid AI agent skill on Agensi by nwafor lawrence, in Data & Databases. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $8 (one-time purchase)
- Creator: [nwafor lawrence](https://www.agensi.io/creators/nwafor-lawrence)
- Category: [Data & Databases](https://www.agensi.io/skills/data-databases)
- Version: 1.0
- Last updated: 2026-11-27
- Security: scan passed (2026-11-27); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/construction-risk-intelligence-platform
- Tags: automation, finance, database, python, pandas, construction, plotly, etl

## About this skill

Construction project data is notoriously messy, spanning multiple currencies, non-standardized material units, and inconsistent regional date formats. This skill automates the ingestion and normalization of complex construction portfolio spreadsheets into standardized financial and operational intelligence.

### What it does
- **Multi-currency normalization** converts costs from ZAR, NGN, GHS, KES, EUR, GBP, and others into USD using embedded or column-based currency codes.
- **Unit standardization** parses material quantities like bags or kilograms into uniform metric tons.
- **Contractor fuzzy matching** normalizes supplier and contractor names to prevent duplicate entities in risk reporting.
- **KPI engineering** calculates cost overruns, equipment efficiency ratios, actual durations, and delay flags automatically.
- **Intelligence reporting** generates a standalone interactive Plotly HTML dashboard, a cleaned CSV, and a Markdown executive summary.

### How it works
1. **Validate schema** by mapping user headers to the required internal project and cost fields using the `--validate-only` flag.
2. **Execute pipeline** via `scripts/pipeline.py` to process regional Excel or CSV files and normalize all data points.
3. **Optional DB load** pushes cleaned project data into a SQLite or PostgreSQL table for persistent storage.
4. **Review outputs** including the interactive `construction_dashboard.html` and the `executive_summary.md` briefing.

### Frameworks & tools
Built with Python 3, Pandas, NumPy, and SQLAlchemy for data processing. Interactive visualizations are rendered via Plotly.

### Why this beats prompting it yourself
Prompting an LLM to handle bulk math across 10,000 rows of multi-currency construction data often leads to hallucinated totals and broken date logic. This skill uses deterministic Python pipelines for 100% accurate financial calculations while using the agent to map messy headers and interpret risk trends.

### Use cases
- Auditing multi-national construction portfolios for cost overrun hotspots.
- Normalizing regional supplier invoices and material usage for global procurement.
- Identifying equipment downtime risks across fleet asset classes.
- Generating executive-ready interactive dashboards from raw site spreadsheets.

### Known limitations
Requires specific columns for project ID and costs. Numeric operating hours must be non-negative. Currency conversion uses internal mapping rather than real-time live API rates.

## Requires

- Python 3.10+
- pandas
- numpy
- openpyxl
- SQLAlchemy
- Optional: PostgreSQL (or built-in SQLite)
- Optional: pytest 7.0+

Runs locally with no external API keys required. Install dependencies via `pip install -r requirements.txt`, then run `scripts/pipeline.py` against any `.csv` or `.xlsx` spreadsheet.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Construction Risk Intelligence Platform skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What core problem does the Construction Risk Intelligence Platform solve?

The skill acts as a specialized data normalization engine that transforms messy, multi-currency construction spreadsheets into standardized USD KPIs and interactive Plotly dashboards, solving the issue of manual data cleanup in global project auditing.

### Does the skill rely on an LLM to perform the currency and unit math?

No, the skill uses a deterministic Python pipeline for all financial and unit calculations to ensure 100% accuracy, using the agent only for schema mapping and high-level risk interpretation.

### What exactly is included in the purchase of this skill?

You will receive the complete Python source code for the processing pipeline, the dashboard generator, a sample dataset for testing, and detailed documentation for schema mapping and database integration.

### Can I add support for additional currencies or custom material units?

While the skill is built to handle common regional formats like ZAR, NGN, and EUR, you can easily extend the internal mapping file to include additional local currencies or specific material units required for your project.

### Does the platform use real-time live currency exchange rates?

Currency conversion is handled via an internal mapping file to ensure consistency and speed; however, you can manually update this file or point the script to a live exchange rate API if your workflow requires daily market fluctuations.

### What spreadsheet formats and required columns does it expect?

It accepts CSV and Excel (.xlsx, .xls, .xlsm) files, and you can select any Excel tab with --sheet. Only four columns are strictly required—Project_ID, Project_Budget, Actual_Cost, and Currency (checked case-insensitively with --validate-only)—while Contractor_Name, Supplier_Name, Equipment_Type, Usage_Hours, Downtime_Hours, Quantity_Used, and dates enrich the KPIs when present.

### Which currencies are supported, and what if currency codes are mixed into cost cells?

It converts 9 currencies into USD—USD, ZAR, NGN, GHS, KES, EUR, GBP, CAD, and AUD—and automatically detects embedded currency codes inside text cells (such as "KES 2,379" or "ZAR 33,441"), strips commas/symbols, and converts messy placeholders like "unknown" or "n/a" cleanly.

### How does it handle mixed material units and inconsistent date formats?

Quantity_Used strings like "120 bags", "500 kg", and "15.5 tons" are normalized to metric tons (Quantity_Used_Tons, where 1 bag = 0.05 tons and 1 kg = 0.001 tons). Start_Date, End_Date, and Actual_Completion_Date parse mixed regional date formats automatically to compute Actual_Duration, Delay_Days, and Delay_Flag.

### Can I push cleaned construction data into SQLite or PostgreSQL, and is it tested?

Yes. Pass --db <path_or_connection_url> (or set DATABASE_URL) to load all cleaned project KPIs into a `construction_projects` table in SQLite or PostgreSQL via SQLAlchemy. The package also includes an 11-test pytest suite covering financial KPIs, cleaning edge cases, unit normalization, and currency conversion.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
