Clean large files and write analysis code

People used Codex on local data files to explore patterns, generate Stata code, and tidy spreadsheets without upload limits.

Done with Codex· Intermediate· Dec 2025

What they did
A few users ran Codex locally on big data files so they could inspect and analyze them without hitting ChatGPT-style file upload limits. One person had it draft Stata code for their analysis, while another kept it inside chosen folders to sort files, standardize formatting, and look for duplicates.
How it went
They said it handled large-file analysis, queries, and pattern finding well, and it was also handy for spreadsheet-style cleanup such as sorting and deduping. The main drawback was making sure it only touched approved folders.
Tips
Keep the agent’s access limited to specific directories if you are working with sensitive files. Ask it to save cleaned copies instead of overwriting originals, and have it report what changed before you use the results.

Try it yourself with Codex

In [folder path], review [file names or file type] and help me clean and analyze them. First, inspect the files for [duplicate rows / inconsistent formatting / sorting needs / obvious patterns], then make the requested cleanup changes in a new copy, leaving the original files untouched. If useful, also draft [Stata / Python / R] code to run [the analysis or summary I need]. Before any irreversible action such as deleting rows, overwriting a file, or exporting a final version, pause and ask me to approve the change. Afterward, give me a brief summary of what you found, what you changed, and any duplicates or other issues you detected.

Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.

Get 3 agent uses like this every morning

With the day's top AI news. Free, and one click to unsubscribe.