CSV Cleanup: Normalize Data With a Full Change Log

    by apitoolbox

    1

    Normalize a CSV or TSV with formatting-only changes, a per-cell change log, and flags instead of silent fixes.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    CSV Cleanup: Normalize Data With a Full Change Log

    Example session with this skill installed

    Clean up this CSV data
    date,sku,price
    2025/1/15, SKU001 ,"1,500"
    16-Jan-2025,SKU002,900.50
    2025-01-16,SKU002,900.50

    • Read your context and instructions
    • Compiled the csv cleanup

    I have normalized the provided CSV data. The SKU column was identified as a code/ID column and preserved, while dates were standardized to ISO format based on the unambiguous patterns present.

    Normalized Data

    date,sku,price
    2025-01-15,SKU001,1500
    2025-01-16,SKU002,900.50
    2025-01-16,SKU002,900.50
    

    Change log (4 changes):

    • Row 1 · date (col 1) · 2025/1/15 → 2025-01-15 · DATE-FORMAT
    • Row 1 · sku (col 2) · SKU001 → SKU001 · WHITESPACE
    • Row 1 · price (col 3) · 1,500 → 1500 · NUMBER-FORMAT
    • Row 2 · date (col 1) · 16-Jan-2025 → 2025-01-16 · DATE-FORMAT

    Needs-review list:

    • Duplicate candidate set: Rows 2 and 3 are identical.

    Verdict: CLEAN-WITH-FLAGS (1 flag)

    Next steps

    1. Review the duplicate candidate set (Rows 2 and 3) to determine if one should be removed.
    2. Compare this output against your original file to verify the number-format change in Row 1.
    3. Import the cleaned CSV into your target system.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Paste a CSV or TSV and get it back with consistent formatting wherever formatting is all that is wrong — together with a cell-by-cell account of what moved. This skill changes only formatting it can show, from the data itself, cannot change a value's meaning: surrounding whitespace, full-width digits and letters, unambiguous date formats rewritten to ISO form, and thousands separators in numbers whose separator role the column itself settles. When that cannot be shown — a comma that might be a decimal point, an identifier whose separators may be part of the key, a date column whose month/day order the data cannot settle — it keeps the original value and flags it for your decision instead. It never fills in a missing value, never converts units or currencies, and never deletes or merges duplicate rows — duplicates, mixed units, and columns that mix empty cells with 0 are listed for your decision. When you provide data, every run returns the same three parts: the cleaned data, a change log naming each changed cell with its column position, before, after, and reason, and a needs-review list, followed by exactly one verdict — CLEAN or CLEAN-WITH-FLAGS. Before answering, it re-diffs its own output against your input, so a change that is missing from the log is treated as a defect, not a detail. That check is the skill's own self-verification, not an independent audit — keep your original and compare before importing. Includes a worked example. No external service required.

    Structural parsing failures stop cleanup. No support for unit conversion, row deletion, or external file modification. Ambiguous dates/numbers are flagged, not fixed.

    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.

    Frequently Asked Questions

    This skill standardizes messy CSV or TSV data by fixing inconsistent date formats, trimming whitespace, and converting full-width characters. It focuses on reversible formatting while strictly preserving the original meaning of your data through a rigorous audit process.

    You do not need any special software or external accounts. Simply paste your tabular data or provide a CSV or TSV file directly to your AI agent and ask it to clean or normalize the content.

    The skill generates three distinct components: a cleaned version of your data in its original delimiter, a detailed change log for every cell modified, and a needs-review list for duplicates or ambiguities. It concludes with a final verdict of either CLEAN or CLEAN-WITH-FLAGS.

    Unlike general prompts, this skill follows a strict priority rule where it refuses to change any value unless the data itself proves the meaning will be preserved. It avoids hallucinating missing values, silently deleting rows, or stripping leading zeros that might be part of an ID code.

    The skill cannot perform unit conversions, such as changing grams to kilograms, or fill in missing information like addresses. It also avoids making guesses on ambiguous data, such as dates that could be read in multiple ways without clear evidence in the file.

    You can trigger the skill by asking your agent to standardize the dates in a spreadsheet, fix the formatting in a CSV, or check a table for duplicates. It is designed to activate whenever you provide tabular data and request a normalization or cleanup.

    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.