Setup, pitfalls, and practical advice for VS Code
2026-03-18
Disclaimer
AI tooling is a rapidly evolving field. The information in this presentation may become outdated within days. Always check the official documentation for the latest updates.
Capabilities of LLMs over time (source: METR Long Tasks)
Coding a full game with a few prompts
Consulting for a company
git is highly advisable in case Claude Code makes a mistake and you want to revert to a previous versionTokens
Context
take a look at the README...), by attaching files through the + symbol in the prompt box, by selecting lines of code inside VSCode (automatically passed to Claude), by using @file.py to reference a specific file or by dragging files into the prompt box with ShiftPlan mode: describe your goal, iterate on the initial plan, approve the plan, then let Claude execute (think of it like briefing a RA)Ask before edits instead of Edit automaticallyShift+Enter to create a new line without sending/ in the prompt box (or clicking on /) opens various options
Switch model...
Sonnet handles most everyday tasks well, while Opus excels at complex tasks but costs considerably more. Avoid Haiku for anything beyond trivial queriesEffort to medium (higher if you need more compute) and enable ThinkingAccount & usage.../compact to do this manually)| CLAUDE.md (global) | CLAUDE.md (project) | Skills | |
|---|---|---|---|
| Scope | All sessions | Each project | One task |
| Loaded | Automatically | Automatically | On demand (/) |
| Purpose | Who you are | Project specifics | How to do X |
| Location | Home directory | Project folder | Global or project |
Location: ~/.claude/CLAUDE.md | Loaded: every session | Purpose: who you are
What to include:
Bad example:
“I’m a researcher. I do data analysis.”
Good example:
“Predoctoral RA at a policy school, working on field experiments studying education interventions in East Africa. Cleaning survey data in Stata; analyzing in R and Python.”
Location: CLAUDE.md in project root | Loaded: in that project | Purpose: project specifics
/init to auto-generate an initial project CLAUDE.md from your files.What to include:
Example (abbreviated):
# Project: Regional Labor Markets
Panel data analysis of local labor market
dynamics across European NUTS-2 regions.
## Build & run
pip install -e .
pytask
## Project structure
src/labor_markets/
data/ <- raw input data
data_management/ <- cleaning + merging
analysis/ <- regressions & figures
bld/ <- generated outputsLocation: ~/.claude/skills/ | Loaded: on demand via / | Purpose: how to do X
Simple skill (single file):
Multi-file skill:
~/.claude/skills/revise/
├── SKILL.md # Main instructions
├── template.md # Template to fill in
├── examples/
│ └── sample.md # Expected format
└── scripts/
└── validate.sh # Executable script
SKILL.md is required. Other files are optional: templates, example outputs, scripts, or reference docs. Reference them from SKILL.md so Claude knows when to load them.
See Claude documentation and Building Skills (Claude Blattman) for more information.
“A room full of experts while you think.” — Morten Nyboe Tabor
Ask Claude!
Claude Code for Economic Research