Pixel Path skill
A Claude Code skill that turns two places on a map into a pixel-art fly-through of the real road with OpenStreetMap buildings
- 325 ★ on the repository
- Last commit
Broad access
Why this level
- Scripts send coordinates and route requests to mapping services and write files to disk
- Generation and retries use a paid RetroDiffusion key
- The route folder and images are accessible to the agent; commands can overwrite previous build outputs
Install
- Works in
In your terminal, with SkillFoxx CLI
npx skillfoxx add skills/pixel-pathDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewBroad accessThe tool can change data, run commands or handle secrets.
- Scripts send coordinates and route requests to mapping services and write files to disk
- Generation and retries use a paid RetroDiffusion key
- The route folder and images are accessible to the agent; commands can overwrite previous build outputs
This is third-party code. Review the repository files before installing.
What it does
Pixel Path takes a request like "make a pixel path from Bath to Bristol" and builds a folder with an `index.html` page. Open it through any static web server and you move in first person down the real road: scrolling speeds up, slows down or reverses the motion. A small map and current-location information can be displayed when needed. The skill routes the trip, bakes real buildings on their footprints, land cover, landmarks, hills and the horizon from OpenStreetMap and elevation data, and draws signs with town and street names in code so the names are exact. It generates scenery pictures through RetroDiffusion at one of three levels of detail: `sparse`, `moderate` or `detailed`. A free variant with placeholders exists too. The instructions require a cost estimate and an agreed budget before generation. Check scripts inspect backgrounds, cropped edges and building layout. With Playwright available, they move the camera along built-up road at 75-metre intervals and save screenshots that highlight gaps for review.
Who it is for. For game developers, route storytellers and video editors who need a real road in a pixel-art look for a level, an intro or a background.
Good fit when
- You need a level for a racing or runner game built on a real road instead of a made-up one
- You want to show a commute, a marathon stage, a delivery round or a move between cities as a map fly-through
- A video needs an intro, a stream background or a looping retro clip
- You need a preview of a neighbourhood or a historic route like Route 66 as a light web page
- You want to study a commented pseudo-3D renderer and an OpenStreetMap bake pipeline
Not a fit when
- You need a map of walking, cycling or rail routes: routes use the car profile of the OSRM router
- You need an accurate 3D model of a city: landmarks stay pictures that face the road and do not turn
- You have no RetroDiffusion account or key but want finished pictures: without them the skill draws placeholders in code
- You need a live scene with people, traffic and weather: the light is a single afternoon light and nothing else moves
Example request
Make a pixel path from Paris to Versailles at the `moderate` level and show the cost estimate before generating any picturesLimitations
Route building requires Node.js 18 or later and access to map services. Frame checks need Node.js 20, Playwright and Chromium; without them the camera sweep does not run. Open the page through a static web server; `file://` is unsupported.
RetroDiffusion generation is paid, including retries. Obtain a quote with `rd.mjs quote` and set a budget before running it. User approval is a skill instruction whose execution depends on the agent. Placeholder art avoids paid generation but still requires map requests.
Missing OpenStreetMap detail is filled with assumptions about buildings and heights; this does not produce an exact city model. MIT covers the code, OpenStreetMap data uses ODbL, and other data sources and artwork have separate terms. Keep the data attribution line.
How to disable. Run `/plugin uninstall pixel-path@pixel-path` in Claude Code or delete the `~/.claude/skills/pixel-path/` folder. Finished routes live in your folders and stay put. Remove the RetroDiffusion key from the environment variable or the Keychain.
FAQ
How do I install Pixel Path in Claude Code?
Run `/plugin marketplace add jonwheatley/pixel-path`, then `/plugin install pixel-path@pixel-path`. You can also copy the folder by hand to `~/.claude/skills/pixel-path/` or, for one project, to `.claude/skills/pixel-path/`.
How much does one route cost?
Cost depends on terrain regions, detail level and retries. The author gives October 2026 estimates, but recommends obtaining a fresh quote with `node ${CLAUDE_SKILL_DIR}/scripts/rd.mjs quote --trip TRIP`. Replace TRIP with your route folder. Set the generation limit with `--budget`. For a manual run, set `CLAUDE_SKILL_DIR` to the installed skill’s absolute path.
Do I need a RetroDiffusion key?
Only for real pictures. You create the key in your account and set it in your own terminal with `export RETRODIFFUSION_API_KEY=...`, and on a Mac you can store it in the Keychain. Without an account the free placeholders drawn in code work.
Where do the road and building data come from?
Geocoding goes through Nominatim, routing through OSRM, buildings and land from Overpass on OpenStreetMap data, elevation from Terrain Tiles on AWS and landmarks from Wikidata. Baking requires access to these services; duration depends on the route and service availability.
How does the skill check its own result?
It cleans pictures of backgrounds and cut-off edges, checks building layout along the whole road and runs a sweep: the camera looks straight and 30° to each side every 75 m while the sky is painted magenta to expose gaps. The worst 20 frames are saved side by side with the problem marked.
Discussion
No questions or reviews yet.
Related
SkillsA Claude Code skill that renders map animation videos from Amap data: routes, district borders, satellite maps, as MP4 and GIF.
Claude Code skill for pixel art: sprites, animations and effects built from a reference and checked frame by frame
A skill that makes Claude a pixel artist: every pixel is placed in Pillow code and every render is checked against a checklist.
A skill that turns narration text into a 20-second chunky-pixel explainer at 1920×1080 with voice-over and an editable project.
The MapStage skill tunes how a map or globe looks: projection, satellite, relief, 3D terrain, region isolate and JSON preset export
Codex skill for Pikatang-inspired pixel art: characters, pets, houses, interiors and icons from a brief or a reference.
README in short
The output can be hosted as a static site with `index.html`, viewer scripts, data and images. Internal caches, raw artwork and the spending ledger do not need to be published.
README badge
Original SKILL.md
---
name: pixel-path
description: Pixel Path turns any two places (optionally via waypoints) into a pixel-art fly-through of the real road. It routes the trip, bakes the real buildings, land cover, landmarks, hills and horizon from OpenStreetMap and elevation data, generates scenery art with RetroDiffusion at a chosen level of detail (sparse, moderate or detailed; estimated up front, quoted exactly for free, budget-capped; free placeholder art also works), builds a page where you zoom along the route and scroll to go faster or slower, and runs a self-check that screenshots the result. Use when someone asks for a "pixel path", a "pixel road trip", to "drive" or "fly" from X to Y in pixel art, or a retro first-person view along a real route.
---
# Pixel Path
Builds a folder you can open or host: `index.html` with `road.js` and `layout.js` (the fly-through), `data/` (the
baked route) and `art/` (the pictures). Plain Node 18+, no npm installs (the self-check uses Playwright if present).
Scripts are in `${CLAUDE_SKILL_DIR}/scripts/`; run them as `node ${CLAUDE_SKILL_DIR}/scripts/<name>.mjs ...`.
Call the trip folder TRIP (e.g. `trips/bath-bristol`). Every step can be rerun and resumes where it stopped.
The result is a first-person camera moving along the real road: the real buildings on their footprints, the real
landmarks at their places, real land cover, hills and horizon. No interface beyond a small credits line. Scroll (or
drag on a touch screen) to speed up, slow down or reverse.
## Before you start, tell the user
- **Only the art costs money**, paid to RetroDiffusion from the user's own account. Routing, map data and the viewer are
free. Step 1 prints an estimate for their route at each level: **show it to them and let them pick a level (or free
placeholders) before you bake or generate anything.**
- **No account?** Send them to https://www.retrodiffusion.ai?ref=YBQJM823 and say that **it is an affiliate link**
(the author of this skill gets a referral). They create an API key and set it in their own terminal:
`export RETRODIFFUSION_API_KEY=...` (on a Mac they can store it in the Keychain instead:
`security add-generic-password -s pixel-path -a retrodiffusion -w`). **Never ask for the key in the chat, never
print it, echo it or write it to a file.**
- **Attribution is required.** The credits line (OpenStreetMap, OSRM, Terrain Tiles, Wikidata, RetroDiffusion) must stay
visible wherever the fly-through is shown.
- **Time.** Baking takes about 20 to 60 seconds per 10 km. Run long bakes in the background.
## The levels
Per region (a region is one look, e.g. "Georgian Bath"); $0.18 a picture at RetroDiffusion `rd_pro__default`
(October 2026). The levels are nested: moving up a level only pays for the new pictures.
| level | per region | 1 region / 2 regions | what you get |
| --- | --- | --- | --- |
| placeholders | 0 | $0 / $0 | code-drawn stand-ins for every picture |
| `sparse` | 4 | 4 / 8 pictures, $0.72 / $1.44 | 3 kinds of building and a tree; every lot still filled, mirrored and tinted copies stretch the few pictures |
| `moderate` | about 14 + 4 landmarks | 18 / 32 pictures, $3.24 / $5.76 | about 10 buildings over the main kinds, 2 trees, a shrub, a street prop, the 4 best-known landmarks |
| `detailed` | about 26 + 10 landmarks | 36 / 62 pictures, $6.48 / $11.16 | up to 6 variants of each kind of building (up to 9 kinds), 3 trees, 2 shrubs, 3 street props, 10 landmarks |
## Steps
### 1. Route and estimate (free, seconds)
```
node ${CLAUDE_SKILL_DIR}/scripts/route.mjs --out TRIP --from "Bath, England" --to "Bristol, England" [--via "Keynsham"]