More screenshots

    Works with the AI Agents you already use

    Fix Your Messy Sales Data Free: Health Score & Clean CSV

    by Vincent

    1

    Your AI agent checks a messy CSV, scores its health from 0 to 100, fixes only what you approve, and tells you what the data is ready for.

    Free

    Security scanned
    Fix Your Messy Sales Data Free: Health Score & Clean CSV

    Fix Your Messy Sales Data Free: Health Score & Clean CSV

    Example session with this skill installed

    Here's our online shop export, ecommerce_orders_messy.csv. Before I do anything with it, can you check how clean it is and fix what's safe to fix?

    • Read your context and instructions
    • Compiled the fix your messy
    • Generated the data export

    Step 1: health check (before changing anything)

    I checked ecommerce_orders_messy.csv (1,464 rows × 10 columns, comma-delimited, UTF-8). It looks like orders data.

    Health Score: 49/100 (Poor)

    AreaScore
    Completeness19.7 / 25
    Uniqueness7.7 / 20
    Validity10.7 / 25
    Consistency0 / 15
    Plausibility10.8 / 15

    Here's how I read your columns. Please confirm or correct:

    RoleColumnConfidence
    DateOrder Datehigh
    AmountAmounthigh
    QuantityQtyhigh
    ProductProductmedium
    CategoryCategoryhigh
    Customer IDCustomer IDhigh
    RegionCitymedium
    Order IDOrder IDmedium

    The biggest problems

    40 exact duplicate rows (2.7%, they inflate your totals),

    1,106 amounts stored as text ("KSh780.00", "Ksh 2,340/="), and

    dates written in 4 formats ("2025-05-02", "01/05/2025", "12-May-2025", "May 3, 2025").

    Safe fixes (formatting only, nothing guessed):

    1. Remove 8 blank rows
    2. Remove 1 empty column (Coupon Code)
    3. Make 3 placeholder values ("N/A") properly blank
    4. Trim extra spaces in 81 cells
    5. Remove 40 exact duplicate rows (the first copy of each is kept)
    6. Convert "Amount" to plain numbers ("KSh780.00" → 780)
    7. Write all dates as YYYY-MM-DD, reading 01/05/2025 as day/month/year
    8. Merge capitalisation variants in "City" ("NAIROBI", "nairobi" → "Nairobi")

    Your call (I won't change these unless you say so):

    • 16 negative amounts: all 16 match an earlier sale to the same customer, so they look like refunds. Suggested: keep.
    • "NBI" → "Nairobi" and "MSA" → "Mombasa"? Suggested: merge.
    • 6 near-duplicate rows, 2 impossible dates (31/02/2026, 2025-13-05), 2 dates after today, 1 unusually large amount (980,000), 16 rows with no customer ID, and a few others.

    User: "Mapping is right. Apply all the safe fixes. I'll look at the rest later."

    Step 2: cleaned

    BeforeAfter
    Health Score49 (Poor)80 (Good)
    Rows1,4641,416 (48 removed)
    Columns109

    What changed: 8 blank rows and 40 exact duplicates removed, 1,106 amounts converted to numbers, 740 dates standardised, 92 city spellings merged, 81 cells trimmed, 3 placeholders blanked and the empty Coupon Code column removed. Your original file is unchanged.

    Left for you (nothing changed): the refunds, the NBI/MSA merge, the near-duplicates, the impossible and future dates, the large amount and the rows with no customer ID. Each one is listed in the report with its options.

    Files

    • ecommerce_orders_messy_cleaned.csv (same column names, ready for the next step)
    • cleaning_log.csv (one row per change: rule, column, rows affected, before, after)
    • health_report.html (one page, works offline, prints on A4)

    Analysis readiness

    • ✓

    Data Snapshot Dashboard: ready. You can turn it into a one-page view of totals, trends, top items and breakdowns.

    • ✓

    RFM Customer Segmentation: ready. You can see which customers are your champions and which are at risk (242 customers and 1,347 orders from 2025-05-01 to 2026-10-31).

    • ✓

    Churn Risk Finder: ready. 87% of your 242 customers have ordered more than once across 18.0 months of history, enough to spot who is drifting away.

    Note: Amount is in KSh. The cleaned file stores plain numbers, so tell other tools the currency.

    ecommerce_orders_messy.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

    Most business data is messier than it looks. Duplicate orders inflate your revenue. Amounts typed as "KSh 1,200" don't add up. Dates come in four formats, "Nairobi" appears as "nairobi", "NAIROBI" and "NBI", and refunds sit in the file as negative numbers nobody flagged. Any analysis built on that data starts out wrong.

    Data Health Check gives your AI agent one job: diagnose and clean. Hand it a CSV of sales, orders, inventory or customers and it will:

    1. Find the problems. Missing values, blank rows, empty columns, exact and near-duplicate rows, repeated order IDs, numbers stored as text, mixed, impossible (31/02) or future dates, negative and zero amounts, unusual values, inconsistent labels and stray spaces.
    2. Score your data from 0 to 100 across five areas: completeness, uniqueness, validity, consistency and plausibility. The formula is published in the report, so you can see exactly why you got the score.
    3. Propose numbered fixes in plain English, such as "Remove 40 exact duplicate rows" or "Convert 'Amount' to plain numbers (e.g. 'KSh 1,200' → 1200)". Safe formatting fixes can be approved in one go.
    4. Leave judgement calls to you. Outliers, refunds, look-alike names and questionable dates are flagged with your options and a suggestion. Nothing is deleted or changed without your say.
    5. Deliver three files: a cleaned CSV with your original column names, a cleaning log with one row per change, and a one-page health report.
    6. Tell you what your data is ready for. You get a Ready / Not ready verdict for a snapshot dashboard, RFM customer segmentation and churn analysis. If something is missing, it names it, for example "it needs a customer ID column, and this file doesn't have one".

    What you get

    • Before → after Health Score with a breakdown by area
    • Issues by severity (critical / warning / minor), each showing whether it was fixed, kept by your choice or left for you
    • Cleaned CSV, ready to feed into the other VOTIEN skills
    • cleaning_log.csv: rule, column, rows affected, before and after for every change, plus a full list of every changed cell with its line in your original file
    • health_report.html: one page that works offline, prints on A4 and can be emailed
    • Your original file, untouched. Every run checks that the file is still byte-for-byte the same.

    Built to be trusted

    • All detection and cleaning runs in bundled Python scripts, not in the AI's head, so the same file gives the same result every time.
    • Every number in the report comes from the scripts.
    • Missing values are never filled in by guessing.
    • Refunds are recognised. A negative amount that matches an earlier sale to the same customer is labelled as a likely refund, not an error.
    • Removing identical rows from files without order or customer IDs is left to you, because they may be separate real sales.

    Handles real-world files

    • Comma, semicolon, tab or pipe delimited
    • UTF-8, UTF-8 with BOM, Windows/Latin-1 encodings
    • Currency text such as KSh 1,200, Ksh 2,340/=, $45.00, 12,50 EUR and decimal commas
    • Mixed date formats, with day/month order worked out from the data
    • About 100,000 rows in seconds

    Try it on the included examples

    Example fileHealth Score (safe fixes only)
    Messy e-commerce orders: duplicates, KSh amounts, 4 date formats, refunds, inconsistent cities49 → 80, ready for RFM and churn
    Retail sales with no customer ID: semicolons, Latin-1, decimal commas69 → 84, not ready for RFM/churn, with the reason
    Fairly clean inventory list97 → 99

    Requirements

    • An AI agent that supports SKILL.md skills
    • Python 3.9+ with pandas 2.2+ (pip install pandas). No other packages. The scripts need no internet; your AI agent uses its usual connection to its AI model.

    What it doesn't do

    It doesn't build dashboards, segment customers, predict churn, forecast sales or comment on how your business is doing. Those are separate VOTIEN skills. This one makes sure the data underneath them is right.

    Part of the VOTIEN analytics suite

    • Fix Your Messy Sales Data Free (this skill): diagnose and clean a messy CSV. Free.
    • See How Your Business Is Really Doing: a one-page dashboard from any business CSV. Free.
    • Stop Losing Customers: every customer in a named segment, plus who is slipping away and who to win back first
    • Know Who Buys, Who's Leaving & What Next Month Brings: everything above plus a sales forecast with an honest range, in one run

    Run this skill first, then feed the cleaned file straight into the others.

    Privacy

    Your file is processed on your own computer by the bundled Python scripts, which make no network connections, and the reports and lists are saved to your disk. Your AI agent's model sees what the scripts print (column names, totals, summaries and data-quality notes, with names, emails, phone numbers and customer IDs masked). The skill tells the agent to work from that output, not to open your data files and never to quote personal details. Your agent's own data settings apply to that conversation.

    Requires Python 3.9+ and pandas 2.2+. CSV files only: export Excel sheets to CSV first. Tested on files up to about 100,000 rows. It diagnoses and cleans data; it doesn't build dashboards or give business insights, and it never fills in missing values by guessing.

    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

    Free to use

    No account required to browse

    Frequently Asked Questions

    An AI editing your data directly can drop rows or change values without telling you, and it gives different results each time. Here, every check and fix runs in bundled Python scripts, so the same file always gives the same result. Nothing changes until you approve it, every change is logged, and your original file is never touched.

    No. It lists numbered fixes and only applies the ones you approve. Judgement calls such as refunds, outliers, merging look-alike names and questionable dates are always left to you, with options and a suggestion.

    It's out of 100, split into completeness (25), uniqueness (20), validity (25), consistency (15) and plausibility (15). Each issue takes points off its area, based on its severity (critical 20, warning 8, minor 2) and the share of rows it affects. The full formula is printed in every report.

    Any CSV with a header row: comma, semicolon, tab or pipe delimited, in UTF-8, UTF-8 with BOM or Windows/Latin-1 encoding. It has been tested on about 100,000 rows, with each step taking a few seconds.

    Any agent that runs SKILL.md skills and can execute Python, including Claude Code, Codex CLI, Cursor and Gemini CLI. You need Python 3.9+ with pandas 2.2+ installed.

    Your full file stays on your computer: the bundled scripts process it there and make no network connections. Your AI agent does send its conversation to its AI model, and that includes what the scripts print: totals, summaries and data-quality notes, with names, emails, phone numbers and customer IDs masked. The skill tells the agent not to open your data files or quote personal details, and your agent's own data settings apply.

    New in Research & Analysis

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Research & Analysis.

    Free