cartodb/agent-skills

carto-explore-datawarehouse

Discover what's in the connected warehouse — schemas, tables, columns, and CARTO named sources.

Ver código-fonte

Como usar

  1. Copie o comando e verifique o pacote antes de instalar no seu ambiente de agente.
  2. Consulte no original as ferramentas, credenciais e ambientes necessários.
  3. Descreva os dados de entrada e a entrega esperada; confira a saída com as fontes.
npx skills add https://github.com/cartodb/agent-skills --skill carto-explore-datawarehouse

Antes de começar

  • A instalação não inclui assinatura de modelo, franquia API ou acesso aos seus arquivos.
  • Estrelas e instalações indicam atividade, não um teste independente de qualidade ou segurança.
Documento original do Skill

Renderizado do repositório de origem, preservando títulos, exemplos, código, tabelas, links e imagens.

carto-explore-datawarehouse

Before writing SQL or building maps, an agent usually needs to know what's in the warehouse. This skill covers discovery, matched across MCP and CLI:

TaskMCP (primary)CLI (fallback)
List / inspect connectionsexplore_data (list_connections, get_connection)carto connections list / get
Walk the hierarchy (project → dataset → table)explore_data (list_resources)carto connections browse
Full-text find a resourceexplore_data (search)—
Columns + types for a tableexplore_data (describe)carto connections describe
Find / inspect a named sourcemanage_named_sources (list, get)carto named-sources list / get
Access-path routing. explore_data works on any attached MCP session, but not all its methods do on a token: list_connections, list_resources, and search need only the MCP Server scope, while `describe` additionally needs the Maps API on a token session (it's always available over OAuth). manage_named_sources is an authoring tool, so it needs an OAuth session (it's hidden on token sessions). Use the carto connections / carto named-sources CLI when the server isn't attached, when a token lacks the scope for describe, or when the exploration is scripted/headless. Detection signals and the full routing table: `carto-basics/references/access-paths.md`.

When to use this skill

  • You don't know which tables / schemas exist in a connection.
  • You need a column list and types before writing SQL or authoring a map.
  • The user references "the named source for X" and you need to find it.

If you already know the table and just want to query it, jump to `carto-query-datawarehouse`.

Path syntax by engine

The path passed to list_resources / describe (or connections browse / describe) depends on the engine:

EnginePath shape
BigQueryproject.dataset.table
SnowflakeDATABASE.SCHEMA.TABLE
Postgres / Redshiftschema.table (no leading project/database)
Databrickscatalog.schema.table

CLI examples:

bash
carto connections browse <name>                                  # top level
carto connections browse <name> "carto-demo-data.demo_tables"    # drill in
carto connections describe <name> "carto-demo-data.demo_tables.nyc_collisions"

What's in this skill

TopicReference
Browsing and describing a connection in detailreferences/connection-browse.md
Named sources — what they are, how to list and inspect themreferences/named-sources.md

Always-on guidance

  • Browse before you query. A two-second list_resources usually saves a five-minute "table not found" loop.
  • `describe` returns column types — use them to write correct SQL (e.g. don't ST_DWithin against a STRING column mistakenly named geom).
  • Paginate long lists — CLI browse defaults to --page-size 30; bump it for datasets with hundreds of tables.
  • Named sources ≠ tables. They're parameterized queries — inspect the underlying tables before assuming a column you see in the source exists in raw form.
  • `carto-demo-data` is a public BigQuery dataset CARTO ships — browsing it works on any BigQuery connection with the right IAM, a fast way to validate a fresh connection without touching customer data.

Relacionados por tarefa

do mesmo repositório

Mais Skills

Todos os Skills
cartodb
Comunidade

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.

instalações
2
GitHub Stars
6
Atualizado
20 de out.
cartodb
Comunidade

carto-connect-datawarehouse

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

instalações
2
GitHub Stars
6
Atualizado
20 de out.
cartodb
Comunidade

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

instalações
2
GitHub Stars
6
Atualizado
20 de out.
cartodb
Comunidade

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.

instalações
2
GitHub Stars
6
Atualizado
20 de out.