Stata Data Cleaning
CheckedAutomates repetitive Stata data cleaning tasks like handling missing values, outliers, and variable transformations for efficient analysis.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
- 1
Run this in your project
terminal$ npx skills add meleantonio/awesome-econ-ai-stuff --skill stata-data-cleaning -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
meleantonio
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
This skill passed all 6 checks. We read its files at one commit and looked for the things that make a skill dangerous to run — not for whether it works.
Declares what it does: passed
SKILL.md parses and declares a name and a description.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No undeclared network calls: passed
Makes no network calls.
Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.
No obfuscated payloads: passed
No encoded or obfuscated payloads.
No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.
No credential access: passed
Reads no keys, tokens, keychains or credential files.
Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.
No pipe-to-shell installers: passed
No pipe-to-shell or download-and-run installers.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
Pinned to a commit: passed
Scanned meleantonio/awesome-econ-ai-stuff at dd890d51c7.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- dd890d51c7
- Scanned
- 2 files, 508 lines
About this skill
What it does
This skill enables AI agents to perform data cleaning tasks directly within the Stata statistical software environment. It automates the preparation of datasets for econometric analysis by handling missing values, recoding variables, and managing file formats specific to Stata's .dta or .do syntax.
When to use it
- You need to preprocess raw survey data before running regression models in Stata.
- Your dataset contains inconsistent variable names or types that require standardization for analysis.
- You want to automate repetitive cleaning steps like dropping outliers or imputing missing values across large datasets.
- You are working with legacy Stata files and need to convert them into a clean, analysis-ready format.
Key capabilities
- Executes Stata commands for data manipulation and transformation.
- Handles missing value identification and treatment strategies.
- Manages variable renaming and recoding within the Stata environment.
- Generates cleaned dataset files compatible with standard econometric workflows.
Example prompts
- "Clean this raw survey dataset by removing rows with missing income values and recoding gender into binary numeric variables."
- "Load my
.dtafile, drop observations where age is below 18 or above 90, and save the result ascleaned_data.dta." - "Standardize variable names in this dataset to snake_case format and create a summary table of missing values for each column."
Tips & gotchas
Ensure your source data is properly formatted for Stata ingestion before requesting cleaning operations. Complex logic involving conditional imputation may require iterative prompting or custom .do file generation rather than single-command execution.