Agent skill

Maplibre Tile Sources

by maplibre in maplibre/maplibre-agent-skills

How to choose and configure data sources for MapLibre GL JS — rendering your own data without tiles, hosted tile services, serverless PMTiles, self-hosted tile servers, tile schemas, and sprites.

Custom licenceAuto-check passedBackend & APIs

Install Maplibre Tile Sources

skills CLI
$ npx skills add maplibre/maplibre-agent-skills --skill maplibre-tile-sources -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install maplibre/maplibre-agent-skills maplibre-tile-sources --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/maplibre/maplibre-agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/maplibre-tile-sources .claude/skills/maplibre-tile-sources && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
maplibre-tile-sources
GitHub stars
151
Token cost
~6.4k tokens
SKILL.md length
2,986 words
Files
1
Skills in repo
10
Repo updated
First seen
Licence
Custom licence

At a glance

How to choose and configure data sources for MapLibre GL JS — rendering your own data without tiles, hosted tile services, serverless PMTiles, self-hosted tile servers, tile schemas, and sprites.

  • Works in 12 steps: GeoJSON performance thresholds (file… → PMTiles format and HTTP range request… → Protomaps (pre-built PMTiles basemaps) —… → …
  • Tasks that involve Serverless
  • SKILL.md covers When to Use This Skill, How styles and sources work, GeoJSON and Direct Data Sources and When You Need Tiles, plus 6 more sections
  • Reaches tiles.openfreemap.org

What it does

Maplibre Tile Sources is an agent skill from maplibre/maplibre-agent-skills. How to choose and configure data sources for MapLibre GL JS — rendering your own data without tiles, hosted tile services, serverless PMTiles, self-hosted tile servers, tile schemas, and sprites.

Its SKILL.md is about 6.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering Serverless. The repository describes itself as: Community-maintained agent skills for MapLibre GL JS — helping AI coding assistants write better mapping code.

When your agent uses it

  • Tasks that involve Serverless

Example prompts

  • “/maplibre-tile-sources”

Workflow steps

12 steps, taken from the first numbered list in SKILL.md.

  1. GeoJSON performance thresholds (file size / feature count ranges) — community rules of thumb aggregated from Stack Overflow, Reddit…
  2. PMTiles format and HTTP range request protocol — docs.protomaps.com/pmtiles/
  3. Protomaps (pre-built PMTiles basemaps) — protomaps.com; basemap layers: docs.protomaps.com/basemaps/layers
  4. Planetiler (generate vector tiles from OSM) — GitHub
  5. tippecanoe (generate vector tiles from GeoJSON) — github.com/felt/tippecanoe
  6. Martin tile server — maplibre.org/martin/
  7. MapLibre Tile (MLT) specification — maplibre.org/maplibre-tile-spec/
  8. OpenMapTiles schema — OpenMapTiles.org
  9. Shortbread tile schema — shortbread-tiles.org
  10. TileJSON specification — github.com/mapbox/tilejson-spec; version 3.0 (Aug 2021) made vector_layers required for vector tilesets
  11. Leaflet — leaflet.js
  12. MapLibre GL Leaflet — github.com/maplibre/maplibre-gl-leaflet

What it can do on your machine

Read from SKILL.md and the folder at commit 99f8774. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are javascript and json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • tiles.openfreemap.org

    Also links to:

    • github.com
    • maplibre.org
    • docs.protomaps.com
    • switch2osm.org
    • leafletjs.com
    • openfreemap.org
    • opendatacommons.org
    • wiki.openstreetmap.org
    • protomaps.com
    • openmaptiles.org
    • shortbread-tiles.org
    • flatgeobuf.org
    • geoparquet.org
    • cogeo.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Maplibre Tile Sources loads about 6.4k tokens when it runs. Until then it costs about 54 tokens; SKILL.md has 2,986 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~54
When it runs · the whole SKILL.md, loaded when a task matches
~6.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 2,986 words (~6,375 tokens).

“MapLibre GL JS does not ship with map data. You provide a style that references sources — URLs or inline data that MapLibre fetches and renders. MapLibre works equally well for a store locator with 200 addresses, a city transit…”

— opening of SKILL.md by maplibre, Custom licence
name
maplibre-tile-sources
status
verified

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/maplibre-tile-sources of maplibre/maplibre-agent-skills.

Open the folder on GitHubat commit 99f8774

Compare with similar skills

Maplibre Tile Sources next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Maplibre Tile Sources compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Maplibre Tile Sources this skillmaplibre/maplibre-agent-skills151—~6.4kAutomated safety check: PassCustom licence
Arcgis To Portaljsdatopian/portaljs2.4k1 repos~2kAutomated safety check: PassMIT
AWS Serverless Edazxkane/aws-skills3674 repos~3.2kAutomated safety check: PassMIT
NubaseOtterMind/Nubase622—~2.2kAutomated safety check: NotesApache-2.0
Tianji Worker Operationsmsgbyte/tianji3.1k—~1.1kAutomated safety check: PassApache-2.0
Qstash JSupstash/qstash-js269—~746Automated safety check: PassMIT

Similar skills

  • Arcgis To Portaljs

    datopian/portaljs

    Migrate a whole ArcGIS Hub site into a PortalJS Arc portal end-to-end.

    2.4k GitHub starsUsed in 1 repo~2k tokens
    Backend & APIsAuto-check passed
  • AWS Serverless Eda

    zxkane/aws-skills

    AWS serverless and event-driven architecture expert based on Well-Architected Framework.

    367 GitHub starsUsed in 4 repos~3.2k tokens
    Backend & APIsAuto-check passed
  • Nubase

    OtterMind/Nubase

    A skill your agent uses when the user mentions Nubase broadly, wants a backend for an AI-generated app, or needs to deploy/publish generated code online — across Database, Auth, Storage, Assets…

    622 GitHub stars~2.2k tokensUpdated 12 days ago
    Backend & APIsAuto-check: notes
  • Operates Tianji Workers: create, test, deploy, invoke, schedule, pause and roll back them, plus manage their environment variables and shared modules.

    3.1k GitHub stars~1.1k tokensUpdated 2 days ago
    Backend & APIsAuto-check passed
  • Qstash JS

    upstash/qstash-js

    Official

    Work with the QStash JavaScript/TypeScript SDK for serverless messaging, scheduling.

    269 GitHub stars~746 tokensUpdated 5 days ago
    Backend & APIsAuto-check passed
  • AWS Solution Architect

    alirezarezvani/claude-skills

    Design AWS architectures for startups using serverless patterns and IaC templates.

    28k GitHub starsUsed in 1 repo~2.5k tokens
    Backend & APIsAuto-check passed

More from maplibre/maplibre-agent-skills

All 10 skills in this repo
  • Maplibre Cartography

    maplibre/maplibre-agent-skills

    Cartographic principles for MapLibre GL JS — label and symbol legibility on imagery vs.

    151 GitHub stars~4.8k tokensUpdated yesterday
    Auto-check passed
  • Maplibre Fonts Glyphs

    maplibre/maplibre-agent-skills

    Configuring fonts and glyphs for MapLibre GL JS and MapLibre Native — the style's glyphs URL, self-hosting or generating font PBFs, the GL JS local-font fallback (omitted glyphs or a failed glyph…

    151 GitHub stars~2.6k tokensUpdated yesterday
    Auto-check passed
  • Maplibre Mapbox Migration

    maplibre/maplibre-agent-skills

    Migrating from Mapbox GL JS to MapLibre GL JS — package and import changes, removing the access token, choosing tile sources, plugin equivalents, and what you gain or give up.

    151 GitHub stars~4.7k tokensUpdated yesterday
    Auto-check passed
  • Maplibre Pmtiles Patterns

    maplibre/maplibre-agent-skills

    Serverless vector and raster tiles with PMTiles for MapLibre GL JS — single-file format, HTTP range requests, hosting on S3/R2/GitHub Pages, generating with Planetiler or tippecanoe, and the pmtiles…

    151 GitHub stars~4.6k tokensUpdated yesterday
    Auto-check passed
  • Maplibre Running Evals

    maplibre/maplibre-agent-skills

    The step-by-step procedure for running this repo's Promptfoo evals with a generator and a judge over provider APIs.

    151 GitHub stars~3.3k tokensUpdated yesterday
    Auto-check passed
  • Maplibre Source Wiring

    maplibre/maplibre-agent-skills

    Getting a MapLibre GL JS source to actually render — TileJSON url versus hand-wired tiles templates, matching source-layer names to the tile schema, layer order and inserting below labels, promoteId…

    151 GitHub stars~3.8k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Maplibre Tile Sources

What does Maplibre Tile Sources do?

How to choose and configure data sources for MapLibre GL JS — rendering your own data without tiles, hosted tile services, serverless PMTiles, self-hosted tile servers, tile schemas, and sprites. Maplibre Tile Sources is an agent skill from maplibre/maplibre-agent-skills. How to choose and configure data sources for MapLibre GL JS — rendering your own data without tiles, hosted tile services, serverless PMTiles, self-hosted tile servers, tile schemas, and sprites.

When should I use Maplibre Tile Sources?

Maplibre Tile Sources fits situations like: tasks that involve Serverless.

How do I install Maplibre Tile Sources in Claude Code?

Run `npx skills add maplibre/maplibre-agent-skills --skill maplibre-tile-sources -a claude-code`. Or copy the skill folder (skills/maplibre-tile-sources in maplibre/maplibre-agent-skills) into .claude/skills/maplibre-tile-sources in your project. Claude Code loads it when a task matches its description.

How do I install Maplibre Tile Sources in Codex?

Run `npx skills add maplibre/maplibre-agent-skills --skill maplibre-tile-sources -a codex`. Or copy the skill folder (skills/maplibre-tile-sources in maplibre/maplibre-agent-skills) into .agents/skills/maplibre-tile-sources in your project. Codex loads it when a task matches its description.

Can I use Maplibre Tile Sources in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add maplibre/maplibre-agent-skills --skill maplibre-tile-sources -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/maplibre-tile-sources, .gemini/skills/maplibre-tile-sources, .github/skills/maplibre-tile-sources and .opencode/skills/maplibre-tile-sources in your project.

What does Maplibre Tile Sources need to run?

SKILL.md names no scripts, command-line tools or credentials: Maplibre Tile Sources is instructions for the agent only.

Does Maplibre Tile Sources access the network?

SKILL.md names 15 domains. In commands or code: tiles.openfreemap.org; the agent is likely to contact it when it follows the instructions. As links in the text: github.com, maplibre.org, docs.protomaps.com, switch2osm.org, leafletjs.com, openfreemap.org, opendatacommons.org, wiki.openstreetmap.org, protomaps.com, openmaptiles.org, shortbread-tiles.org, flatgeobuf.org, geoparquet.org and cogeo.org. This is read from the text; nothing was executed.

Is Maplibre Tile Sources safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Maplibre Tile Sources use?

Maplibre Tile Sources has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Maplibre Tile Sources use?

About 6.4k tokens (SKILL.md is roughly 26k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Maplibre Tile Sources?

Skills that share tags, products or a category with Maplibre Tile Sources: Arcgis To Portaljs (datopian/portaljs, 2.4k stars), AWS Serverless Eda (zxkane/aws-skills, 367 stars), Nubase (OtterMind/Nubase, 622 stars) and Tianji Worker Operations (msgbyte/tianji, 3.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Maplibre Tile Sources?

maplibre (a GitHub organization) maintains it in maplibre/maplibre-agent-skills, which has 151 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 10, 2026.

Source: maplibre/maplibre-agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.