# Survey CSV Quality Check Before Analysis

> For questionnaire researchers working with exported CSV data, this skill reviews Likert answers before statistics and returns a read-only quality report covering sentinel codes, out-of-range responses and straight-lining.

Survey CSV Quality Check Before Analysis is a free AI agent skill on Agensi by ke shu, in Research & Analysis. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [ke shu](https://www.agensi.io/creators/ke-shu)
- Category: [Research & Analysis](https://www.agensi.io/skills/research-analysis)
- Version: 1.0
- Last updated: 2026-11-24
- Security: scan passed (2026-11-24); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/survey-csv-quality-check-before-analysis
- Tags: research, csv, data-validation, python, spss

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

## Requires

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

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Survey CSV Quality Check Before Analysis skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill help improve the accuracy of my statistical analysis?

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.

### What file formats and AI agents are compatible with this auditor?

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.

### Will this skill automatically modify or delete rows in my original CSV file?

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.

### What exactly is included in the purchase of the 'survey likert csv auditor'?

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.

### How does this perform differently than just asking a standard LLM to 'check my data'?

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.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
