# ecommerce-delivery-analytics

> Streamlit + SQLite e-commerce delivery dashboard with an order tracker and a late-delivery prediction model.

ecommerce-delivery-analytics is a free AI agent skill on Agensi by Chinedu Emmanuel, in Research & Analysis. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Chinedu Emmanuel](https://www.agensi.io/creators/chinedu-emmanuel)
- Category: [Research & Analysis](https://www.agensi.io/skills/research-analysis)
- Version: 1.2
- Last updated: 2026-11-24
- Security: scan passed (2026-11-24); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/ecommerce-delivery-analytics
- Tags: data, analytics

## About this skill

Builds a working BI app for a retailer that sells online and delivers to customers' homes. The result is a multi-page Streamlit dashboard backed by SQLite, with:

1. **Sales & customer KPIs** — revenue, orders, AOV, repeat rate, top products/categories, sales trend.
2. **Delivery logistics** — on-time rate, average delivery time, late deliveries by zone/rider/day/hour.
3. **Order tracker** — look up a customer or order by ID and see their items, totals, and delivery status timeline.
4. **Late-delivery model** — a classifier that predicts whether an order will be late, with feature importance and a "predict for a new order" form.

Ask (once, briefly) whether the user has real data or wants synthetic data. If real, read the files and map columns to the schema below. If synthetic, ask for the city/region and store name so zones, currency and names feel local; otherwise pick sensible defaults and say so.

- `customers(customer_id PK, name, phone, zone, signup_date)`
- `products(product_id PK, name, category, unit_price)`
- `orders(order_id PK, customer_id FK, order_datetime, payment_method, order_total, delivery_zone)`
- `order_items(order_id FK, product_id FK, quantity, line_total)`
- `deliveries(order_id PK/FK, rider_id, promised_datetime, dispatched_datetime, delivered_datetime, status, distance_km)`

## Requires

- Python 3.10+

## Known limitations

Doesn't deploy the app or connect to live store systems (Shopify, POS); works from CSVs or synthetic data.

## 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 ecommerce-delivery-analytics skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What does ecommerce-delivery-analytics do?

Streamlit + SQLite e-commerce delivery dashboard with an order tracker and a late-delivery prediction model.

### Which AI agents support ecommerce-delivery-analytics?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use ecommerce-delivery-analytics?

Connect your AI agent to Agensi through MCP, then ask it to use ecommerce-delivery-analytics on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

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.
