Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    CleanCSV — Formula Injection & Encoding Preflight

    by Conver Man

    1

    Audit CSV/TSV files for Excel formula injection (=,+,-,@), fix delimiter/BOM issues, and flag ragged rows locally.

    Free

    Security scanned
    CleanCSV — Formula Injection & Encoding Preflight

    CleanCSV — Formula Injection & Encoding Preflight

    Example session with this skill installed

    Audit vendor-export.csv (semicolon-delimited) for spreadsheet formula injection triggers, preserve negative numbers, flag ragged rows, and save a UTF-8 BOM CSV.

    • Read your context and instructions
    • Compiled the cleancsv

    CleanCSV Preflight Audit Summary

    • Detected Delimiter: ; -> UTF-8 BOM , CSV
    • Formula-Injection Triggers Neutralized: 2 ('=cmd|calc, '+1+1)
    SKU,Title,Balance,Notes
    A-101,USB-C Hub,-42.50,'=cmd|calc
    A-102,HDMI Cable,19.99,'+1+1
    

    Next steps

    • Need HTML table extraction? Try CleanTable — HTML Table, Grid & List Extractor ($5).

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

    About this skill

    Dirty CSV files break importers and compromise security through formula injection. This skill provides a deterministic audit and sanitization workflow to prepare data for Excel, Google Sheets, or CRM platforms. It eliminates encoding issues and structural inconsistencies that cause silent data corruption during ingestion.

    What it does

    • Formula injection defense: Detects and neutralizes dangerous leading characters like =, +, @, and \t while preserving numeric data.
    • Encoding normalization: Converts files to UTF-8 with BOM to ensure compatibility across Windows and macOS spreadsheet applications.
    • Delimiter detection: Automatically sniffs and standardizes comma, semicolon, tab, or pipe delimiters.
    • Structural validation: Identifies ragged rows, column count mismatches, empty columns, and duplicate headers.
    • Sanitized output: Generates a cleaned CSV file alongside a detailed markdown preflight report.

    How it works

    1. Analyze input: Run the provided Python script against a raw CSV or TSV file to detect structural and security flaws.
    2. Review report: Examine the generated preflight markdown to see specific counts of neutralized formulas and row mismatches.
    3. Verify JSON: Check the optional JSON summary for automated integration or programmatic validation checks.
    4. Deploy clean data: Use the sanitized UTF-8 output for secure import into downstream applications or LLM contexts.

    Why this beats prompting it yourself

    Standard LLM prompts often fail at high-volume data cleaning, either hallucinating cell values or missing subtle injection triggers like tab characters. This skill uses deterministic Python logic to ensure 100% data integrity without the token limits or non-deterministic risks of raw prompting.

    Use cases

    • Secure CRM imports: Clean lead lists before uploading to Salesforce or HubSpot to prevent spreadsheet exploits.
    • Data preprocessing: Prepare messy CSV exports for RAG pipelines or vector database ingestion.
    • Cross-platform sharing: Fix encoding bugs when moving data between Windows Excel and macOS Numbers.
    • Audit reports: Generate compliance-ready preflight summaries for data migration tasks.

    Known limitations

    The script requires a Python 3 environment. It focuses on structural and injection audits rather than semantic data cleaning or deduplication.

    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.

    Requires Python 3. Does not perform semantic data cleaning, deduplication, or complex data transformation beyond sanitization and normalization.

    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 today

    • Free with an Agensi account

    Software
    Python

    CleanCSV deterministically audits and sanitizes messy CSV or TSV files before opening in Excel, Google Sheets, CRM importers, or LLM workflows. - Formula injection neutralization (=, +, -, @, tab, CR) preserving negative numbers - Auto delimiter detection (, ; \t |) and UTF-8 BOM CSV output - Ragge

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listedtoday

    What's inside

    Frequently Asked Questions

    Audit CSV/TSV files for Excel formula injection (=,+,-,@), fix delimiter/BOM issues, and flag ragged rows locally.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use CleanCSV — Formula Injection & Encoding Preflight on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    New in Data & Databases

    Free