# DashAI: Demand Planning & Sales Dashboard

> Turn a sales or inventory CSV/Excel into a reorder plan (reorder points, safety stock, days to stockout, how much to order) and an offline HTML dashboard with KPIs and charts. Runs locally, no API keys.

DashAI: Demand Planning & Sales Dashboard is a paid AI agent skill on Agensi by Hamdy Elbauomy, in Research & Analysis. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $2 (one-time purchase)
- Creator: [Hamdy Elbauomy](https://www.agensi.io/creators/hamdy-elbauomy)
- Category: [Research & Analysis](https://www.agensi.io/skills/research-analysis)
- Version: 1.0
- Last updated: 2026-11-22
- Security: scan passed (2026-11-22); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/dashai-demand-planning-sales-dashboard
- Tags: ecommerce, research, python, inventory-management, demand-planning, sales-dashboard, data-analysis, reorder-point

## About this skill

Most small shops and e-commerce teams decide what to reorder by gut feeling or a messy spreadsheet, and only notice a stockout when a customer can't buy. This skill gives your agent a tested demand-planning engine and a dashboard builder, so you can hand it two files and get back decisions.

### What it does

**1. Reads your data, whatever the column names**
CSV, TSV or Excel. It detects product, date, revenue, units, stock, lead time, category, region and sales-rep columns automatically (`qty`, `units_sold`, `Sales Amount`, `Branch`... all work) and tells you which dashboards your data can actually support.

**2. Builds a reorder plan**
For every product: daily demand, lead-time demand, safety stock, reorder point, days until stockout and a recommended order quantity, with a CRITICAL / WARNING / SAFE status. If you give it sales history, it forecasts monthly demand with a weighted moving average (newest month counts most), skips a partial last month, and marks each product's trend up or down.

It also flags the case most tools miss: **products that will run out before a new order can arrive** (days of stock left < supplier lead time).

**3. Generates a dashboard you can share**
One self-contained HTML file: KPI tiles (revenue, units, month-over-month growth, critical items, units to order), revenue trend, top products, category / region / sales-rep breakdowns and the full reorder table. Inline SVG charts, light and dark mode, works offline, opens in any browser.

### Why it's safe to run
- Pure Python standard library (openpyxl only if you use .xlsx)
- No network calls, no API keys, no accounts: your sales data never leaves your machine
- Never edits your original files; writes outputs to a new folder
- Every number in the agent's summary comes from the script output, not from the model guessing

### Who it's for
Store owners, e-commerce and retail ops, supply-chain and purchasing teams, and analysts who need a quick, explainable inventory and sales report.

### Included
- `profile_data.py`: column profiling + dashboard suggestions
- `demand_plan.py`: reorder engine (formulas documented with a worked example)
- `build_dashboard.py`: HTML dashboard generator
- Sample inventory and sales files to try it in a minute

Built from DashAI, a full-stack AI dashboard and demand-planning platform.

## Requires

- Python 3.8+
- Optional: openpyxl (only for Excel .xlsx files)

## Known limitations

Requires Python 3 and openpyxl for Excel files. Lead times must be manually provided if missing from data. Forecasting uses weighted moving averages, not seasonal decomposition.

## 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 DashAI: Demand Planning & Sales Dashboard 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 are the technical requirements to run this skill?

The skill requires Python 3 and the `openpyxl` library for processing Excel files. It is designed to be compatible with any AI agent or IDE capable of executing Python scripts locally.

### How does this dashboard generator differ from simply asking an AI to analyze my data?

Unlike manual prompting, this skill uses dedicated Python scripts to perform precise mathematical calculations for safety stock and reorder points. This ensures consistency and accuracy across thousands of data rows that a standard LLM might miscalculate.

### Can I use the generated dashboards offline?

Yes. The dashboard is a single self-contained HTML file with inline SVG charts and no external scripts, so it opens in any browser without an internet connection and can be emailed or shared as one file.

### What exactly is included in the purchase?

You will receive the core Python scripts for profiling and building, a comprehensive dashboard playbook for KPI selection, and documentation on how to map your specific inventory headers to the tool.

### Does the demand planning account for seasonal trends?

The skill uses a weighted moving average for forecasting. While it doesn't support complex multi-year seasonal modeling yet, it excels at identifying immediate reorder needs and stockout risks based on current sales velocity and lead times.

---

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.
