# eCommerce Bi Analytics

> Transform raw e-commerce exports into RFM segments, LTV cohorts, and executive BI dashboards.

eCommerce Bi Analytics is a free AI agent skill on Agensi by SHAMMAS, in E-commerce. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [SHAMMAS](https://www.agensi.io/creators/shammas)
- Category: [E-commerce](https://www.agensi.io/skills/ecommerce)
- Version: 1.0.0
- Last updated: 2026-12-01
- Security: scan passed (2026-12-01); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/ecommerce-bi-analytics
- Tags: trading-investing, shopify, ecommerce, business-intelligence, python, data-analysis

## About this skill

Raw transaction data often sits unused because manual analysis is slow and error-prone. This skill transforms unorganized order exports from Shopify, WooCommerce, or SQL databases into professional business intelligence suites. It automates the heavy lifting of customer segmentation and unit economics, providing the exact data needed for board meetings or marketing campaigns.

### What it does
- **Executive KPI Reporting** calculates net revenue, gross profit, AOV, and repeat buyer rates.
- **RFM Segmentation** classifies customers into 9 tiers based on Recency, Frequency, and Monetary value.
- **Cohort & LTV Analysis** generates retention matrices and cumulative lifetime value curves.
- **Pareto Concentration** identifies revenue distribution across customer deciles to find the top 20%.
- **Profitability Auditing** maps category and product-level margins when cost data is available.
- **Actionable Exports** produces targeted CSV lists for churn win-back and CRM campaigns.

### How it works
1. **Data Inspection** scans the workspace for CSV, Excel, or SQLite files and maps headers to standard BI schemas.
2. **Pipeline Execution** runs a Python-based analysis script to process transactions and filter cancellations.
3. **Artifact Generation** creates a directory containing high-resolution PNG charts, HTML dashboards, and JSON summaries.
4. **Strategic Delivery** presents an executive summary with immediate revenue-at-risk alerts and margin levers.

### Frameworks & tools
This skill utilizes Python 3.9+ with pandas and numpy for data processing, alongside matplotlib and seaborn for visualization. It includes pre-configured Star Schema SQL queries and Power BI DAX measures.

### Why this beats prompting it yourself
Writing prompts to handle complex cohort logic or RFM scoring often leads to calculation drift and inconsistent segment definitions. This skill uses validated scripts to ensure your retention heatmaps and LTV curves are mathematically sound and boardroom-ready.

### Use cases
- Identify "At-Risk" high-value customers for immediate CRM win-back campaigns.
- Audit product category profitability to optimize merchandising and ad spend.
- Generate monthly retention matrices to measure the impact of loyalty programs.
- Prepare executive dashboard visuals for quarterly business reviews.

### Known limitations
Does not support real-time streaming ingestion or clinical data. Profitability metrics require unit cost data in the source file.

## Requires

- Python

## 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 Bi 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 business problems does this skill help me solve?

This skill converts unorganized order exports from Shopify, WooCommerce, and SQL databases into a professional business intelligence suite. It automates complex tasks like customer segmentation, lifetime value calculations, and profitability auditing to help you prepare for board meetings or marketing campaigns.

### What files or data do I need to provide to use this?

You simply need to provide your transaction data in a common format such as a CSV, Excel file, or a SQLite/PostgreSQL table. The skill is designed to automatically detect headers from popular platforms like Shopify and WooCommerce or map custom schemas to its analysis pipeline.

### What specific reports and file formats will I receive?

You receive an executive markdown report with KPIs, an interactive HTML dashboard, and high-resolution PNG charts for presentations. Additionally, it generates actionable CSV files including prioritized win-back lists for at-risk customers and detailed RFM segments for your CRM.

### How should I ask my AI agent to use this skill?

You can ask your agent to analyze your store exports to identify high-value or at-risk customers, audit your product category profitability, or generate monthly retention matrices. It is particularly useful when you need to turn raw sales data into boardroom-ready visuals and campaign target lists.

### Are there any types of data or analysis this skill cannot handle?

This skill does not support real-time streaming data or individual-level clinical and medical data. To calculate profitability metrics like Gross Profit or Margin, your source files must include unit cost or COGS data.

### Why is this better than just asking an AI to analyze my data?

The skill uses validated Python-based scripts to ensure that retention heatmaps and LTV curves are mathematically sound. This prevents the calculation drift and inconsistent segment definitions that often occur when trying to prompt an AI to handle complex cohort logic manually.

---

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.
