# Retail Intelligence System

> Analyze retail sales CSV files, generate product and category performance reports, forecast 14 days of demand, backtest forecasting models, and calculate inventory reorder recommendations.

Retail Intelligence System is a free AI agent skill on Agensi by Moazam M, in APIs & Backend. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Moazam M](https://www.agensi.io/creators/moazam-m)
- Category: [APIs & Backend](https://www.agensi.io/skills/apis-backend)
- Version: 1.0
- Last updated: 2026-11-30
- Security: scan passed (2026-11-30); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/retail-intelligence-system
- Tags: api, python

## About this skill

### What makes this useful

Instead of relying on manual calculations or unsupported estimates, this skill runs actual Python code against your sales CSV files.

It provides repeatable calculations, model evaluation against simple baselines, and downloadable reports. It also clearly reports forecasting limitations so users can make informed decisions.

## Requires

- Python

## Known limitations

Requires 134+ days of data for forecasting. No support for holidays or promos. Supports only 0.90, 0.95, 0.99 service levels. Inventory requires Stock_Remaining column.

## 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 Retail Intelligence System 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 specific data format and history duration does the system require?

This skill requires a CSV file with historical daily sales including columns for Date, Product_ID, Quantity, Unit_Price, and Unit_Cost. For the forecasting engine to function accurately, you must provide at least 134 days of consecutive sales history.

### How does this forecasting differ from just asking an AI to predict my sales?

Unlike simple LLM prompts, this skill uses a localized Random Forest model and rigorous backtesting (MAE, RMSE, WAPE) to ensure predictions are statistically grounded. It prevents 'data leakage' and performs precise safety stock calculations that generic AI models often hallucinate.

### Which AI agents or environments can run the Retail Intelligence System?

The system is built on Python 3.10+ and is compatible with any AI agent or platform that supports Python environments and standard libraries like pandas and scikit-learn. It is designed to be easily integrated into custom agentic workflows via a command-line interface.

### What is included in the digital download for this skill?

You will receive the full source code for the analysis and forecasting engine, documentation on CSV formatting, and the logic modules for inventory reordering and backtesting. The purchase includes the core logic required to run the system locally or within your agent's environment.

### Does the system account for seasonal promotions or holiday spikes?

Currently, the model focuses on historical sales patterns and temporal trends; it does not ingest external variables like promotional calendars or weather data. If your sales are heavily influenced by one-off events, the backtesting feature will help you identify which SKUs remain predictable.

### Can I adjust the inventory logic for different supplier lead times?

The skill generates a 14-day demand forecast, but it also provides a 'Lead Time' parameter for inventory logic. This allows you to calculate reorder points and safety stock specifically tailored to how long it takes your suppliers to restock.

---

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.
