Use Claude Code to assemble a research workflow
Kevin Yang used Claude Code to draft, code, and test most of a paper’s analysis while he checked each stage himself.
- What they did
- Kevin Yang kept Claude Code open in the terminal next to Cursor and Jupyter. He began by having it sketch a Markdown roadmap, then asked for a deeper breakdown of each part of the project, including data cleaning, two research questions, and the outputs, before moving on to one script per step. He also pointed it to parquet-tools through CLAUDE.md so it could look at the data and sanity-check its own results.
- How it went
- After a few weeks, he estimates the agent produced more than 98% of the paper’s code. It still slipped up, so he inspected every script and used Git to undo bad changes. He handled the publication figures himself because describing the edits was more work than doing them directly.
- Tips
- Even when an agent writes most of the code, keep reviewing each file and be ready to roll back mistakes. Give it inspection tools if you want it to validate its own output, but reserve approval for anything that would delete, overwrite, or submit work.
Try it yourself with Claude Code
I’m working on a research project about [topic]. First, lay out a Markdown plan for the full workflow. Then split it into separate parts for [cleaning], [research question 1], [research question 2], and [outputs], and create one script at a time for each part. Run the scripts, show me the checks or results, and use [tool name] if it helps inspect the data or confirm the output. Before you delete, overwrite, send, or submit anything, stop and ask me to approve it. Save everything in [output folder] and include a brief README explaining the steps.
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 Claude Code to coordinate research and drafting
Researchers used Claude Code to manage lab-style work and produce papers or theses in LaTeX or Markdown.
Search an Obsidian vault for old research files
A developer set up Claude Code to find and sort research material inside an Obsidian vault on macOS.
Search large public archives with plain language
Claude Code can translate everyday questions into SQL or vector queries for Scry's read-only data index.
Turn transcripts and PDFs into themes and evidence tables
Use Claude Code to summarize interviews, build evidence tables, and draft an annotated bibliography from a study folder.
Turn new arXiv papers into nightly notes
A daily digest and nightly Claude Code summaries helped one person keep a small, organized notes folder for selected papers.
Review filings from saved notes with Claude Code
A non-engineer used Claude Code to pull equity research from saved filings and notes, then checked the numbers with a second pass.