← All posts

Karpathy usaciv: how he built a US Civ map with Claude Code

2026-11-26 · 4 min read

usaciv is Andrej Karpathy's new web map that dresses the real United States up as a Civilization-style strategy game, built from 31 public government datasets. He made it with the Claude Code desktop app, running Opus 5.5 with ultracode turned on, says it took about 7 hours and 45,000 lines of code, and it is live now at karpathy.ai/usaciv.

The post

On the evening of November 25, US time, @karpathy posted a 30-second trailer (which he says Claude also made) and a long description. He "asked Claude to populate a Civilization-style game map with real data." Within a day the post passed 2 million views and 13,000 bookmarks.

It is his second Claude side project this month. Earlier he built HackerTube by having Claude filter 20 years of Hacker News comments.

What the map shows

Per Karpathy, Opus 5.5 downloaded and parsed data from 31 sources, including the Census Bureau, BEA, BLS, EIA, NOAA, USGS, the Defense Department, the Park Service, FAA, FEMA and CDC. Elevation, land cover, GDP, jobs, power plants, mines, ports, airports, military bases, parks, universities, freight flows and disaster history were all reconciled onto one hex grid with 25 km cells.

Then the data was translated into game terms:

Game element Real data behind it
Gold yield GDP
Districts Local industry specializations (San Jose gets a Campus, Detroit is "Motor city")
Citizens The real workforce
Wonders Published rules: national parks by visitor count, universities by R&D spending

The workforce detail stands out. In his data, "1 in 4 San Jose workers are engineers, coders or scientists," compared with 1 in 14 nationally.

On top of the map sit 19 lenses (income, degrees, faith and disasters among them), a City View for 524 metro areas, nine advisors, and an Explorer that turns any column for any of 3,100+ counties into a table and a scatter plot linked back to the map. Karpathy admits it isn't complete: Claude "decided to skip a few states and territories."

How to try it

  1. Open karpathy.ai/usaciv. It shows a "Surveying the land" screen while the data loads.
  2. Flip between lenses. Income and disasters are a good first pair for checking your own area.
  3. Open City View for a metro you know and see whether its district fits.
  4. Use the Explorer to pick a county column and find your county on the scatter plot.
  5. Karpathy says the "?" on the page links to the source.

How he built it, and what ultracode does

His setup line was short: "Claude Code desktop app, Opus 5.5 on medium and turning on ultracode." Medium is the default effort level for Opus 5.5 in Claude Code, so he left reasoning depth alone.

The ultracode part is what's new. Anthropic's model configuration docs describe it as a Claude Code setting, separate from effort levels: when it's on, Claude orchestrates dynamic workflows for substantive tasks, which means it plans the job and hands the pieces to many agents. It's a close cousin of the dynamic workflows in Claude Managed Agents, running in your own session.

You can turn it on for a session with /effort ultracode and switch it off with /effort ultracode off. Launching with claude --effort ultracode turns it on and also sets effort to xhigh. To make it your default, add "ultracode": true to your settings file. It won't work if workflows are off or the model lacks xhigh.

Usage is the catch. Karpathy ended his post by saying he has only half of his weekly Claude quota left, so someone else should take the project from here. @altryne replied asking whether he doesn't get "unlimited super claude," and Dan Romero (@dwr) quote-posted the quota line in sympathy. Multi-agent runs burn limits fast, so on a capped plan, check the free Claude usage reset before a big job.

My read

The map is fun to poke around in, but I'm more interested in how it got made. One person steering for seven hours ended up with data from 31 sources sitting on a single grid, plus a county explorer that's actually usable. I'd have expected that to take a small data team a few weeks. Karpathy flagged the weak spot himself: Claude quietly dropped some states. When an agent splits a job across many sub-agents, checking what it left out is still your job.

What it means for a business

The same approach works at a smaller scale. Census and BLS data cover every county, ours here in the Fox Valley included, and a business can combine it with its own customer list to see where its jobs come from and where demand is. Writing the code has become the cheap part. What still takes a person is picking the question the map should answer, then checking what the agent skipped. If you want help choosing that question, New Face Design's free process audit is a good place to start.

08 / Start here

Which of this can you use today?

Tell us what you use today and we'll reply within one business day with what it would take. Free, 20 minutes, no pitch deck.

Email

pgorski@newfacedesign.com

Phone

+1 (773) 627-2176

Based in

Chicago area

Working with clients everywhere

Skip the form: grab a 20 minute slot.

Open the calendar →