What the source did
- Ran a 3-hour workshop on GitHub Codespaces with a budget-restricted Codex key.
- Had attendees query SQLite, decode neighborhood codes and scrape with agents.
- Served a viz/ folder through Datasette and had Claude Code build an interactive Leaflet heat map there.
Summary written by Agent Cookbook. See the original for the full context.
Read their guide
Made and published by Simon Willison. Start here; it is their original, not ours.
Approval rule
Set it up
- Put the data in a fresh folder or Codespace.
- Set a spending cap on the API key if you use one.
- Work through the handout's exercises on your own data and check the SQL yourself.
- Open the viz file locally.
Common failures
- Agents state numbers confidently; always ask for the query behind a figure.
- Scraping steps may break site terms. Check before running.
Variations
- Point Datasette at viz/ so new charts show up live.
- Use the same flow for spreadsheets exported to CSV.
Get the 10 best agent setups. Free.
Plus new recipes every week. One email, no spam.
Unsubscribe anytime. Privacy