CSV Data Quality Audit Before Cleaning

    by Malcolm Julian

    1

    Automated CSV data quality auditor for identifying missing values, type conflicts, and coding inconsistencies.

    Free

    Security scanned

    Works with the AI Agents you already use

    CSV Data Quality Audit Before Cleaning

    Example session with this skill installed

    I have a file called customer_leads_v2.csv. Can you check if the data is usable for a marketing campaign analysis? I'm worried about missing emails and inconsistent state names.

    • Read your context and instructions
    • Compiled the csv data quality
    • Generated the data export

    I have completed a read-only audit of customer_leads_v2.csv. I scanned 1,250 rows and 12 columns. The parsing was successful with no truncated data.

    Data Quality Audit Report: customer_leads_v2.csv

    Check ItemAffected Column(s)Count / RateSeverityRecommended Action
    Missing Valuesemail_address142 (11.3%)HighImpute from CRM or drop rows for email campaign
    Type Conflictphone_number12 (0.9%)MediumStandardize to E.164 string format
    Coding Variantsstate_province8 variantsMediumMap 'CA', 'Calif', and 'California' to single code
    Outliers (IQR)estimated_budget5 ( >$500k)LowVerify if these are enterprise accounts
    Duplicate RowsAll3 rowsHighRemove exact duplicates before analysis

    Needs Confirmation

    • state_province: Confirm if 'NY' and 'New York' should be merged.
    • lead_source: Values 'Web', 'web-inbound', and 'social' require semantic mapping.
    • signup_date: Some dates use DD/MM/YYYY while others use MM/DD/YYYY.

    Severity Summary

    • High: 2 issues (Missing emails, Duplicate rows)
    • Medium: 2 issues (Phone formatting, State variants)
    • Low: 1 issue (Budget outliers)

    Note: No data was modified during this audit. The original file remains in its initial state.

    Next steps

    1. Review the state_province variants to define a mapping table.
    2. Decide whether to drop the 142 leads missing email addresses.
    3. Run a cleaning script to resolve the duplicate rows identified.

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

    Stop wasting time on data analysis only to find your results are skewed by garbage inputs. This skill automates the tedious pre-cleaning audit phase, identifying structural flaws, coding inconsistencies, and distribution outliers before you write a single line of analysis code.

    What it does

    • Detects structural errors by identifying ragged rows, type conflicts, and duplicate records.
    • Audits missing values with precise counts and rates per column to determine data density.
    • Flags coding variants in categorical fields, such as detecting 'M', 'male', and 'Male' as potential duplicates.
    • Identifies numeric outliers using IQR and min/max thresholds to catch entry errors or extreme values.
    • Assigns severity levels to every finding, prioritizing critical blockers over minor stylistic issues.

    How it works

    1. Provide a CSV file, a file path, or a representative sample of at least 20 rows with a full schema.
    2. The agent runs a read-only script to collect baseline metrics and per-column health signals.
    3. Findings are mapped against a severity rulebook to determine if issues are High, Medium, or Low risk.
    4. A structured report is generated using a standardized template, including a "Needs Confirmation" list for semantic checks.

    Frameworks & tools

    This skill utilizes a Python-based metrics collector for read-only CSV processing. It relies on internal rule definitions and output templates to ensure consistent reporting across different datasets.

    Why this beats prompting it yourself

    Generic prompts often miss subtle type conflicts or ignore low-cardinality coding variants. This skill follows a rigorous, multi-step verification process that enforces a read-only boundary, ensuring your raw data is never accidentally modified or "hallucinated" into a clean state.

    Use cases

    • Audit raw CSV exports from legacy databases before migration or ingestion.
    • Screen third-party datasets for missing values and outliers before high-stakes reporting.
    • Identify inconsistent categorical labels in survey data before performing aggregations.
    • Validate data types and schema adherence after an ETL pipeline stage.

    Known limitations

    Does not support non-CSV formats like multi-sheet Excel or JSON. Requires at least 20 rows for a valid sample audit. Cannot perform automated data cleaning or imputation.

    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

    Trust & safety

    Security scan

    Security scan passed 17 days ago

    • Free with an Agensi account

    Permissions

    Terminal / Shell
    Read Files
    Listed17 days ago

    What's inside

    Creator

    Malcolm Julian

    Malcolm Julian

    Frequently Asked Questions

    This skill analyzes your CSV files to identify structural flaws, coding inconsistencies (like 'M' vs 'Male'), and numeric outliers, saving you from performing manual pre-cleaning before data analysis.

    The skill requires a standard CSV file, a file path, or a representative sample of at least 20 rows to ensure accurate statistical distribution and schema detection.

    No, this is a read-only auditing tool designed to maintain data integrity; it flags errors and assigns severity levels in a report so you can perform the cleaning yourself safely.

    Upon purchase, you receive the automated auditing agent, a set of internal severity rulebooks, and a standardized reporting template for consistent results across all your datasets.

    This skill is optimized for AI agents with Python execution capabilities, as it utilizes a metrics collector to process data without hallucinating or modifying your original file.

    New in LLM Ops

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.

    Free