economicsblog
Pedro H. C. Sant'Anna
More in social sciences and law
- Thomas D. Grantlaw, 20 Nov 2026
- Chris Blattmaneconomics, Oct 2026
- William Baudelaw, 25 Sep 2026
- Checking an R port against Stataeconomics, 21 Jul 2026
- Scott Cunninghameconomics, 12 Jun 2026
What they did
On his page "My Claude Code Setup", Sant'Anna describes how he uses Claude Code for academic work beyond code: slides, papers, data analysis and more. He works goal-first: he describes a task, Claude picks a skill, and a review loop of specialised agents checks the output. The agents include a proofreader, a pedagogy reviewer, a claim-verifier and a simulated-peer-review trio (editor, domain referee, methods referee). The non-coding commands include /lit-review, /review-paper, /respond-to-referees, /grant-proposal, /syllabus and /triage-inbox. /review-paper --peer <journal> runs an editor desk review and two blind referees with different dispositions, then classifies issues as FATAL, ADDRESSABLE or TASTE, calibrated to five economics journals. The workflow was extracted from his Econ 730 course.
In their words
"It is deliberately not an autonomous daemon: every loop is started by you or a skill, never on its own."
"Like a contractor who handles the entire job, with you as the auditor of the disagreements the review loop surfaces."
"Adopted by 15+ research groups across economics, energy, political science, and engineering."
Lessons they draw
- Keep the human as auditor of disagreements between review agents rather than as author of every step (Sant'Anna).
- Pair every critic with a separate fixer ("the critic can't fix, the fixer can't approve") and loop until the critic finds nothing (Sant'Anna).
- Score every output and halt commits below a quality threshold; add a hallucination gate after the judge step (Sant'Anna).
- Persist corrections in a memory file so they survive across sessions (Sant'Anna).
Limits of this account
This is a template description and feature list, not a narrative of specific projects, and it records no measured results, no agreement figures for the simulated reviews and no named papers reviewed. The page has no visible publication date; published is the date the archive retrieved the page (24 June 2026), not a publication date. The adoption claim is his own and is not independently checked. Quotes are from the archived page, which the archive reports as fetched with HTTP 200.