Skip to content
Back to skills

Folium

ASecurity

"Create and troubleshoot Folium maps, GeoJSON layers, choropleths,

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
ai-agentspythonrustflask

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 20 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill folium --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Folium?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Folium
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-folium/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-folium)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: folium
description: "Create and troubleshoot Folium maps, GeoJSON layers, choropleths,
  and plugins for browser-rendered Leaflet output."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# Folium

Use this repo skill when a task asks for Folium maps, layers, choropleths, plugins, or browser-rendered HTML output from Python. It is organized by user workflow, not by source file.

## Start here

- Install the package with `python -m pip install folium`.
- If you are working from a local checkout, use an editable install only after the package dependencies are available.
- Verify the install with `python -c "import folium; print(folium.__version__)"`.
- Install support packages only when the chosen workflow needs them: `pandas`, `geopandas`, `pillow`, `flask`, `jenkspy`, or `selenium`.

## Route map

- `sub-skills/map-and-layers/` — base maps, tiles, markers, popups, layer controls, vector/raster overlays, custom panes, browser embedding, PNG export, and JS/CSS resource handling.
- `sub-skills/geojson-and-data/` — `GeoJson`, `TopoJson`, `Choropleth`, GeoDataFrame and `__geo_interface__` inputs, styling, tooltips, popups, and coordinate-order troubleshooting.
- `sub-skills/plugins/` — clustering, drawing, search, time sliders, realtime data, layer comparison, vector tiles, and WebGLEarth.
- `references/package-overview.md` — high-level package summary, output model, and optional dependency map.
- `references/troubleshooting.md` — cross-cutting install/import, optional dependency, browser/CDN, and staleness issues.
- `references/repo-provenance.md` — source snapshot and refresh baseline.
- `scripts/smoke_render_map.py` — deterministic HTML render smoke check.

## Minimal usage

```python
import folium

m = folium.Map(location=[45.5236, -122.6750])
m.save("map.html")
```

For notebook work, `m._repr_html_()` renders the map inline, while `m._repr_png_()` only works when PNG export is enabled and the browser export dependencies are available.

## How to choose a sub-skill

- Choose `map-and-layers` when the user asks to build a map, add tiles or markers, compose layers, embed Folium in Flask or HTML, or diagnose PNG/export issues.
- Choose `geojson-and-data` when the task involves GeoJSON/TopoJSON, GeoDataFrame input, choropleths, `key_on`, feature styling, or coordinate-order issues.
- Choose `plugins` when the task involves clustering, draw/search controls, time-based data, live feeds, vector tiles, or WebGLEarth.

## Reading order for staleness checks

1. `references/repo-provenance.md`
2. `references/package-overview.md`
3. the relevant sub-skill `SKILL.md`
4. the relevant bundled reference or script

If the current checkout commit, working tree state, or package version no longer matches `references/repo-provenance.md`, refresh the skill before trusting it for new work.

Files in this skill

  • SKILL.md2.8 KB
  • references/package-overview.md2.9 KB
  • references/repo-provenance.md1.4 KB
  • references/repo-routing-metadata.json406 B
  • references/troubleshooting.md2.9 KB
  • scripts/smoke_render_map.py2.6 KB
  • sub-skills/geojson-and-data/SKILL.md3 KB
  • sub-skills/geojson-and-data/references/data-formats.md3.4 KB
  • sub-skills/geojson-and-data/references/geojson-choropleth-workflows.md3.5 KB
  • sub-skills/geojson-and-data/references/troubleshooting.md4.5 KB
  • sub-skills/geojson-and-data/scripts/render_geojson_choropleth.py11.5 KB
  • sub-skills/map-and-layers/SKILL.md2.5 KB
  • sub-skills/map-and-layers/references/api-reference.md9.3 KB
  • sub-skills/map-and-layers/references/map-layer-workflows.md3.6 KB
  • sub-skills/map-and-layers/references/troubleshooting.md4.2 KB
  • sub-skills/map-and-layers/scripts/flask_embed_example.py3.2 KB
  • sub-skills/map-and-layers/scripts/render_core_map.py2.7 KB
  • sub-skills/plugins/SKILL.md3.2 KB
  • sub-skills/plugins/references/plugin-catalog.md5.7 KB
  • sub-skills/plugins/references/plugin-workflows.md5.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.