- Home
- Skills
- Data & Databases
- grocery sales analytics
Works with the AI Agents you already use
grocery sales analytics
Clean and analyze grocery sales CSV/XLSX data locally to generate KPI summaries and validated datasets.
$9
grocery sales analytics
Example session with this skill installed
Clean and analyze the sales data in data/raw_grocery_2023.csv and save the results to the reports folder.
- Read your context and instructions
- Compiled the grocery sales analytics
- Generated the data export
I have processed the grocery sales data. The script removed 12 duplicate rows and 5 records with negative sales values.
Sales Analysis Summary
| Metric | Value |
|---|---|
| Total Sales | $452,840.50 |
| Average Rating | 3.82 / 5.0 |
| Valid Records | 1,240 |
| Records with Missing Categories | 14 |
Performance by Item Type
- Fruits and Vegetables: $120,450.20
- Snack Foods: $98,320.00
- Household: $75,100.30
- Frozen Foods: $62,400.00
- (Missing): $4,250.00
Performance by Outlet Type
- Supermarket Type1: $310,200.50
- Grocery Store: $85,440.00
- Supermarket Type2: $57,200.00
The following files have been generated in the /reports folder:
cleaned_sales.csv: Deduplicated and validated data.summary.json: Machine-readable KPIs and breakdowns.summary.md: Full human-readable report.
Next steps
- Review
summary.mdfor a detailed breakdown of outlet performance. - Use
cleaned_sales.csvfor any further custom visualization or BI tool import. - Check the
(Missing)category in the report to identify data entry gaps.
cleaned_sales.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
Raw grocery sales data is often messy, containing duplicates, negative values, and inconsistent categories. This skill provides a local Python-based pipeline to clean and analyze CSV or Excel datasets without sending data to external APIs.
What it does
- Data validation identifies and removes exact duplicates and invalid sales records.
- KPI generation calculates total sales and average ratings across the entire dataset.
- Performance breakdown aggregates sales performance by item type and outlet identifier.
- Quality reporting discloses counts of excluded records and missing non-required fields.
- Multi-format output generates cleaned CSV files along with JSON and Markdown summaries.
How it works
- Point the agent to your input CSV or XLSX file and specify an output directory.
- The agent verifies the presence of required columns like
Item TypeandSales. - The agent executes the local
analyze.pyscript to process the data. - The agent parses the resulting
summary.jsonandsummary.mdto report findings.
Frameworks & tools
This skill uses Python 3.9 or higher. It runs entirely on your local machine using standard data processing libraries.
Why this beats prompting it yourself
Generic prompts often hallucinate trends or invent metrics like profit that aren't in your data. This skill uses a deterministic Python script to ensure calculations are accurate and follow strict data validation rules.
Use cases
- Clean messy grocery datasets by removing negative sales and non-numeric ratings.
- Compare sales performance across different outlet types and identifiers.
- Generate standardized JSON summaries for integration into other dashboards.
- Audit data quality by identifying missing categories and invalid records.
Known limitations
Requires Python 3.9+ and local dependency installation. It cannot infer profit, unit sales, or monthly trends as these fields are not supported by the underlying schema.
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
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 13 days ago
- Software
Python
Permissions
What's inside
Frequently Asked Questions
New in Data & Databases
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Data & Databases.