/arcgis-sdks-and-apis-plugin:build-with-arcgis-api-for-pythonfrom arcgis-sdks-and-apis-plugin
Provides guidance on using the ArcGIS API for Python for GIS visualization, analysis, data management, and portal administration. Covers authentication, Spatially Enabled DataFrames, queries, publishing, geocoding, routing, and arcgis.ai.
Ships in arcgis-sdks-and-apis-plugin. 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.
The ArcGIS API for Python (arcgis) is a Python library for GIS visualization, analysis, data management and administration. Use it in scripts, notebooks and scheduled jobs to access ArcGIS services and automate spatial and portal workflows.
If the application's development requirements are unclear, use the gather-arcgis-application-requirements skill to review project context and clarify consequential unknowns before proceeding. Then apply this skill's technology-specific guidance, reusing requirements already clear from the request or project.
Developers must have one of the following ArcGIS accounts to create applications: ArcGIS Location Platform (free), or ArcGIS Online or ArcGIS Enterprise with a Creator, Professional, or Professional Plus user type. The account's user type, role, and privileges provide access to different resources and operations.
DO NOT SKIP: Refer to the follow-arcgis-authentication-patterns skill for ArcGIS authentication requirements, including the appropriate type of authentication for different audiences, use cases, and types of application. If the skill is not available, search the project for any existing authentication patterns, and if none are found, query the Esri MCP server for developer documentation for authentication best practices.
Developer credentials are portal items for API key or OAuth credentials, not organization-wide sign-in configuration. Creating these items is separate from authenticating a script's user through an existing application registration or session; not every script needs its own credential item.
Keep installation and environment setup guidance in this skill, not in topic reference files.
arcgis-mapping/rendering and geometry/I/O engines as needed; arcgis is not ArcPy.arcgis-mapping package provides the arcgis.map module; import mapping classes with from arcgis.map import Map, Scene.Installing this skill individually does not configure Esri MCP server for developer documentation (esri-mcp-server-for-developer-documentation). Add that server at https://developers-mcp.arcgis.com/mcp using your client's MCP settings, or install the full ArcGIS SDKs and APIs plugin (arcgis-sdks-and-apis-plugin). If the MCP server is unavailable, consult the linked official Esri documentation.
Documentation can be queried using the Esri MCP server for developer documentation (esri-mcp-server-for-developer-documentation):
https://developers-mcp.arcgis.com/mcp
Use the search_esri_developer_docs tool to surface authoritative documentation pages with python-api as the focus_area parameter in addition to a specified search_term. Use the fetch_esri_developer_doc tool with the page_url parameter set to return the full content of a documentation page in Markdown format.
Clearly indicate any recommendations and assumptions that are not grounded in the official documentation. If the MCP server is unavailable, consult official documentation URLs below.
arcgis package version from the user's active Python environment, if accessible.https://archive.developers.arcgis.com/v<version>/ (for example, https://archive.developers.arcgis.com/v2.4.3/), including when following links below or in references.https://developers.arcgis.com/python/latest/.Load only the reference relevant to the task. References marked as outlines are incomplete workflow outlines, not executable instructions. Continue to use the established patterns and validation process below when using them.
| Task | Reference |
|---|---|
Author, edit or visualize Web Maps/Web Scenes with arcgis.map.Map/Scene; configure layers, renderers, popups, symbols or Field Maps forms | Mapping with arcgis-mapping |
| Discover item dependencies and plan migration scope | Item dependency graphs |
| Clone between portals and investigate offline export/import | Cloning |
Analyze images or text, or translate text with arcgis.ai | AI-powered services |
Match APIs/return types to installed versions and deprecations, not blind upgrades. Load the mapping reference above only for map/scene authoring or visualization tasks; other ArcGIS workflows do not need its mapping-specific APIs.
For new environments, check Esri's current system requirements and release/install documentation, then use the newest ArcGIS API for Python version compatible with the target Python, ArcGIS Pro/Enterprise runtime, and other project constraints. Do not treat a version mentioned in a deprecation example or old project as the current default. In dependency files, avoid an exact pin unless reproducibility or deployment requires one; document and lock a tested version when deterministic installs are needed. Existing projects should retain their declared compatibility constraints unless the user asks to upgrade.
GIS()/GIS(portal_url) can read public data where allowed, and local processing needs no account. Credential-creation requirements do not apply to all API use. Check privileges/sharing and subscription/Enterprise-version limits.GIS("home") in hosted notebooks, GIS("pro") for Pro (Pro notebooks also support home). Verify portal/identity; reuse connections/refresh and explicit gis/geocoder where supported.GIS("home") and GIS("pro") require the corresponding ArcGIS notebook or ArcGIS Pro authentication context and fail without it. For standalone scripts without that context (for example, on macOS), use an explicit portal URL and a supported authentication method..spatial and .geom accessors when its accessor module is loaded. Explicit imports of GeoAccessor and GeoSeriesAccessor from arcgis.features provide that registration when working directly with pandas.pd.DataFrame.spatial.from_layer or layer.query(as_df=True); publish with sdf.spatial.to_featurelayer, export with to_featureclass.sdf.spatial.project(...) mutates in place, returning a boolean.to_featureclass overwrite explicitly (default: True).Folder.add/Item.sharing over deprecated ContentManager.add/Item.share.edit_features for small edits; consider supported append/upsert for 250+ inserts/updates (not a hard limit). Check formats/mappings/unique match keys; otherwise batch to service limits. Append does not delete.Retry-After; reconcile uncertain writes/jobs by IDs/keys/status first. Fix permission/schema errors instead of retrying.estimate=True; check fees, extent, spatial reference, units, output persistence and routing modes/restrictions/time.geocode(..., for_storage=True) for storage where required (default: False); check privileges/billing. batch_geocode has separate requirements, no for_storage.MaxBatchSize/SuggestedBatchSize; reconcile IDs, not order. Set search and spatial reference constraints; report unmatched/poor matches.Validate authorized work only; never write just to test.
arcgis, reports version; maps render as needed.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
15 skills in this plugin
/build-with-arcgis-and-cesiumjsBuild and troubleshoot browser-based 3D mapping apps with CesiumJS and ArcGIS. Use for ArcGIS basemaps, terrain, feature and map services, I3S/scene layers, geocoding, routing, places, and spatial analysis. Guide setup, authentication, ArcGIS REST JS integration, coordinate handling, attribution, and performance using current Esri documentation./build-with-arcgis-and-openlayersUse to build, extend, and troubleshoot browser based mapping applications with OpenLayers and ArcGIS services. Covers how to combine OpenLayers with ArcGIS basemaps, feature services, vector or raster tiles, location services, geocoding, routing, places, elevation, or secure ArcGIS resources. Includes ESM setup, ol-mapbox-style, ArcGIS REST JS, API keys and OAuth, projections, queries and pagination, styling, popups, editing, attribution, and performance./build-with-arcgis-maplibreUse for displaying maps in a browser environment with MapLibre GL JS and ArcGIS services with @esri/maplibre-arcgis: Render ArcGIS basemaps, styles, sessions, feature layers, vector tiles, queries, and location services with authentication. Covers install, setup, debug, documentation, best practices, guidelines, explanations, and validation.npx claudepluginhub esri/esri-developer-agent-skills --plugin arcgis-sdks-and-apis-pluginOther plugins' skills for the same job