Generates a working CARTO + deck.gl geospatial app from a prompt — basemap, vector/H3/quadbin/raster layers, widgets, filters, legend, inputs, optional chat-with-map agent, and auth strategy.
Ships in carto-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Generate a working CARTO + deck.gl app from a prompt. Four decisions — app type, framework, auth model, data shape — then assemble layers, widgets, filters, inputs, a legend, and (optionally) an embedded map agent.
Apps follow the CartoDB/deck.gl-examples blueprint. Layers from @deck.gl/carto; data sources, widgets, filters, fetchMap, query() from @carto/api-client (sources left @deck.gl/carto in v0.4.0 — don't import them from there).
Access path. This is a CLI-path skill: scaffolding and running an app needs a real shell and dev environment (npm, Vite), and no MCP tool generates an app — so this can't run on sandboxed chat hosts (Claude.ai, ChatGPT). Only the credential/discovery steps have MCP equivalents: over an OAuth MCP session, mint tokens with
manage_api_access_tokens, OAuth/M2M clients withmanage_oauth_clients, and discover map/workflow IDs withread_maps/read_workflows. Everything else needs the shell. Path detection:carto-basics/references/access-paths.md.
fetchmap.md.storymap.md (composes on top of the React scaffold below).agentic-variant.md.carto-create-builder-maps. Migrating a Builder map across orgs / profiles → cross-profile-copy.md.Generate the env via the CARTO CLI. Don't interview the user. Pass --json and parse.
Run, then write .env:
carto auth status --json # → tenant_id (region) → apiBaseUrl
carto connections list --json # → connectionName (default: carto_dw)
# One token, ONE grant per source — repeat --connection alongside every --source.
carto credentials create token --json \
--connection <connectionName> --source <fully.qualified.table.A> \
--connection <connectionName> --source <fully.qualified.table.B> \
--apis sql,maps \
--referers 'http://localhost:5173*,<production-origin>*'
One token, many grants — not one token per table. --connection and --source pair positionally, so repeat --connection for every --source. Use --referers (plural CSV); --referer (singular) overwrites if repeated. Referers are wildcard-matched against the browser's full page URL, so end each pattern with * (a bare http://localhost:5173 won't match the http://localhost:5173/ browsers actually send). --apis and grants are independent: maps covers sources/layers, sql covers query(), and a *QuerySource needs its query in the grant — see auth-public-token.md.
Private apps swap the token command for carto credentials create spa --json (OAuth) or carto credentials create m2m --json (M2M). Hosted apps need no credential at all: skip the token step and follow auth-hosted.md.
If carto isn't on PATH or auth status fails: say so once and stop — print the missing command. Don't fall back to interviewing. Assumes a working CLI (carto-basics).
Only ask what the CLI can't answer: table name (if not obvious) and ambiguous app-shape choices below.
fetchmap.md. Done.
1b. Storymap shape? Cues: "story map", "scrollytelling", "guided tour", "scenes/chapters/slides", "fly through". → storymap.md. Still pick the React scaffold + sources/layers below; storymap is a state pattern layered on top, not a separate scaffold.scaffold-vanilla.md) unless the prompt says "production", "auth", "deploy", "team", "multi-screen" → React (scaffold-react.md). Vue / Angular only if explicitly named (scaffold-vue-angular.md).auth-public-token.md)auth-private-oauth.md)auth-private-sso.md)auth-m2m.md)carto app deploy → CARTO-hosted, viewer token at runtime (auth-hosted.md). Needs the Hosted Apps flag; not for anonymous access.data-sources.md + layers.md: points/lines/polygons → vector; H3 → H3; quadbin → quadbin; surfaces → raster. Wire the basemap and view-state sync via basemap-and-view.md.Then layer in only what was asked for: widgets, filters, inputs, legend, SQL/workflows, agentic chat. Recipes in recipes/.
design-and-theming.md.apiBaseUrl is https://<tenant_id>.api.carto.com, with tenant_id (the region, e.g. gcp-us-east1) from carto auth status --json. tenant_domain is the organization's own domain (e.g. clausa.app.carto.com) and carries no region. apis.baseUrl in https://<tenant_domain>/config.yaml is authoritative (self-hosted included). Never hard-code.connectionName defaults to carto_dw; confirm via carto connections list --json.--source and limit --apis to sql,maps. Never imports / lds in a public bundle.carto-create-workflow; the app then reads its output table or CALLs its procedure via the Workflows API (or, if an embedded agent drives it, invokes it as a published MCP tool). Heavy logic stays server-side; the app passes parameters. See workflows-and-sql.md.filters object is shared by source helpers and widget methods. Mutating it triggers re-fetch on both.layers array, last = on top — not CSS z-index. Restack by changing array position and passing a fresh array (never mutate in place); z-index orders DOM panels, never layers on the shared canvas. See layers.md. (Opaque fills hiding basemap labels is a separate, basemap-side question — basemap-and-view.md.)onViewStateChange.design-and-theming.md.npm install && npm run dev and report the URL.references/agentic-variant.md (opens in a new tab)references/auth-hosted.md (opens in a new tab)references/auth-m2m.md (opens in a new tab)references/auth-private-oauth.md (opens in a new tab)references/auth-private-sso.md (opens in a new tab)references/auth-public-token.md (opens in a new tab)references/basemap-and-view.md (opens in a new tab)references/data-sources.md (opens in a new tab)references/design-and-theming.md (opens in a new tab)references/fetchmap.md (opens in a new tab)references/filters.md (opens in a new tab)references/inputs-and-parameters.md (opens in a new tab)references/layers.md (opens in a new tab)references/legend.md (opens in a new tab)references/recipes/chat-with-map.md (opens in a new tab)references/recipes/fetchmap-loader.md (opens in a new tab)references/recipes/parameterized-query.md (opens in a new tab)references/recipes/raster-temperature.md (opens in a new tab)references/recipes/react-h3-aggregation.md (opens in a new tab)references/recipes/react-private-app-oauth.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
24 skills in this plugin
/carto-arcgis-migrationEnd-to-end ArcGIS Portal / AGOL → CARTO migration. Triggers when the user wants to migrate ArcGIS content to CARTO, plan a migration, asks "what's in my Portal", names a Portal/AGOL URL, or asks to migrate the datasets / web maps / simple apps. Runs three phases — discover (enumerate items + write MIGRATION_MANIFEST.md), migrate-data (Hosted Feature Layers / Tables → CARTO tables), migrate-maps (Web Maps + simple Dashboards / Web Experiences / Web Mapping Apps → CARTO Builder maps). Default mode is batch; migrated maps are always tagged `From ArcGIS` and created as private./carto-basicsStart here for first-time CARTO use. Orients on the two parallel access paths into the CARTO platform — the MCP server (the primary path for inline, in-conversation work in chat hosts, including creating and editing maps and Workflows) and the CLI (for scripting, CI/CD, headless and bulk/cross-org work, and deeper administration and auditing such as usage-log queries) — and which skills cover each. Also covers CLI install, authentication, profiles, JSON output, and async job patterns./carto-composite-scoringGuides the user through building composite score workflows when they ask about composite scores, indexes, multi-variable scores, ranking areas, site scoring, market potential, resilience indexes, risk indexes, weighted scores, PCA, or supervised/unsupervised scoring./carto-skills:carto-develop-appfrom carto-skills
npx claudepluginhub cartodb/agent-skills --plugin carto-skillsOther plugins' skills for the same job