ArcGIS API Patterns

Automate ArcGIS API authentication, content management, sharing, and administration in Python scripts.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/franzenjb/county-consolidation-tool --skill arcgis-api-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ArcGIS API Patterns
Source: https://github.com/franzenjb/county-consolidation-tool/tree/main/arcgis-api
Command: npx skills add https://github.com/franzenjb/county-consolidation-tool --skill arcgis-api-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

ArcGIS API Patterns provides reusable patterns and guidance for automating ArcGIS API interactions in Python, including authentication, content management, sharing, and administration, to reduce boilerplate and errors.

Core Features & Use Cases

  • ArcGIS authentication patterns: recommended approaches for GIS scripts and notebooks.
  • Content management and sharing: programmatic item creation, updating, and sharing with orgs or groups.
  • Publishing workflows: automate content publishing and management via the arcgis package.

Quick Start

Authenticate with GIS using environment variables or OAuth, then perform common ArcGIS content management tasks programmatically.

Frequently Asked Questions about ArcGIS API Patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I authenticate to ArcGIS Online or Enterprise using the arcgis Python package?

ArcGIS authentication in Python scripts is handled by initializing the GIS object with credentials stored in environment variables, supporting both standard logins and OAuth workflows for secure access.

What is the best way to automate publishing content to ArcGIS Online?

Automating ArcGIS publishing involves using the arcgis Python package to programmatically manage item creation and publishing workflows, reducing manual boilerplate and handling common errors during content deployment.

Can I manage content sharing with ArcGIS groups using a Python script?

Yes, you can manage ArcGIS content sharing programmatically by applying Python patterns that automate item updates and share content with specific organizations or groups via the arcgis package.

Does the arcgis Python package support ArcGIS Enterprise administration tasks?

Yes, the arcgis Python package supports ArcGIS Enterprise administration by providing programmatic workflows for content management, sharing, and automating administrative tasks within Python scripts and notebooks.

Why should I use environment variables for ArcGIS API credentials in Python?

Using environment variables for ArcGIS API credentials in Python ensures safe credential handling by preventing hard-coded secrets in scripts, promoting secure authentication patterns for GIS automation workflows.