
Maplibre Pmtiles Patterns
PMTiles lets you serve map tiles from static storage without running a tile server. You host a single .pmtiles file on S3, R2, GitHub Pages, or any CDN, and MapLibre fetches the exact tiles it needs via HTTP range requests. The skill walks through registering the pmtiles protocol handler, generating tiles with Planetiler or tippecanoe, and configuring vector, raster, and terrain sources. It's a solid choice when you want a serverless map stack or need to deploy tiles with zero backend logic. The tradeoff is you need the full tile pyramid upfront, so it works best for bounded datasets rather than massive global layers that change constantly.
- skills.sh installs
- 833
- GitHub stars
- 160
- last updated
- Aug 21, 2026
Install
$ npx -y skills add maplibre/maplibre-agent-skills --skill maplibre-pmtiles-patterns --agent claude-codeInstalls into .claude/skills of the current project.
Files
MapLibre PMTiles Patterns
PMTiles is a single-file format for vector or raster map tiles. You host one (or a few) files on any static host; MapLibre requests byte ranges over HTTP. No tile server, no dynamic backend. This skill covers when to use PMTiles, how to generate and host them, and how to connect them to MapLibre GL JS.
When to Use This Skill
- Hosting map tiles without running a tile server (S3, Cloudflare R2, GitHub Pages, etc.)
- Building a fully static or serverless map stack
- Serving large tile sets from a CDN with range requests
- Generating PMTiles from OSM or other sources (Planetiler, tippecanoe)
- Using Overture Maps or other single-file tile datasets with MapLibre
What PMTiles Is and Why It Matters
Sponsors
Details
- Repository
- github.com/maplibre/maplibre-agent-skills
- Categories
- Backend & APIs, Git & Pull Requests, Code Review & Quality, AI & Agent Building, Cloud & Infrastructure
- First seen
- Jun 3, 2026