kepler-gl

kepler-gl is a skill for Claude Code, Codex from znlgis/opengis-skills. It costs 122 tokens per session (4,781 once invoked), scanned A, original, MIT.

A map-visualisation library for React web apps and Jupyter notebooks. It turns tables, CSV files, GeoJSON, and Python data into interactive maps with layers, filters, tooltips, and spatial summaries.

In plain words
What is it for?
Use it to build map dashboards, display points, lines, areas, heat maps, and 3D layers, filter data by time or value, animate changes, and embed maps in notebooks.
Why use it?
It removes much of the work needed to build an interactive map viewer for large geographic datasets. Map settings can be saved as JSON and restored later.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build map dashboards, display points, lines, areas, heat maps, and 3D layers, filter data by time or value, animate changes, and embed maps in notebooks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/znlgis/opengis-skills/kepler-gl
Install

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.

Any agent
npx skills add znlgis/opengis-skills --skill kepler-gl
Clone the repo
git clone --depth 1 https://github.com/znlgis/opengis-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for kepler-gl

README.md
[![agentmods](https://agentmods.dev/badge/skills/znlgis/opengis-skills/kepler-gl/github.svg)](https://agentmods.dev/skills/znlgis/opengis-skills/kepler-gl)
Your own site
<a href="https://agentmods.dev/skills/znlgis/opengis-skills/kepler-gl"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/kepler-gl/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.

agentmods 80×15 button for kepler-gl

Your own site · 80×15
<a href="https://agentmods.dev/skills/znlgis/opengis-skills/kepler-gl"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/kepler-gl.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,781 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00122 $0.04781
Opus 5.5 $0.00049 $0.01912
Sonnet 5.5 $0.00024 $0.00956
Haiku 4.5 $0.00012 $0.00478

Measured 19d ago against content hash 88493a96c350, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

kepler-gl 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.

gis/kepler-gl/SKILL.md · 308 lines

How it starts

The opening of the file, as written. The whole thing — 308 lines — stays where its author put it; the contents beside it link to each section on GitHub.

项目地址: https://github.com/keplergl/kepler.gl

官方文档: https://docs.kepler.gl/

最新版本: 3.3.0-alpha.20(2026-11-08,npm kepler.gl latest 标签与 GitHub Release v3.3.0-alpha.20 一致;仍为 3.3 预发布线,4.0 尚无稳定版)

PyPI: keplergl 0.4.0(Jupyter 小组件,版本节奏落后于前端,截至 2026-11)

许可证: MIT

概述

Kepler.gl 是 Uber 开源(现由社区维护)的地理数据可视化应用,同时也是可嵌入 React 应用的组件库。它把数据抽象成「字段 + 行」的表格模型,通过图层、过滤器、交互配置渲染基于 MapLibre GL 与 deck.gl 的地图,百万级点位可直接在浏览器中做过场动画与空间聚合。核心是一个 Redux 应用:组件、reducer、action、处理器相互解耦,业务方只需把数据整理成 Kepler.gl 的数据集结构即可。

  • 数据无关:CSV、GeoJSON、Pandas DataFrame、GeoPandas GeoDataFrame、Arrow 表统一转为 fields/rows
  • 图层体系:点、弧线、线、多边形、Hexbin、网格、热力、3D 建筑、H3、S2、瓦片(含 MVT)
  • 交互能力:过滤器(时间、范围、选择)、tooltip、图层可见性、时间轴动画、分屏对比
  • 配置可序列化:整张地图的 mapState / visState / mapStyle 可导出 JSON,再通过 addDataToMap 还原
  • 双形态:React 组件库(npm)与 Jupyter 小组件(PyPI),共享同一套数据与配置格式

环境准备

前端(npm)

Kepler.gl 3.x 的 peer 依赖由主包 kepler.gl 声明:react / react-dom >= 18.2,styled-components ^6.1.0。默认底图使用 MapLibre 与 CARTO 样式,不需要 Mapbox token。

# 方式一:整包(含 UMD、全部子包,适合 demo 与不开包优化的项目)
npm install kepler.gl

# 方式二:按需子包(生产项目推荐,体积更小)
npm install @kepler.gl/components @kepler.gl/actions @kepler.gl/reducers \
            @kepler.gl/processors @kepler.gl/schemas @kepler.gl/styles

# 若使用 Mapbox 官方样式(非 CARTO/MapLibre 样式)
npm install mapbox-gl

子包版本必须与主包一致,Kepler.gl 各包之间存在内部耦合,混版会出现难以定位的运行时错误:

npm ls kepler.gl @kepler.gl/components @kepler.gl/actions
python -c "import keplergl; print(keplergl.__version__)"

免打包(UMD)

<link rel="stylesheet" href="https://unpkg.com/maplibre-gl@^4/dist/maplibre-gl.css" />
<script src="https://unpkg.com/kepler.gl/umd/keplergl.min.js"></script>

UMD 构建的库名为 KeplerGl,AMD 加载时同样以 KeplerGl 注册;页面可直接通过全局变量获取组件与 action,适合无构建环境的演示页。

Python(Jupyter)

pip install keplergl==0.4.0

# 或使用 conda(注意:conda-forge 当前仍停在 0.3.2,需要 0.4.0 请用 pip)
conda install -c conda-forge keplergl

Read the full file on GitHub · 308 lines

Changes

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.

  1. 19d ago Changed · +1 lines 88493a96c350
  2. 21d ago Changed · -7 lines e8ca98e11a1f
  3. 1mo ago First seen · 314 lines · 122 tokens per session scan A b007eae1f126

Subscribe to this mod's changes

kepler-gl is a skill published in the GitHub repository znlgis/opengis-skills (87 stars, last pushed 20d ago), licensed MIT. It adds 122 tokens to every session and 4,781 once invoked, about $0.0005 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-10-28.

Related

kepler-gl compared with skills from other repositories

kepler-gl next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kepler-glznlgis/opengis-skillsSkill8720d agoMITA122Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k3d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code