Lightweight CSV Data Quality Auditor

    by jd_liu

    1

    Audits CSV files for missing data, duplicates, and type errors to produce a structured quality checklist.

    Free

    Security scanned

    Works with the AI Agents you already use

    Lightweight CSV Data Quality Auditor

    Example session with this skill installed

    Run a data quality audit on the user_registrations.csv file in the current directory. The first row contains headers.

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

    I have completed the data quality audit for user_registrations.csv. The file remains unmodified.

    CSV Data Quality Report: user_registrations.csv

    MetricValue
    File Nameuser_registrations.csv
    Shape10,250 Rows x 8 Columns
    Overall GradeC
    Issue Summary1 FAIL, 2 WARN, 5 PASS

    Top 3 Issues

    1. FAIL: Missing Values in email - 450 rows (4.4%) are empty or contain whitespace.
    2. WARN: Suspicious Encodings in age - 112 rows contain -999. Verify if these represent "Unknown".
    3. WARN: Mixed Types in zip_code - Detected both Integer and String formats (e.g., 90210 vs "90210-1234").

    Full Quality Checklist

    CheckStatusEvidenceSuggested Next Step
    Missing ValuesFAILemail: 4.4% nullPopulate missing emails or drop rows.
    Duplicate RowsPASS0 exact duplicatesNo action needed.
    Suspicious EncodingsWARNage: 112 instances of -999Confirm if -999 is a null-replacement.
    Type ConsistencyWARNzip_code: Mixed typesCast column to String.
    Identifier UniquenessPASSuser_id is 100% uniqueNo action needed.
    Constant ColumnsPASSNo constant columns foundNo action needed.
    Header AnomaliesPASSHeaders are cleanNo action needed.

    NEEDS CONFIRMATION

    • Column age: 112 rows contain the value -999. Is this a valid numerical entry or a placeholder for missing data?
    • Column signup_source: Contains 5 strings of ?. Please verify if these should be treated as nulls.

    Next steps

    1. Review the -999 values in the age column to determine the correct null-handling strategy.
    2. Standardize the zip_code column to a single string format before database import.
    3. Investigate the source of the 450 missing email addresses.

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

    Raw CSV files often hide data quality issues that break downstream pipelines in R, Python, or BI tools. This skill identifies missing values, duplicates, and type inconsistencies before you start your analysis.

    What it does

    • Analyze missing values by calculating counts and ratios for every column.
    • Identify duplicates by detecting exact row matches across the dataset.
    • Check type consistency by flagging mixed data types within a single column.
    • Scan for placeholders like -999, "N/A", or "null" that mimic real data.
    • Verify column integrity through uniqueness checks on identifiers and detection of constant columns.
    • Inspect headers for whitespace or encoding anomalies that cause parsing errors.

    How it works

    1. Provide the path to a CSV or TSV file and confirm if the first row is a header.
    2. The skill executes a read-only script to compute metrics without modifying your data.
    3. Findings are classified into PASS, WARN, or FAIL based on defined quality thresholds.
    4. A structured markdown report is generated using a standardized template.

    Frameworks & tools

    This skill utilizes Python for data processing and relies on a local script for all metric computations.

    Why this beats prompting it yourself

    Generic prompts often miss hidden encodings like "-999" or fail to calculate accurate ratios for large files. This skill uses a specialized script and rule set to ensure consistent, repeatable audits that won't overlook subtle formatting issues.

    Use cases

    • Perform a pre-import sanity check before loading data into a data warehouse.
    • Audit third-party vendor data for missing fields or malformed headers.
    • Identify duplicate entries in a customer mailing list.
    • Validate data types before running a machine learning training pipeline.

    Known limitations

    Limited to CSV and TSV formats only. It is strictly read-only and cannot fix, clean, or modify the source file. It does not perform statistical modeling or outlier removal.

    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 10 days ago

    • Free with an Agensi account

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed10 days ago

    What's inside

    Creator

    J

    jd_liu

    Frequently Asked Questions

    The auditor generates a structured markdown report that classifies findings as PASS, WARN, or FAIL, specifically highlighting missing value ratios, duplicate rows, and inconsistent data types.

    No, this skill operates in a strictly read-only mode to preserve the integrity of your source files. It is designed to identify and flag issues so you can address them in your preferred cleaning tool or pipeline.

    This skill is optimized for standard CSV and TSV formats; it does not support Excel (.xlsx), JSON, or SQL databases. It focuses on identifying structural and type-level errors rather than performing complex statistical outlier detection.

    Unlike general prompts that may hallucinate or miss subtle patterns, this skill uses a specialized Python-based script and rule set to ensure precise, repeatable calculations for large datasets.

    The skill is designed to catch common 'stealth' placeholders like -999, 'N/A', 'null', or whitespace-only strings that often bypass basic validation checks and break downstream analysis.

    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