Hire us
A free AI skill, made easy

Turn any place into a tiny hand-drawn city

Pocket City is a free AI skill made by April Zhu. You give your coding agent (Claude Code or Codex) a place, and it builds a tiny, hand-drawn isometric city of a real square of that place, about 150 to 250 metres across. Every box marked My prompt is one you can copy. Change the bits in [brackets] to fit your place.

Amann Jain
Amann JainFollow @amanjain.jpeg
Jump to all prompts Download the PDF
On this page
  1. What you get
  2. What you need
  3. Check your setup
  4. Install the skill in one line
  5. Make your first city
  6. Pick a place that comes out great
  7. How I made Church Street, Bengaluru
  8. Keep talking to your agent
  9. Put it on your website
  10. Quick fixes
  11. All my prompts, in one place
What you get

See it live: april-zhu.com/pocketcity · Licence: MIT (free, including commercial use). Map data © OpenStreetMap contributors (ODbL), which the page credits for you.

What you need (one time)
Step 1

Check your setup

Open your terminal and run these three lines:

In your terminal
python3 --version
node --version
pip install shapely

Tip: if pip install shapely complains about your system Python, make a virtual environment first: python3 -m venv .venv && source .venv/bin/activate && pip install shapely

Step 2

Install the skill in one line

Claude Code
curl -L https://april-zhu.com/pocketcity/skill/pocket-city.tar.gz | tar -xz -C ~/.claude/skills
Codex
curl -L https://april-zhu.com/pocketcity/skill/pocket-city.tar.gz | tar -xz -C ~/.codex/skills

Claude.ai: Settings → Capabilities → Skills → upload pocket-city.skill (download it from April's page).

Before you move on: restart Claude Code / Codex after installing so it picks up the skill. In Codex, allow network access for the session (or approve it when asked).

Step 3

Make your first city

Open Claude Code (or Codex) in an empty folder and ask in plain English. Use any of these examples from the skill itself:

My prompt
  • Make a pocket city of Portofino harbour, 230 m
  • Gion in Kyoto, 200 m
  • A pocket city around the Pantheon in Rome
  • My street in Lisbon: Rua da Rosa at Travessa da Queimada, 180 m

What the agent does, step by step:

  1. Downloads the map of that square from OpenStreetMap.
  2. Places the square so no famous building gets cut by the edge.
  3. Turns the map into a scene: buildings, roads, trees, water, named shops.
  4. Researches the place: building styles, roof types, street life, climate and festivals, with a source for every fact it shows on screen.
  5. Hand-builds the landmarks in your square.
  6. Builds the page and checks its own renders, then fixes what looks wrong.

It's a long run (research + building + checking), so let it work. When it's done you get pocket-city-<place>.html. Double-click it to open.

Inside the page: drag to turn the city, scroll to zoom, switch seasons and special scenes on the left, click a camera view at the bottom, and open Field notes to see every source.

Step 4 · The most important tip

Pick a place that comes out great

The city is only as detailed as the map. Every building comes from OpenStreetMap, so a place with few mapped buildings comes out as a near-empty square. Here's what I found when I tried Indian places (buildings mapped inside a ~220 m square, 20 Nov 2026):

PlaceBuildings on the map
Portofino, Italy (April's example)
92
Pondicherry White Town
49
Fort Kochi
44
Church Street, Bengaluru (mine)
40
Kala Ghoda, Mumbai
29
Varanasi, Dashashwamedh Ghat
29
Connaught Place, Delhi
15
Hawa Mahal, Jaipur
11
Gateway of India, Mumbai
1

So:

Step 5 · My build

How I made Church Street, Bengaluru

My prompt

Make a pocket city of Church Street × MG Road, Bengaluru, 230 m.

Good to know: India drives on the left, which the skill handles (-drive left).

What's on screen is real map data. Heights of unmapped buildings, colours and the moving traffic are illustrative, and the page's Field notes say so.

Takeaway: the skill does 90% of the work. For the last 10% (a weird map tag, a landmark you love), just tell your agent what looks wrong and it fixes it.

Step 6

Keep talking to your agent

Once your city exists, use whichever of these fits:

When you wantMy prompt
Add a landmark it missedHand-build [building name] as a landmark. Find its plan and photos first, then build it from the kit's parts and check it from six angles.
Fix something that looks offIn the render, [the river / the roofs / this street] looks wrong compared with photos of the real place. Check the map data and photos, fix it, and re-render.
Add a special occasionAdd [Diwali / Ganesh Chaturthi / a Christmas market] as a special scene: research how this street actually celebrates it, add the decorations and crowd, and give it one sourced note.
Add a camera viewAdd a camera view called "[name]" that looks at [the corner / the landmark] from street level.
Step 7

Put it on your website

The whole city is one HTML file, so you can host it anywhere. Fastest (free):

Inside an existing website, put the file in your public folder and embed it:

Embed code
<iframe src="/pocket-city-bengaluru.html" style="width:100%;height:80vh;border:0;border-radius:24px" loading="lazy" title="Pocket City"></iframe>

Ideas: a hero section for a café, hotel or real-estate site showing the actual street; an “about my city” section on your portfolio; a travel blog header.

Why it matters: keep the OpenStreetMap credit that's already on the page. The map licence needs it.

If something goes wrong

Quick fixes

What you seeDo this
“Overpass is busy” / map download failsThe free map servers get overloaded. The script retries other servers; if all fail, wait a minute and ask the agent to run it again.
No module named shapelyRun pip install shapely (in the same Python / virtual environment the agent uses).
Chrome not foundInstall Google Chrome, or tell the agent the path (CHROME=/path/to/chrome).
The city looks emptyThe place isn't mapped well. Pick a better-mapped street (see the table in Step 4) or a larger square.
Codex can't reach the internetAllow network access for the session.
@amanjain.jpeg

All my prompts, in one place

Copy them in this order. Change the bits in [brackets] to fit your place.

  1. python3 --version · node --version · pip install shapely

    Step 1, in your terminal, once
  2. curl -L https://april-zhu.com/pocketcity/skill/pocket-city.tar.gz | tar -xz -C ~/.claude/skills

    Step 2, install for Claude Code (use ~/.codex/skills for Codex), then restart
  3. Make a pocket city of [place], [200] m.

    Step 3, in an empty folder. Check the place on openstreetmap.org first (Step 4)
  4. Hand-build [building name] as a landmark. Find its plan and photos first, then build it from the kit's parts and check it from six angles.

    Step 6, when a landmark is missing
  5. In the render, [the river / the roofs / this street] looks wrong compared with photos of the real place. Check the map data and photos, fix it, and re-render.

    Step 6, when something looks off
  6. Add [Diwali / Ganesh Chaturthi / a Christmas market] as a special scene: research how this street actually celebrates it, add the decorations and crowd, and give it one sourced note.

    Step 6, for a festival or occasion
  7. Add a camera view called "[name]" that looks at [the corner / the landmark] from street level.

    Step 6, for a new angle
Credits

Now go build your first city tonight.

If you make your own city, tag me, I'd love to see it · @amanjain.jpeg · Questions? [email protected]

Want a brand film or reels shot for your business? See what we make at Visuals Media Co.

See our work