Build data pipelines and analysis for a research paper
A researcher used Claude Code as the main agent to build data pipelines and do the data analysis for a paper, generating over 98% of the code.
Done withClaude Code
- What they did
- Kevin Yang ran Claude Code in the terminal beside Cursor and Jupyter. He had it write a plan in Markdown, then a more detailed plan for each component (cleaning, two research questions, outputs), then one script per step. He gave it parquet-tools through CLAUDE.md so it could inspect data and check its own output. He reviewed each script and used Git to roll back.
- How it went
- He estimates Claude Code wrote over 98% of the paper's code over a few weeks. It still made mistakes, so he reviewed every step. He wrote publication figures himself because describing the tweaks was harder.
- Worth knowing
- He used the Pro plan at about $17 a month on yearly billing, with Sonnet 4. When he hit rate limits he switched to his own API key.
Try it yourself with Claude Code
Help me build the data pipeline and analysis for my research project on [topic]. The raw data is in [folder or file], and I want to [cleaning, merging, and statistical tests or models]. Write clean, documented scripts, run them, and save the outputs and figures to [output folder] with a README explaining each step so I can check the results. Ask me before deleting or overwriting any existing files.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: yang3kc.substack.com · Undated
Related use cases
Turn tickets into merged pull requests
Pulls tasks from GitHub Issues or Linear, then runs Claude Code or Codex in isolated Kubernetes pods to carry each one through to a PR.
Automate event social posting across platforms
Claude Code connected social channels to drive event registrations, working well on Twitter and Reddit and somewhat on LinkedIn.
Send daily WhatsApp reminders of what to pack for school
A commenter built a Claude Code tool that sends a WhatsApp reminder the day before about what to pack in a child's school bag.
Run persistent financial research with an agent
LangAlpha is a Claude Code-style agent for investing research that keeps persistent workspaces and memory so analysis such as models and comps can be updated across sessions.
Custom agent
Research and draft a social science paper with Deep Research
Author used ChatGPT Deep Research and Agent Mode for research help and writing assistance while writing an academic social science paper.
Save AI Q&A summaries into git repos as persistent notes
A user has ChatGPT use the GitHub MCP server and per-repo AGENTS.md files to write summaries of discussions and decisions into their repos.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.