CSV Excel Auditor

    by DataPilot Skills

    1

    Audit and clean CSV/Excel files with structured quality checks, format drift detection, and readiness scoring.

    Free

    Security scanned

    Works with the AI Agents you already use

    CSV Excel Auditor

    Example session with this skill installed

    Audit this sales_export.csv file. Check for duplicates, date format issues, and give me a readiness score.

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

    I have completed a structured audit of sales_export.csv. The file contains 1,250 rows across 8 columns. I detected significant date format drift and three critical formula errors in the tax calculation column.

    Data Quality Audit: sales_export.csv

    Issue CategoryAffected ColumnCountSeverityRecommended Fix
    Duplicate RecordsTransaction_ID12CriticalRemove exact row duplicates; 4 IDs have trailing spaces.
    Type & Format DriftOrder_Date89WarningStandardize DD/MM/YYYY to ISO 8601.
    Formula ErrorsTax_Amount3CriticalFix #VALUE! errors caused by text strings in numeric fields.
    OutliersUnit_Price2InfoFlagged negative values (-$15.00) in rows 402 and 511.
    Missing ValuesDiscount_Code412Info33% nulls; expected for non-promo sales.

    Data Readiness Score: 65/100
    Deductions: -15 (Formula errors), -10 (Duplicate keys), -10 (Date format drift).

    Clean Transformation Script (Python/Pandas)

    import pandas as pd
    
    def clean_sales_data(df):
        # 1. Strip whitespace from IDs
        df['Transaction_ID'] = df['Transaction_ID'].astype(str).str.strip()
        
        # 2. Drop exact duplicates
        df = df.drop_duplicates()
        
        # 3. Standardize dates (handles mixed formats)
        df['Order_Date'] = pd.to_datetime(df['Order_Date'], dayfirst=True, errors='coerce')
        
        # 4. Coerce numeric errors
        df['Tax_Amount'] = pd.to_numeric(df['Tax_Amount'], errors='coerce').fillna(0)
        
        return df
    
    # Usage: cleaned_df = clean_sales_data(pd.read_csv('sales_export.csv'))
    

    Next steps

    1. Review the negative Unit_Price entries to determine if these are returns or data entry errors.
    2. Confirm if I should execute the Python script to generate a sales_export_cleaned.csv file.
    3. Verify the Transaction_ID duplicates; 4 rows share identical IDs but have different timestamps.

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

    Messy spreadsheets lead to broken dashboards and incorrect financial reports. This skill audits CSV and Excel files to identify structural flaws, data type drift, and statistical outliers before you start your analysis.

    What it does

    • Structural inspection identifies sheet names, row counts, and header offsets while flagging merged cells.
    • Quality checking detects missing values, exact duplicates, and near-duplicate primary keys.
    • Format drift detection catches mixed date formats, text-formatted numbers, and inconsistent currencies.
    • Formula auditing flags Excel errors like #REF! or #DIV/0! and identifies hardcoded overrides in formula columns.
    • Outlier flagging highlights impossible values like negative prices or invalid future dates.
    • Readiness scoring calculates a 0 to 100 score based on data integrity deductions.

    How it works

    1. Analyze structure to map the layout and data types of the uploaded workbook.
    2. Execute checks across the six mandatory quality categories including referential sanity.
    3. Calculate score by applying specific weight deductions for errors and duplicates.
    4. Generate fix by providing a cleaned file, transformation script, or specific Excel formulas.

    Frameworks & tools

    Works with CSV, TSV, and Excel (.xlsx) files. Generates cleaning logic in Python/pandas or native Excel formulas.

    Why this beats prompting it yourself

    Generic prompts often miss subtle data drift like mixed MM/DD vs DD/MM date formats or hardcoded values hiding in formula strings. This skill follows a rigid six-point audit framework with a standardized scoring system to ensure no edge case is overlooked.

    Use cases

    • Audit monthly financial exports for duplicate transactions and formula errors.
    • Clean CRM exports by identifying near-duplicate names and missing contact fields.
    • Prepare raw sensor data by flagging statistical outliers and timestamp inconsistencies.
    • Verify subtotal sanity in complex workbooks to prevent double-counting in BI tools.

    Known limitations

    Does not support imputing missing financial data from general knowledge. Requires explicit user confirmation before dropping rows or modifying original values.

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

    • Free with an Agensi account

    Permissions

    No special permissions declared or detected

    Listed9 days ago

    What's inside

    Frequently Asked Questions

    The skill accepts CSV, TSV, and Excel (.xlsx) files. It is highly effective at identifying issues across multi-sheet workbooks, including hidden sheet structures and merged cell conflicts that often break standard data imports.

    Unlike a basic prompt, this skill uses a specialized six-point audit framework to catch 'silent' errors, such as hardcoded numbers inside formula columns or mixed date formats (MM/DD vs DD/MM) that standard AI models often overlook.

    The skill provides a comprehensive readiness score (0-100), a detailed audit report of all structural flaws, and the specific Python/pandas scripts or Excel formulas needed to fix the identified issues.

    No, the skill follows a 'safety-first' protocol. It identifies and flags issues but requires your explicit confirmation before generating a cleaned file or dropping any rows to ensure no critical financial or CRM data is lost.

    This skill is compatible with any AI agent or platform that supports file uploads and code execution environments. Once integrated, you can trigger the audit by simply uploading your file to your preferred agent.

    The audit focuses on internal consistency and structural integrity; it cannot 'hallucinate' or fill in missing external data, such as missing bank transaction details, that aren't already present or implied within the file.

    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.

    Free