Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add znlgis/opengis-skills --skill maplibre-nativegit clone --depth 1 https://github.com/znlgis/opengis-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/znlgis/opengis-skills/maplibre-native)<a href="https://agentmods.dev/skills/znlgis/opengis-skills/maplibre-native"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/maplibre-native/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/znlgis/opengis-skills/maplibre-native"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/maplibre-native.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00112 | $0.05814 |
| Opus 5.5 | $0.00045 | $0.02326 |
| Sonnet 5.5 | $0.00022 | $0.01163 |
| Haiku 4.5 | $0.00011 | $0.00581 |
Grade A, and why
maplibre-native scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 19d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 384 lines — stays where its author put it; the contents beside it link to each section on GitHub.
项目地址: https://github.com/maplibre/maplibre-native
开发者文档: https://maplibre.org/maplibre-native/docs/book/(架构、构建与贡献指南)
最新版本: Android
13.5.4(GitHub Latest、Maven,13.x 特性线同时有13.7.1)/ iOS7.0.0(CocoaPodsMapLibre)/ Node@maplibre/maplibre-gl-native6.4.1(截至 2026-11,发布记录;另有*-YYYY.MM.DD-globe实验线,非稳定版)许可证: BSD-2-Clause(含部分 FreeType 等第三方组件,见
LICENSES.core.md)
概述
MapLibre Native 是 Mapbox GL Native 的非商业许可分叉(2020-12 上游改为专有许可后分出),核心是一套 C++ 渲染引擎:解析 MapLibre Style Spec,按需拉取矢量/栅格瓦片,在 GPU 上批量绘制标注与几何。各平台只是同一内核的绑定层,因此样式、瓦片与交互语义在 Android/iOS/桌面/Node 之间保持一致。
- GPU 矢量渲染:OpenGL ES(Android)、Metal(iOS/macOS)等后端驱动,支持连续缩放与运行时样式切换
- Style Spec 驱动:与 maplibre-gl-js 共用样式规范,同一份 JSON 可在前端与原生端复用
- 平台绑定:Android(
org.maplibre.gl:android-sdk)、iOS/macOS(CocoaPodsMapLibre、SPM)、Node.js(@maplibre/maplibre-gl-native)、Qt(maplibre-native-qt)、Compose Multiplatform(maplibre-compose) - 离线能力:瓦片缓存与离线区域下载,弱网/移动端场景可预置底图
- 可嵌入 C++:Linux/Windows 构建产出
.a/库文件与渲染工具,可嵌入自有 C++ 应用 - 免 token:不依赖商业账号,底图可用 demotiles 或自建瓦片服务
与相邻技术的差异:maplibre-gl-js 是浏览器端 JS 实现,适合网页;MapLibre Native 面向原生应用与离线场景,性能与内存控制更贴近移动端;CesiumJS/Cesium Native 偏三维地球,MapLibre Native 以二维矢量地图为主(三维地形为辅助能力)。
环境准备
Android
Maven 坐标在 Maven Central,版本以 Maven 元数据 为准。2026-11 时 13.x 特性线最新为 13.7.1,而 GitHub 标为 Latest 的是更晚发布的维护版 13.5.4——两者都在维护,按项目策略选用并保持一致。
dependencies {
implementation 'org.maplibre.gl:android-sdk:13.5.4'
}
<org.maplibre.android.maps.MapView
android:id="@+id/mapView"
android:layout_width="match_parent"
android:layout_height="match_parent" />
import org.maplibre.android.MapLibre
import org.maplibre.android.camera.CameraPosition
import org.maplibre.android.geometry.LatLng
import org.maplibre.android.maps.MapView
class MainActivity : AppCompatActivity() {
private lateinit var mapView: MapView
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
MapLibre.getInstance(this) // 必须在 MapView 之前初始化
setContentView(R.layout.activity_main)
mapView = findViewById(R.id.mapView)
mapView.getMapAsync { map ->
map.setStyle("https://demotiles.maplibre.org/style.json")
map.cameraPosition = CameraPosition.Builder()
.target(LatLng(0.0, 0.0))
.zoom(1.0)
.build()
}
}
override fun onStart() { super.onStart(); mapView.onStart() }
override fun onResume() { super.onResume(); mapView.onResume() }
override fun onPause() { super.onPause(); mapView.onPause() }
override fun onStop() { super.onStop(); mapView.onStop() }
override fun onLowMemory() { super.onLowMemory(); mapView.onLowMemory() }
override fun onDestroy() { super.onDestroy(); mapView.onDestroy() }
}
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 19d ago First seen · 384 lines · 112 tokens per session scan A 869f618a885b
maplibre-native is a skill published in the GitHub repository znlgis/opengis-skills (87 stars, last pushed 20d ago), licensed MIT. It adds 112 tokens to every session and 5,814 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-12.
maplibre-native compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| maplibre-nativeznlgis/opengis-skills | Skill | 87 | 20d ago | MIT | A | 112 | Claude Code, Codex |
| orca-emulator-androidstablyai/orca | Skill | 147k | today | MIT | A | 102 | Claude Code, Codex |
| glance-canonical-layoutsandroid/skills | Skill | 11k | 7d ago | Apache-2.0 | A | 56 | Claude Code |
| android-tombstone-symbolicationdotnet/skills | Skill | 6.4k | today | MIT | A | 176 | Claude Code |
| dogfoodcallstack/agent-device | Skill | 5.6k | today | MIT | A | 55 | Claude Code |
| winapp-mauimicrosoft/winappCli | Skill | 1.4k | today | MIT | A | 68 | Claude Code |
| flutter-devMiniMax-AI/skills | Skill | 14k | 20d ago | MIT | A | 83 | Claude Code |