Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Retail Data Cleaner: Fix Messy Sales CSV/Excel Files

    1

    If day/month order is genuinely ambiguous, the skill tells you and asks instead of guessing.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Retail Data Cleaner: Fix Messy Sales CSV/Excel Files

    Retail Data Cleaner: Fix Messy Sales CSV/Excel Files

    Example session with this skill installed

    I have a messy sales export, sales_march.csv. Dates are in different formats, prices look like "Rs. 1,200" and "1200/-", and city names are inconsistent. Clean it up and tell me what you changed.

    • Read your context and instructions
    • Compiled the retail data cleaner
    • Generated the data export

    Summary

    Cleaned

    63 rows -> 61 rows and wrote sample_cleaned.csv plus sample_cleaning_report.md. The original file was not modified.

    What changed

    ProblemFix
    Dates in 4 formats (15/08/2024, 5-3-2024, 5 Mar 2024, ISO)Standardised to YYYY-MM-DD; day-first order auto-detected from the data
    Prices like Rs. 1,200, PKR 1,450, 1890/-Converted to numbers (e.g. 1890.00)
    City: 16 spellings (lahore, LAHORE, Lahor, Karrachi)Merged into 5: Lahore, Karachi, Islamabad, Rawalpindi, Faisalabad
    Category: grocery, Grocery, HOUSEHOLDMerged into 3 consistent names
    2 exact duplicate rowsRemoved (counted in the report)
    19 cells with stray spaces, 1 empty columnTrimmed / dropped

    Needs your review

    • Lahor was merged into Lahore and Karrachi into Karachi as probable typos. Check these are right.
    • order_date: 1 unreadable date blanked (31/02/2024).
    • qty: 1 non-numeric value blanked (two).
    • 3 rows carry a qa_flags value and were kept for you to decide on:
      • negative_quantity (1 row)
      • total_mismatch (2 rows: total does not equal qty x price)
      • future_date_order_date (1 row: 2031-08-15)
      • outlier_total_amount (1 row: 999,999)

    Next steps

    1. Review the 3 flagged rows and fix or exclude them.
    2. Confirm the two typo merges.
    3. Run the Retail KPI Pack on the cleaned file for revenue, trends and best-sellers.

    sample_cleaned.csv

    CSV · data export

    Generated

    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

    Turn a messy sales export into an analysis-ready file

    Retail Data Cleaner profiles your CSV or Excel sales file, fixes the problems that break reports, and writes a clear change log so you can trust the result.

    What it fixes

    • Mixed date formats (05/03/2024, 5-3-24, 5 Mar 2024, ISO) are standardised to YYYY-MM-DD. If day/month order is genuinely ambiguous, the skill tells you and asks instead of guessing.
    • Prices stored as text (Rs. 1,200, PKR 1,200, 1200/-, $1,200.50, (300)) become real numbers.
    • Inconsistent names: lahore, LAHORE and Lahor become one spelling. Every typo merge is listed for your review.
    • Stray spaces, empty columns and messy headers are tidied.
    • Exact duplicate rows are removed and counted.
    • Suspicious rows are kept, not deleted, and marked in a qa_flags column: negative quantity, total different from qty x price, future dates, outliers.
    • IDs and phone numbers stay as text so leading zeros survive.

    Safe by design

    • The original file is never modified.
    • Nothing is silently deleted or invented. Missing values stay blank.
    • Everything uncertain is listed under "Needs your review".

    What you get

    A cleaned CSV or XLSX and a cleaning report covering rows in and out, every fix, unreadable values, merged spellings, and flagged rows.

    Requirements

    Python 3.9+ and pip install pandas openpyxl. No API keys, database or BI tool.

    Works great with

    Retail KPI Pack: clean first, then get a full KPI report with charts.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for E-commerce.

    Requires single-header tables without merged cells. Does not perform currency conversion or business-specific tax calculations. Fuzzy merging may group similar product names incorrectly.

    How to use

    1. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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 4 days ago

    Software
    Python

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed4 days ago

    What's inside

    Frequently Asked Questions

    The skill supports standard CSV and Excel (.xlsx) files commonly exported from platforms like Shopify, Amazon, and legacy POS systems. Note that it works best with flat tables and does not currently support files with merged cells or multiple header rows.

    Unlike generic prompts that might hallucinate values, this skill uses deterministic Python logic to process data. It preserves your original file and provides a detailed report of every change, including a 'qa_flags' column to alert you to anomalies like negative prices.

    Yes, the skill uses fuzzy matching to detect variant spellings of categories, cities, or brands. It will group these variants together and prompt you to confirm the standardized name before applying the changes across the entire dataset.

    Upon purchase, you receive the full skill integration for your AI agent, including the specialized Python processing scripts and the automated reporting module. You will also have access to any future version updates and bug fixes released for the skill.

    The skill is designed to run within any AI agent environment that supports Python and the pandas library. It operates locally within your agent's sandbox to ensure your sensitive retail data is processed securely without being sent to external third-party servers.

    New in E-commerce