# Survey Data Dictionary

> Automates survey CSV profiling to generate professional data dictionaries and field appendices for research reports.

Survey Data Dictionary is a free AI agent skill on Agensi by Lakuy, in Research & Analysis. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Lakuy](https://www.agensi.io/creators/lakuy)
- Category: [Research & Analysis](https://www.agensi.io/skills/research-analysis)
- Version: 1.0
- Last updated: 2026-12-01
- Security: scan passed (2026-12-01); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/survey-data-dictionary
- Tags: documentation, research, csv, data-analysis, python

## About this skill

Survey exports from platforms like Wenjuanxing or Tencent Survey often arrive with messy headers and unclear variable types. Manually profiling these for a research appendix or data dictionary is slow and prone to error. This skill automates the profiling of survey CSV files to generate a structured data dictionary without altering your original data.

### What it does
- **Field profiling** identifies data types including integers, decimals, dates, categories, and multi-choice strings.
- **Statistical analysis** calculates missing rates and unique value counts for every column.
- **Privacy-safe sampling** provides masked example values for sensitive fields like phone numbers or IDs.
- **Anomaly detection** flags duplicate rows, constant columns, and synonymous category labels for human review.
- **Appendix generation** formats results into a structured five-part Markdown document ready for research reports.

### How it works
1. Point the skill to your survey CSV file path and specify any known scale ranges or delimiters.
2. The skill runs a read-only scan to infer field types and calculate distributions across the first 50,000 rows.
3. It applies a set of inference rules to detect edge cases like synonymous labels or truncated text.
4. It generates a "to-confirm" list of ambiguous fields that require your domain expertise to define.
5. You receive a final Markdown dictionary including a summary, data table, and list of required actions.

### Frameworks & tools
This skill utilizes a Python-based scanner (`build_dict.py`) to process CSV files and adheres to predefined data dictionary templates and inference rules.

### Why this beats prompting it yourself
Generic prompts often fail to distinguish between different survey data types like multi-select strings and simple categories. This skill uses a systematic workflow that enforces data masking and produces a "to-confirm" list, ensuring you remain in control of the business logic rather than letting an AI guess your variable meanings.

### Use cases
- Generating variable description tables for academic thesis appendices.
- Aligning field definitions between pre-test and post-test survey datasets.
- Profiling raw survey exports to identify columns that need cleaning or splitting.
- Creating a unified field reference for collaborative data analysis teams.

### Known limitations
Does not perform data cleaning, row deduplication, or statistical testing. Limited to the first 50,000 rows of a file. Requires user-provided ranges to identify out-of-bounds values.

## 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 Data Dictionary 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 me document my survey data?

This skill automates the profiling of messy survey CSV exports to generate a structured data dictionary. It identifies field types, calculates missing rates, detects anomalies like synonymous labels, and prepares a professional appendix ready for research reports.

### What do I need to provide for the skill to work?

You only need to provide the local path to your survey CSV file. For better results, you can also include details like question text, expected scale ranges, and multi-select delimiters to help the skill refine its analysis.

### What specific output will I get after the analysis?

You receive a structured Markdown document containing five sections: a file overview, a detailed data dictionary table, a list of fields requiring manual confirmation, identified data issues, and a final summary. The dictionary table includes inferred types, ranges, missing rates, and masked example values.

### Are there any limitations on the type of data processing it performs?

This skill is strictly read-only and does not perform data cleaning, row deduplication, or statistical testing. It is limited to processing the first 50,000 rows of a file and will not make executive decisions on business logic or the validity of responses.

### How does the skill handle sensitive information like phone numbers or IDs?

The skill applies privacy-safe sampling by masking sensitive information. For example, it only shows the first three and last two digits of phone numbers and truncates long text entries to ensure privacy while still providing useful examples.

### How do I tell my agent to start profiling my survey?

Simply tell your agent you have a survey CSV file and provide the file path. You can add specific instructions such as checking for a 1 to 5 scale or identifying multi-choice fields based on your specific delimiters.

---

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.
