maplibre avatar

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-code

Installs 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

More from maplibre/maplibre-agent-skills

All 3
1pablostanley avatarefecto-graphic-designpablostanley/efecto-pluginDesign graphic assets with Efecto — presentations, pitch decks, event posters, email headers, blog images, open graph cards, business cards, resumes, menus, inf827skills.sh installs
2mindrally avatarpython-odoo-cursor-rulesmindrally/skillsGuidelines for Python and Odoo enterprise application development with ORM, XML views, and module architecture best practices.818skills.sh installs
3riba2534 avatarfeishu-cli-boardriba2534/feishu-cli飞书画板全能操作 · 5 种画图路径任选其一: (A) Mermaid/PlantUML 服务端渲染(思维导图/时序图/类图/饼图/流程图/甘特图,整图作为一个节点,飞书自动排版) (B) Mermaid 本地引擎 whiteboard-cli(绕开 par/参与方数等服务端限制,每个节点可点击编辑) (C) SVG 818skills.sh installs
4lobehub avatardata-fetchinglobehub/lobehubData fetching architecture guide using Service layer + Zustand Store + SWR. Use when implementing data fetching, creating services, working with store hooks, or812skills.sh installs
5encoredev avatarencore-frontendencoredev/skillsConnect a frontend application (React, Next.js, Vue, Svelte, etc.) to an Encore.ts backend.806skills.sh installs
6docyrus avatardocyrus-cli-appdocyrus/agent-skillsUse the Docyrus CLI (`docyrus`) to interact with the Docyrus platform from the terminal. Use when the user asks to authenticate, list apps, query or manage data799skills.sh installs