Survey CSV Quality Check Before Analysis

    by ke shu

    1

    Raw survey exports often contain hidden data quality issues that break SPSS, R, or Python analysis pipelines.

    Free

    Security scanned

    Works with the AI Agents you already use

    Survey CSV Quality Check Before Analysis

    Example session with this skill installed

    Audit survey_data.csv. It is a 1-5 Likert scale for columns q1 through q10. Participant ID is in the 'uid' column. Use default sentinel codes.

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

    I have completed the quality audit for survey_data.csv. The analysis was performed in read-only mode, and no data has been modified.

    Survey Data Audit Report

    Audit Status: OK
    File Summary: 450 rows, 12 columns detected.
    Items: q1, q2, q3, q4, q5, q6, q7, q8, q9, q10
    Scale: 1-5
    Sentinels: 9, 99, 999, -1

    Issue Checklist

    LevelTypeColumnCountDescriptionSample Rows
    CRITICALOut-of-Rangeq43Found values (6, 7) exceeding scale 1-5102, 215
    CRITICALDuplicate IDuid2ID 'A992' appears twice45, 46
    WARNINGSentinel Codeq1, q712Value '99' detected (Potential missing data)12, 88, 150
    WARNINGStraight-liningALL5Constant values across all 10 items301, 305
    WARNINGFull-widthq31Full-width digit '5' detected192

    Per-Item Statistics

    ItemValidNullSentinelOut-of-RangeFull-width
    q14422600
    q24500000
    q34490001
    q44470030

    Next steps

    1. Inspect rows 102 and 215 to determine if out-of-range values were entry errors.
    2. Confirm if sentinel code '99' should be converted to System Missing (NaN) before SPSS import.
    3. Review straight-lined responses in rows 301-305 for potential exclusion.

    survey_data.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 survey exports often contain hidden data quality issues that break SPSS, R, or Python analysis pipelines. This skill performs a pre-analysis audit on Likert-scale CSV files to catch placeholder codes, range violations, and response patterns that standard data loaders miss.

    What it does

    • Detects placeholder codes such as 9, 99, or -1 that might be incorrectly treated as valid numerical data.
    • Validates scale ranges by identifying responses that fall outside your defined 1-5 or 0-7 Likert boundaries.
    • Identifies straight-lining where respondents provide identical values across all items, suggesting low-effort input.
    • Flags encoding issues specifically full-width digits and non-numeric text in expected quantitative columns.
    • Audits duplicates by checking for both identical row content and recurring participant IDs.

    How it works

    1. Supply your dataset and specify the Likert scale range (e.g., 1-5) and the item columns to be audited.
    2. The skill runs a read-only Python audit using standard libraries to scan for structural and semantic anomalies.
    3. It cross-references findings against a built-in rulebook for missing thresholds and sentinel code logic.
    4. You receive a structured Markdown report detailing errors, warnings, and item-by-item statistics without modifying your original file.

    Frameworks & tools

    Python 3.8+ (standard library), CSV/TSV formats, UTF-8 encoding.

    Why this beats prompting it yourself

    Generic LLMs often struggle with large CSV files or hallucinate data summaries. This skill uses a deterministic Python script to ensure 100% accuracy in counts and row references while using the LLM to interpret the findings and suggest human-in-the-loop corrections.

    Use cases

    • Pre-SPSS cleanup to ensure sentinel codes are handled before importing data.
    • Academic research validation to catch low-quality "straight-lined" survey responses.
    • Data pipeline debugging to find why a CSV is failing numerical type casting.

    Known limitations

    Does not perform statistical modeling or text coding for open-ended questions. Only processes CSV/TSV files up to 20MB and requires explicit scale ranges to function.

    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

    Read-only audit: no data is deleted, recoded or overwritten. Confirms scale range and sentinel coding with the researcher before drawing conclusions.

    Permissions

    Read Files
    Write Files
    Listed10 days ago

    What's inside

    Creator

    ke shu

    ke shu

    Frequently Asked Questions

    The skill identifies 'sentinel codes' (like 99 or -1) and 'straight-lining' (identical responses across all items) that often lead to skewed means and standard deviations in statistical software.

    This skill is designed to work with any AI agent capable of running Python-based tools and handles standard CSV and TSV files up to 20MB.

    No, the audit is strictly read-only; it generates a detailed Markdown report of errors and warnings so you can decide how to clean your source data manually or via script.

    Your purchase includes the core auditing logic, the interpretation layer for the report, and access to all minor version updates and bug fixes for the life of the product.

    Simply provide your CSV and define your scale (e.g., 1 to 7); the skill uses a deterministic script to ensure 100% mathematical accuracy, avoiding the common hallucination issues found in standard LLM prompts.

    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