Claude Code, Codex & the Research Pipeline
Kiel Institute for the World Economy
Kiel Institute for the World Economy
2026-04-16
Watch this.
What LLMs replicate
→ Execution skills — depreciate fast
What they don’t
→ Research judgment — appreciates

A text interface to your computer. You already know one: the Stata command window, the R console, a Jupyter cell.
Write it once. Claude reads it every session.
# China–Africa Zero-Tariff Policy Brief
## Goal
Quantify the impact of China eliminating all tariffs on imports
from 53 African countries, using the KITE trade model (GTAP 11).
## Data
- input/baci/ — BACI bilateral trade flows, HS6, cols: t, i, j, k, v, q
- input/initial_conditions/ — GTAP 11 initial conditions (.rds)
- input/metadata/countrygroups.R — AFRICA53, AFRICA_LDC, EU27
## Stack
- R with data.table, magrittr, ggplot2
- Figures: theme_minimal(), Kiel cream #F5F1E7, blue #194ABB
- snake_case for variables, SCREAMING_SNAKE for constants
## Rules
- Always copy initial conditions before modifying (copy-first pattern)
- Save every figure as PNG + PDF pair
- Never edit docs_policy_brief/ — edit output/policy_brief.tex instead
- Commit after every completed step
The Dropbox rule
If you wouldn’t put it on Dropbox, don’t let Claude read it.
.claudeignore to exclude sensitive folders| Level | What it is | Example |
|---|---|---|
| 0–1 | Browser chat, copy-paste | ChatGPT, Claude.ai |
| 2 | IDE-integrated agent | Cursor, GitHub Copilot |
| 3 | Terminal agent, full file access | Claude Code · Codex CLI |
| 4 | Agent + external connectors | Gmail, Zotero, databases |
| 5 | Autonomous sub-agents | Long-running, self-directed |
You just saw Level 3. ~$20/mo Pro · ~$100/mo Max
BREAK
15 minutes
Nuvolos login on screen · companion website QR code
Everyone types the same first prompt. Nobody moves on until it works.
“What files are in this folder? Summarize the data.”
Buddy system: comfortable with the terminal? Pair with someone who isn’t. You type, they steer.
Global for you · Project-level for this project · Both read at session start.
For code projects
For writing projects
80% planning, 20% execution.
Same-session review = self-peer-review. New session = honest referee.
Dropbox
paper_final_v2_REAL_final.docxGit
Git has ~150 commands. Just ask in plain English:
“Commit what we just did with a descriptive message.”
“Push this to GitHub.”
“What has changed since yesterday?”
You stay in the what. Claude handles the how.
State lives in files, not in the chat.
Session 1 Clean data → output/cleaned.csv
Session 2 Read cleaned.csv → run regressions → tables
Session 3 Read tables → make figures
Session 4 Read figures + tables → draft paper section
CLAUDE.md persists. Results persist. The chat does not need to.
AI compresses the pipeline. It doesn’t replace the researcher.
CLAUDE.md is your most important file. Brief the AI like a new RA.
Start small. One prompt, one task, one session.
… and follow-up AI Lunches / Workshops / Bootcamps?
Kiel Institute AI Bootcamp · Hinz & Jacobs