- Home
- Skills
- APIs & Backend
- Retail Intelligence System
Retail Intelligence System
by Moazam M
Analyze retail sales CSV files, generate product and category performance reports, forecast 14 days of demand, backtest forecasting models, and calculate inventory reorder recommendations.
Free
Retail Intelligence System
Example session with this skill installed
Run the Retail Intelligence System on the bundled retail sales dataset. Validate the data, generate a full sales performance report, forecast demand for the next 14 days, compare the Random Forest model against simple forecasting baselines, and calculate inventory reorder recommendations using a 7 day lead time and 95% service level. Explain the results and highlight the limitations.
- Read your context and instructions
- Compiled the retail intelligence system
- Generated the data export
Retail Intelligence Report
1. Dataset Validation
The bundled dataset contains synthetic retail sales records.
| Metric | Result |
|---|---|
| Total records | 4,380 |
| Products | 12 |
| Categories | 7 |
| Historical period | 365 days |
| Date range | Jan 1 to Dec 31, 2025 |
| Validation warnings | None |
2. Business Performance
| Metric | Result |
|---|---|
| Total revenue | Rs. 5,957,610 |
| Total profit | Rs. 1,213,830 |
| Units sold | 25,132 |
| Products | 12 |
| Average daily revenue | Rs. 16,322.22 |
Top products by revenue
| Product | Revenue | Profit |
|---|---|---|
| Cooking Oil | Rs. 909,150 | Rs. 132,240 |
| Eggs | Rs. 723,300 | Rs. 120,550 |
| Milk | Rs. 714,120 | Rs. 129,840 |
| Rice | Rs. 696,500 | Rs. 139,300 |
| Tea | Rs. 613,800 | Rs. 109,120 |
Grocery is the leading category, contributing 33.2% of total revenue.
3. Demand Forecasting
The system generated a 14 day demand forecast using a Random Forest model.
Backtesting results
| Model | MAE | RMSE | WAPE |
|---|---|---|---|
| Random Forest | 1.89 | 2.46 | 35.5% |
| Weekday mean | 1.91 | 2.53 | 35.8% |
| Seasonal naive | 2.54 | 3.34 | 47.6% |
The Random Forest achieved an MAE only 0.8% lower than the weekday mean baseline. This is not a meaningful improvement. Forecasts should be treated as estimates, not exact demand targets.
4. Inventory Recommendations
Using the configured lead time and service level, the system identified:
| Inventory status | Products |
|---|---|
| Reorder | 7 |
| Watch | 2 |
| Healthy | 3 |
Products requiring reorder include Bread, Tea, Sugar, Eggs, Cooking Oil, Milk, and Biscuits.
The system also calculates reorder points, safety stock, days of stock coverage, and suggested order quantities.
5. Generated Files
The report produces CSV exports
- product_performance.csv
- category_performance.csv
- monthly_performance.csv
- insights.csv
- forecast.csv
- forecast_summary.csv
- backtest.csv
- inventory.csv
Important Limitations
The bundled dataset is synthetic, not real business data. Results demonstrate the system's functionality and should not be treated as evidence of real business performance.
Forecasting requires at least 134 days of historical data. The model does not account for promotions, holidays, weather, or other external factors.
Next steps: Validate the recommendations against actual supplier lead times and stock records before making purchasing decisions.
product_performance.csv
CSV · data export
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
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 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
- 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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
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
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 5 days ago
- Free with an Agensi account
- Software
Python
Permissions
What's inside
Frequently Asked Questions
New in APIs & Backend
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.