Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

mapbox

БесплатноЗапускает вложенные скриптыНе проверен

Route Mapbox work to the twenty official Mapbox Agent Skills instead of restating them, and own what they cannot know — key locations, measured…

SimHackerот SimHacker★ 63 звезды на GitHub

Об этом скилле

Mapbox

Mapbox wrote twenty skills. This one decides which two you need.

Mapbox publishes twenty Agent Skills under MIT at mapbox/mapbox-agent-skills — 6,128 lines of SKILL.md, each with an AGENTS.md quick reference, an evals/evals.json, and a references/ directory. They are good. This skill does not replace them and does not copy them.

It exists because of three things they do not do.

They ship no router. Twenty skills with no "which one?" layer means the honest default is loading too much, and attention is the scarce resource, not Mapbox knowledge.

They never say referer or 403 — zero occurrences across all 6,128 lines. They tell you to set URL restrictions but never document the mechanism or its symptom, so the most common token failure is undiagnosable from their text.

They cannot know your machine: which vault holds which token, which of your tokens is safe in a browser and which is safe in a shell, and which of your frameworks bakes secrets into a build artifact.

Quick start

cd skills/mapbox
python3 scripts/mapbox_router.py where                  # find the upstream checkout
python3 scripts/mapbox_router.py list                   # the twenty, with descriptions
python3 scripts/mapbox_router.py route "geocoder 403"   # which skills to load
python3 scripts/mapbox_router.py doctor                  # probe tokens and tooling live
python3 scripts/mapbox_router.py measured                # findings upstream lacks

The script is its own documentation (sister-script): imports, globals, CLI definition, implementation. Read the top for the interface.

Mounting upstream

The relationship is endosymbiotic in the sense moollm already uses the word — Margulis, by way of soul-city and the korz designs. The official repo is an organelle: engulfed, but keeping its own genome. It has its own remote, its own license and its own release cadence, and the host supplies only the envelope — routing, local keys, measured behaviour. Vendoring would be the opposite operation, copying the DNA into the nucleus and inheriting its maintenance forever.

Clone it beside your other repos and add it to the workspace. Nothing is vendored, so a refresh is one pull.

git clone https://github.com/mapbox/mapbox-agent-skills
git -C mapbox-agent-skills pull        # refresh whenever

The resolver tries, in order: $MAPBOX_AGENT_SKILLS, then ~/GroundUp/git/, ~/git/, ~/src/, then ./, ../, ../../ for a sibling checkout, then ~/.agents/skills and ~/.claude/skills where npx skills add mapbox/mapbox-agent-skills installs them. If all miss, every command still answers and points at the URL rather than failing.

Four other install routes exist and all deliver the same content: npx skills add mapbox/mapbox-agent-skills, /plugin marketplace add mapbox/mapbox-agent-skills (which also wires up the three MCP servers), mapbox agent-skills install, or a plain clone.

ROUTE

Give the question in plain words; get two or three skill names.

python3 scripts/mapbox_router.py route "my svelte map is slow and geocoding returns 403"

Routing is coarse keyword matching on purpose. The goal is loading three skills instead of twenty, not cleverness. When nothing matches, it says so and points at list rather than guessing.

When the subject is one upstream does not cover, it says that too, and names the surface that does. Tilesets, fonts, sprites, accounts, Atlas and the licensed data products have no skill; they have CLI commands.

DIAGNOSE

A Mapbox 403 is almost always the URL restriction, and the decision tree is short. Run doctor, which probes a passing origin, the dev port, the preview port, an unrelated origin, and no referer at all.

Read the result like this. No referer is 403 for any restricted token, which means that token is dead from curl, CI, a server-side fetch, and every MCP server — they all send none. Keep an unrestricted token for those and never ship it in a bundle. An unrelated origin answering 200 means the restriction is not in force; check the list actually saved. The dev port passing while the preview port fails means the entry is an exact port, and each origin has to be listed explicitly. You cannot fix it the documented way: the console rejects http://localhost:* with "Wildcard characters (*) are not supported in URL restrictions", so the patterns upstream's mapbox-token-security lists as recommended cannot be entered at all. The field accepts a comma-separated list, and an apex entry covers the www host for free.

Three measured traps will otherwise cost you an afternoon.

Enforcement is per-endpoint. Tile and data requests enforce the restriction; style metadata at /styles/v1/<user>/<id> answered 200 from every origin tried. A passing metadata call proves nothing — probe a tile.

Edits take minutes to reach the edge, and the int

Полный SKILL.md на GitHub

Установить mapbox в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

read_file
write_file
run_terminal_cmd

Вложенные файлы

CARD.ymlCAULDRON.mdGLANCE.ymlREADME.mdscripts/mapbox_router.pyscripts/snitch_mapbox_skills.pyskill-snitch-report.mdskill-snitches/CORPUS.ymlskill-snitches/README.mdskill-snitches/findings.ymlskill-snitches/mapbox-android-patterns/skill-snitch-report.mdskill-snitches/mapbox-cartography/skill-snitch-report.mdskill-snitches/mapbox-data-visualization-patterns/skill-snitch-report.mdskill-snitches/mapbox-flutter-patterns/skill-snitch-report.mdskill-snitches/mapbox-geospatial-operations/skill-snitch-report.mdskill-snitches/mapbox-google-maps-migration/skill-snitch-report.mdskill-snitches/mapbox-ios-patterns/skill-snitch-report.mdskill-snitches/mapbox-location-grounding/skill-snitch-report.mdskill-snitches/mapbox-maplibre-migration/skill-snitch-report.mdskill-snitches/mapbox-mcp-devkit-patterns/skill-snitch-report.mdskill-snitches/mapbox-mcp-runtime-patterns/skill-snitch-report.mdskill-snitches/mapbox-navigation-patterns/skill-snitch-report.mdskill-snitches/mapbox-search-integration/skill-snitch-report.mdskill-snitches/mapbox-search-patterns/skill-snitch-report.mdskill-snitches/mapbox-store-locator-patterns/skill-snitch-report.mdskill-snitches/mapbox-style-patterns/skill-snitch-report.mdskill-snitches/mapbox-style-quality/skill-snitch-report.mdskill-snitches/mapbox-token-security/skill-snitch-report.mdskill-snitches/mapbox-web-integration-patterns/skill-snitch-report.mdskill-snitches/mapbox-web-performance-patterns/skill-snitch-report.md

FAQ

Что делает скилл mapbox?

Route Mapbox work to the twenty official Mapbox Agent Skills instead of restating them, and own what they cannot know — key locations, measured token-restriction behaviour, and the choice between CLI, REST, MCP and SDK. Use when working with maps, tokens, geocoding, routing, styles, or tiles.

Как установить скилл mapbox?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл mapbox запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить mapbox с