Cn CSV Quality Auditor

    by egg

    1

    Audit Chinese CSV exports for encoding errors, formatting issues, and PII before modeling.

    Free

    Security scanned

    Works with the AI Agents you already use

    Cn CSV Quality Auditor

    Example session with this skill installed

    Check the quality of this data export at ./data/raw_export_v1.csv. I want to know if I can use it for a regression model.

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

    The CSV audit for ./data/raw_export_v1.csv is complete. The file has significant encoding and formatting issues that will prevent direct modeling.

    CSV Quality Audit Report

    File Profile

    • Name: raw_export_v1.csv
    • Size: 12.4 MB
    • Encoding: GBK (Detected)
    • Rows/Cols: 45,000 / 18
    • Quality Score: 42/100
    • Status: Blocker (Cannot model directly)

    Issue Summary

    • Blocker: 2
    • Major: 3
    • Minor: 5

    Problem List

    IDLevelIssueEvidenceImpactRecommendation
    Q01BlockerEncodingGBK detected; contains mojibakeCannot read file in standard UTF-8 environmentsRe-save as UTF-8 or specify encoding in reader
    Q08BlockerNumeric as TextColumn 'Price' contains '¥' and ','Scikit-learn/Pandas will treat as object/stringStrip symbols and convert to float
    Q05MajorMissing ValuesColumn 'User_ID' has 15% '暂无'High sparsity in key join fieldInvestigate source or drop rows
    Q12MajorPII DetectionColumn 'Phone' detectedPrivacy riskMask or drop before modeling

    Field Detail (Sample)

    FieldTypeMissingRateUniqueFull-widthNotes
    DateObject00%420NoMixed YYYY-MM-DD and YYYY/MM/DD
    PriceObject1200.2%1500YesContains currency symbols
    StatusString450010%3No-

    Suggested Processing Order

    1. Convert file encoding to UTF-8.
    2. Clean numeric columns (Price) by removing non-numeric characters.
    3. Standardize date formats to ISO-8601.
    4. Handle Chinese placeholders ('暂无') as NaN.

    Audit Boundaries
    Original file was not modified. Review completed at 2024-05-20 14:30. PII columns were flagged by structure; manual verification required.

    Next steps

    • Review the Price column formatting to decide on a regex for cleaning.
    • Decide if 'User_ID' records with placeholders can be recovered from the source.
    • Confirm if the PII columns are necessary for your features.

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

    Dirty data ruins models. When you receive a Chinese exported CSV from Excel or WPS, you often face encoding errors, ragged rows, or hidden placeholders that break pandas pipelines. This skill audits the file to identify exactly what is broken before you write a single line of cleaning code.

    What it does

    • Encoding Detection identifies UTF-8 BOM, GBK families, or corrupted characters that cause UnicodeDecodeErrors.
    • Structural Validation checks for header reliability, misaligned columns (ragged rows), and constant columns.
    • Data Quality Scanning finds missing values, Chinese placeholders (e.g., "暂无"), duplicate rows, and full-width character issues.
    • Type Auditing flags numbers stored as text (with units or thousands separators) and mixed date formats.
    • PII Detection identifies columns containing potential personal information like phone numbers or IDs.

    How it works

    1. Input Confirmation verifies the file path, name, and size to ensure the correct version is being audited.
    2. Read-Only Scan executes a Python audit script to generate a structured report and JSON metadata without touching the source file.
    3. Rule Validation cross-references findings against a predefined rule set to confirm headers and missing value thresholds.
    4. Report Generation produces a six-section document including a quality score, issue categorization, and a field-level breakdown.

    Frameworks & tools

    This skill utilizes a Python-based scanner audit_csv.py and relies on a structured rule set and Markdown templates to ensure consistent reporting.

    Why this beats prompting it yourself

    Standard prompts often miss Chinese-specific data issues like full-width characters or specific "empty" placeholders. This skill follows a rigorous, non-destructive workflow that provides reproducible quality scores and evidence-based reports instead of vague descriptions.

    Use cases

    • Audit a fresh CSV export to decide if it is ready for machine learning modeling.
    • Troubleshoot encoding issues when pandas.read_csv() fails with decoding errors.
    • Generate a formal data quality description for academic papers or business reports.
    • Standardize the intake process for external datasets from Chinese business software.

    Known limitations

    Does not support .xlsx files directly. Files over 200MB or 200,000 rows require sampling. Cannot validate business logic or fill missing 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 3 days ago

    • Free with an Agensi account

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed3 days ago

    What's inside

    Creator

    E

    egg

    Frequently Asked Questions

    This skill performs a non destructive audit of Chinese CSV files to detect encoding errors like GBK or UTF8 BOM issues, structural flaws like ragged rows, and data quality problems such as Chinese placeholders and full-width characters. It identifies hidden issues that typically break pandas pipelines before you start modeling.

    You only need to provide the local file path to your CSV file. While not required, the skill performs better if you also specify which columns are primary keys or define your specific criteria for what counts as a missing value.

    The skill generates a structured six section report in Markdown and metadata in JSON format. This includes a quality score from 0 to 100, a categorized issue checklist with evidence, and a field level breakdown showing missing rates and potential PII.

    You can simply ask your agent to check if a specific CSV file is clean enough for modeling or ask it to audit a file that is currently causing encoding errors. If you have multiple files, ask the agent to audit them one by one.

    This skill is read only and will not fill missing values, delete rows, or modify your original data. It does not support xlsx files directly and requires sampling for files larger than 200MB or 200,000 rows.

    It uses a specialized Python scanner and a predefined rule set to catch nuances standard prompts miss, such as specific Chinese empty placeholders like "暂无" and full width character inconsistencies. This ensures a reproducible quality score rather than a vague description.

    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