cartodb/agent-skills

carto-connect-datawarehouse

Choose and configure the data warehouse engine connection for CARTO (BigQuery, Snowflake, Redshift, Postgres, Databricks, Oracle).

Quelltext ansehen

Verwendung

  1. Installationsbefehl kopieren und das Quellpaket vor der Installation in der eigenen Agentenumgebung prüfen.
  2. Benötigte Werkzeuge, Zugangsdaten und Hosts im Original prüfen.
  3. Eingabe und gewünschtes Ergebnis beschreiben und die Ausgabe mit den Quellen abgleichen.
npx skills add https://github.com/cartodb/agent-skills --skill carto-connect-datawarehouse

Vor dem Start

  • Die Installation umfasst weder Modellabo noch API-Kontingent oder Dateizugriffsrechte.
  • Sterne und Installationen zeigen Aktivität, keine unabhängige Qualitäts- oder Sicherheitsprüfung.
Originales Skill-Dokument

Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.

carto-connect-datawarehouse

CARTO runs spatial analytics in the user's own data warehouse. A connection is the bridge between CARTO and that warehouse: it carries credentials, target project/database scoping, and sometimes a service account or PAT. Most other CARTO operations (querying, importing, building maps, running workflows) require an existing connection.

TaskMCPCLI (fallback)
List / inspect connectionsexplore_data (list_connections on any session; get_connection is OAuth-only)carto connections list / get
Create / update a connectionmanage_connections (create, update) — OAuth session onlycarto connections create / update
Delete a connectiondelete (kind=connection) — OAuth session onlycarto connections delete
Access-path routing. With the MCP server attached, list over explore_data (list_connections); create/update over manage_connections; delete over delete. On a token session only list_connections is available — get_connection and the write tools (manage_connections, delete) need OAuth, so fall back to the carto connections CLI. Also use the CLI when the server isn't attached or for scripted setups. The engine-choice guidance and pitfalls below apply on either path. Detection signals: `carto-basics/references/access-paths.md`.

When to use this skill

  • The user wants to connect a new warehouse to CARTO.
  • The user is debugging a connection (auth failures, missing tables, permission errors).
  • A downstream skill needs a connection name and you don't yet know which engine the user has.
  • The user is rotating credentials or moving from one project/database to another.

Use `carto-explore-datawarehouse` once a connection exists and you want to inspect what's inside it.

Quick lifecycle (CLI)

bash
carto connections list --json             # what's already connected? (--all, --search "prod")
carto connections get <id>                # detailed view of one connection
carto connections create                  # interactive create
carto connections update <id>             # rotate credentials, change scoping
carto connections delete <id>             # remove (irreversible)

List/inspect are non-destructive — run them freely before deciding what to do. If the user already has a connection, don't push a new one — use the existing one.

Choosing an engine

EngineWhen to choose itReference
BigQueryGoogle Cloud users; CARTO's flagship integration; rich GIS functions native.references/bigquery.md
SnowflakeSnowflake-shop customers; geospatial via SQL functions and native types.references/snowflake.md
RedshiftAWS-shop customers on Redshift Serverless or RA3 clusters.references/redshift.md
PostgresSelf-hosted or RDS Postgres with PostGIS; common for small/medium deployments.references/postgres.md
DatabricksLakehouse / Unity Catalog users; SQL Warehouses for interactive workloads.references/databricks.md
OracleOracle Database with Spatial; on-prem or OCI / Autonomous Database.references/oracle.md

Common pitfalls

  • Auth-mode mismatch: BigQuery supports OAuth (interactive) and service-account JSON (CI). Pick one consistently per environment; mixing the two breaks shared connections.
  • Region vs project: Some engines need both an account/project and a region (Snowflake, Redshift). Skipping the region typically yields "endpoint not found" rather than a permissions error.
  • Default database/schema scoping: CARTO writes tilesets, named sources, and analytics output back into the warehouse. Confirm which dataset/schema CARTO may write to before creating the connection.
  • Permissions for describe and table reads come from the credential CARTO holds, not the user's CARTO role. A CARTO Admin with a low-privilege service account still sees "permission denied" from the warehouse.

What this skill doesn't cover

Verwandte Aufgaben

aus demselben Repository

Weitere Skills

Alle Skills
cartodb
Community

carto-composite-scoring

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

Installationen
2
GitHub Stars
6
Aktualisiert
20. Okt.
cartodb
Community

carto-create-builder-maps

Author, edit, publish, and validate CARTO Builder maps. Use when the user wants to create a map from a natural-language request, edit an existing map (datasets, layers, styling, privacy, popups, widgets, SQL parameters), duplicate one, upload custom marker icons, or wire up an AI agent on a map. Routes to the CARTO MCP server's map tools (createmap, updatemap, validatemap, readmaps, viewmap) when attached, and to the carto maps CLI — create, update, delete, publish, validate, schema, agents, scr

Installationen
2
GitHub Stars
6
Aktualisiert
20. Okt.
cartodb
Community

carto-create-workflow

Builds, schedules, and operates analytics DAGs in CARTO Workflows — the no-code/low-code orchestration layer over the data warehouse. Triggers when the user wants to author a workflow, run/edit one, schedule a DAG, or copy a workflow across profiles or orgs.

Installationen
2
GitHub Stars
6
Aktualisiert
20. Okt.
cartodb
Community

carto-develop-app

Generate a working geospatial app powered by CARTO and deck.gl — basemap, layers (vector / H3 / quadbin / raster), widgets, filters, legend, inputs, optional chat-with-map agent, and the right auth strategy (public token, OAuth, SSO, M2M, or CARTO-hosted).

Installationen
2
GitHub Stars
6
Aktualisiert
20. Okt.