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.
- 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.
Related agent uses
Use Codex to map Reddit complaints by theme
A developer turned Reddit complaint research into a Codex skill that checks communities, gathers quotes, and sorts issues into evidence-backed groups.
Use Codex to look up public contact details
A Reddit commenter used Codex CLI to search the web for contact information and said it worked well.
Coordinate a swarm for equity research and coding
They used Claude to manage multiple Codex agents for coding and dozens of agents for equity analysis.
Screen papers in a folder against your criteria
Codex can read PDFs or spreadsheets in a project folder, sort items by your rules, and write the results into new files.
Run site-extraction work through a low-cost batch agent
A developer sends large extraction jobs to cheaper batch models instead of their main coding agent to keep spending down.
Set up a local math tutor with Codex
They built ari, an open-source tutor app that uses Codex on the user’s machine to coach pen-and-paper math.