# Automated Sales Analyst

> Turn raw CSV or Excel sales data into professional HTML reports, financial KPI summaries, and visual trend charts.

Automated Sales Analyst is a paid AI agent skill on Agensi by Esha Naveed, in Product Management. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $9.99 (one-time purchase)
- Creator: [Esha Naveed](https://www.agensi.io/creators/esha-naveed)
- Category: [Product Management](https://www.agensi.io/skills/product-management)
- Version: 1.0.0
- Last updated: 2026-12-04
- Security: scan passed (2026-12-04); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/automated-sales-analyst
- Tags: product-management, python, data-analysis, sales-reports, business-intelligence

## What it does

- Calculates total revenue, profit, and profit margins automatically
- Identifies loss-making products and top-performing categories
- Detects data errors like missing values, duplicates, and invalid dates
- Generates professional HTML reports you can open in any browser
- Creates visual PNG charts for regions, categories, and monthly trends
- Exports clean CSV tables ready for use in Excel or Power BI

## Who it's for

- **Shop owners selling on multiple platforms:** See which products make money and which ones lose money without touching a spreadsheet. Try: "Analyze sales.csv and tell me which products are losing money."
- **Marketing managers tracking campaigns:** Turn messy sales exports into clean charts that show regional and category trends. Try: "Create a sales report from my monthly_export.xlsx file."
- **Business consultants and analysts:** Get professional HTML reports and clean CSV tables for your clients in seconds. Try: "Run a full sales analysis on client_data.csv and check for data quality issues."

## About this skill

If you have a pile of sales data in a spreadsheet but no time to dig through it, this skill is for you. It takes your raw files and builds a complete business intelligence report. It handles the math for revenue, profit, and margins while spotting mistakes like missing dates or duplicate orders that could mess up your numbers.

### How it works
1. You give your AI agent a CSV or Excel file containing your sales data.
2. The skill looks at your columns to find prices, dates, categories, and regions.
3. It runs a detailed check to find any errors, like negative sales or missing values.
4. You get back a summary of your top KPIs, a professional HTML report, and high-quality charts showing your trends.

### Frameworks & tools
This skill uses Python with the pandas and numpy libraries for data processing. It uses matplotlib to create visual charts and openpyxl to read Excel files.

### Why this beats prompting it yourself
Most AI agents try to guess your data or do simple math that misses hidden errors. This skill uses a dedicated script that follows strict financial rules. It builds a self-contained HTML report and high-resolution charts that look professional, which a standard chat cannot do on its own.

### Use cases
- Finding out which specific products are causing a loss.
- Checking if your sales data has duplicate entries or missing information.
- Seeing which regions or customer segments are growing the fastest.
- Creating a clean summary of monthly sales trends for a meeting.

### Known limitations
This skill does not convert currencies or predict future sales. It cannot fix a file if it is missing all price or revenue information.

## Requires

- Python 3.12 (recommended)
- Pandas
- NumPy
- Matplotlib
- OpenPyXL

Provide a CSV or Excel (.xlsx) sales dataset. Available metrics and charts depend on dataset columns. Install dependencies using requirements.txt. Missing financial values are never fabricated. No external API keys are required.

## Technical details

Built using a standalone Python script (sales_analyst.py) that utilizes pandas, numpy, and matplotlib. It standardizes common sales column names (Revenue, Order Date, etc.) and supports --dayfirst date parsing and --remove-duplicates flags. Outputs include a self-contained HTML report, PNG visualizations, and a subdirectory of analytical CSV tables. Requires Python 3.12+ and openpyxl for Excel support.

## 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 Automated Sales Analyst 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 kind of help can I get with my sales data?

This skill takes raw sales spreadsheets and converts them into structured business insights. It calculates revenue and profit, finds top products, and builds an HTML report with visual charts to help you spot trends or loss-making items.

### What do I need to provide to make this work?

You only need to provide a CSV or Excel file containing your sales data. To get the best results, your file should include columns like sales, profit, order dates, or product names so the skill can perform its calculations.

### What kind of files will I get back after the analysis?

The skill generates a self-contained HTML report that you can open in a browser, high-resolution PNG charts for your presentations, and several CSV tables summarizing KPIs and data quality. These files give you a professional look at your business performance.

### Can it find mistakes in my spreadsheet?

The skill identifies missing values, duplicate orders, and negative sales that could represent returns. It alerts you to these issues in a data quality assessment so you do not make decisions based on incorrect or incomplete information.

### Are there any specific things this skill cannot do?

It does not convert different currencies or predict future sales trends. It also cannot fix a file if the mandatory price or revenue information is completely missing.

### How should I tell my AI agent to start the analysis?

Simply give your AI agent a sales file and ask it to generate a sales report or analyze your monthly trends. If your file uses a unit price instead of a total transaction amount, tell the agent so it can calculate the revenue correctly.

---

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.
