portal

Configures and operates the portal CLI for ArcGIS Online and Enterprise Portal item management.

1|Updated Sep 3, 2017
One-click install
npx skills add https://github.com/mmgeorge/config --skill portal-mmgeorge
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: portal
Source: https://github.com/mmgeorge/config/tree/main/rulesync-global/.rulesync/skills/portal
Command: npx skills add https://github.com/mmgeorge/config --skill portal-mmgeorge

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Managing ArcGIS Online and Enterprise Portal content through a CLI involves ambiguous title-based lookups, persisted selections that can point at the wrong item, silent failures hidden behind zero exit codes, and destructive operations that never prompt. This Skill provides a safe, explicit workflow for authenticating, discovering, inspecting, sharing, exporting, and modifying Portal items without accidental mutations. ## Core Features & Use Cases - Portal configuration and authentication: Add, switch, and remove Portal aliases, manage cached tokens, and control persisted per-type item selections safely. - Item discovery and management: Search items by title, tags, or owner, resolve them to 32-character item IDs, inspect metadata and resources, share with explicit levels, and delete with verification. - Feature Layer and Web Map operations: Copy, clone, and export Feature Layers with tracked jobs, manage cache and multiscale settings, inspect Web Maps, and create ArcGIS Play documents with privacy safeguards. - Use Case: You need to export layer 0 from a private Feature Layer in your production Portal to GeoJSON. The Skill guides you to resolve the item ID explicitly, start the export with a title and parameters JSON, track the local job, and verify job content rather than trusting the exit code. ## Quick Start Ask the assistant to list your hosted Feature Layers in a specific Portal alias and inspect five sample features from the one you name.

Frequently Asked Questions about portal

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

FAQPage Schema
How do I export a Feature Layer from ArcGIS Portal to GeoJSON?▼

Use portal item feature export start with the item ID, --portal alias, a format like geojson, a title, and a parameters JSON object. Track the returned local job with portal job status, then download the result with portal item feature export download to an explicit output path.

How do I share an ArcGIS Portal item with my organization?▼

Run portal item any share with the explicit item ID, --portal alias, and --level org. Never omit --level because sharing defaults to public, and verify the resulting access level with a metadata lookup afterward.

Why does Portal item deletion show [Failed] but still succeed?▼

The delete command can print [Failed] while still producing success-shaped completion output and a zero exit code. Always verify deletion with an explicit metadata lookup or list search rather than trusting the exit status.

Can I use a Portal item title instead of an item ID?▼

Titles are treated as exact, case-sensitive matches and fail when ambiguous, so they are unsafe for mutations. Use list commands to discover the 32-character item ID first, then pass that ID to every subsequent command.

Does ArcGIS Play creation expose private Web Map data?▼

Yes. The app commands post documents to an Esri-hosted ArcGIS Play service, and --mini modes upload the embedded Web Map JSON, which can expose private layer URLs and renderers. Request explicit approval before using mini modes with private maps.

When should I use the parquet skill instead of the portal skill?▼

Route all Parquet work to the parquet skill, including portal tools parquet, portal item parquet, _spatial.json resources, Azure Parquet delivery, and ParquetLayer workflows. The portal skill covers Feature Layers, Web Maps, and generic item management only.