Install
$ agentstack add skill-cartodb-agent-skills-carto-import-export-data ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
carto-import-export-data
Move data into the warehouse from local files / URLs (carto import), pull data out (carto activity export for usage data; warehouse-native unloads for everything else), and prepare tilesets for performant map rendering of large geospatial datasets.
When to use this skill
- The user has a CSV / GeoJSON / Shapefile / GeoParquet file and wants it queryable in the warehouse.
- The user wants to refresh an existing table from a remote URL.
- The user wants to render a 10M+-row spatial dataset on a map (needs tileset preparation).
- The user is bulk-exporting CARTO activity data to disk for offline analysis.
If the user just wants to query a file already in the warehouse, jump to [carto-query-datawarehouse](../carto-query-datawarehouse). If they want to discover what's already there, [carto-explore-datawarehouse](../carto-explore-datawarehouse).
Quick reference
# Import a local file
carto import --file ./data.csv \
--connection carto_dw \
--destination project.dataset.table
# Import from a URL
carto import --url https://example.com/data.geojson \
--connection carto_dw \
--destination my_project.demo.regions
# Async (return immediately, poll separately)
carto import --file ./big.parquet \
--connection carto_dw \
--destination my_project.demo.huge \
--async
# Overwrite existing table
carto import --file ./data.csv \
--connection carto_dw \
--destination my_project.demo.t \
--overwrite
What's in this skill
| Topic | Reference | |---|---| | carto import — flags, formats, size limits, async | [references/imports.md](references/imports.md) | | Tileset preparation for large maps | [references/tilesets.md](references/tilesets.md) | | Exporting data: warehouse-native unloads vs activity export | [references/exports.md](references/exports.md) |
Always-on guidance
- **
--connectionis the connection name** (fromconnections list), not the warehouse project ID. If you only know the project, runcarto connections list --jsonfirst to find the matching connection. --destinationis the fully-qualified target name in the warehouse's syntax:project.dataset.table(BigQuery),DATABASE.SCHEMA.TABLE(Snowflake),schema.table(Postgres/Redshift),catalog.schema.table(Databricks),SCHEMA.TABLE(Oracle).- 1GB hard limit per file. For larger files, split or pre-stage to cloud storage and use
--urlto a presigned URL. --no-autoguessingskips column type detection — use it when you've prepared a precise schema and don't want CARTO to second-guess types (especially for columns that look numeric but should stay string, like ZIP codes).- Imports are async at the API level. The CLI defaults to polling-to-completion; pass
--asyncto return immediately. The CLI prints a job ID in async mode that you can use to check progress. - For tilesets, the workflow is import → SQL job to materialize a tileset table → reference the tileset in a map. The tileset itself is created in the warehouse, not by the CLI.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: CartoDB
- Source: CartoDB/agent-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.