Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

arcgis-to-portaljs

Skill by datopian

Migrates a whole ArcGIS Hub open-data site into a PortalJS Arc portal in one pass. Built for City or sector teams moving Hub datasets onto PortalJS with no server-side compute.

  • Score 87
  • 2.4k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install arcgis-to-portaljs

Built from the published package, never by AI.

git clone --depth 1 https://github.com/datopian/portaljs /tmp/portaljs && mkdir -p ~/.claude/skills && cp -r /tmp/portaljs/skills/arcgis-to-portaljs ~/.claude/skills/arcgis-to-portaljs

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install arcgis-to-portaljs in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

arcgis-to-portaljs is an agent skill that migrates an ArcGIS Hub open-data site into a PortalJS Arc portal. It reads the Hub's /data.json DCAT-US catalog, then exports each FeatureService layer through the ArcGIS REST query API using resultOffset paging. Vector layers are converted to PMTiles for rendering and GeoParquet for querying, and tabular items become Parquet.

The derived files are tracked with Git LFS and pushed to Cloudflare R2, and dual-tier datasets.json entries are appended. The skill also writes a parity report that compares each source layer with its derived output. It is aimed at City or sector teams moving an ArcGIS Hub portal onto PortalJS with no server-side compute.

Written from the project's SKILL.md and checked against it.

What it can do

  • Harvest Hub catalogReads the Hub /data.json (DCAT-US) and classifies each item as vector, table, or non-data.
  • Export FeatureService layersPulls layer features through the ArcGIS REST query API with resultOffset paging.
  • Dual-tier conversionConverts vector layers to PMTiles and GeoParquet, and tabular items to Parquet.
  • R2 publishTracks outputs with Git LFS and pushes them to Cloudflare R2 through Giftless.
  • Catalog entriesAppends dual-tier datasets.json entries, upserting on namespace and slug.
  • Parity reportWrites arcgis-parity-report.md comparing record count, extent, schema, and geometry validity.

What you need

  • A scaffolded PortalJS portal with geo showcase components (PR #1647 or later)
  • Node.js 18+ and Next.js 14 or React 18/19 portal
  • Native GDAL, tippecanoe, duckdb with spatial, and jq
  • Arc credentials for R2 push, or a self-hosted Giftless
  • macOS or Linux, or Windows through WSL

Try asking

  • Migrate the ArcGIS Hub at hub-lewisville.opendata.arcgis.com into my PortalJS portal
  • Dry-run an inventory of this Hub site without writing any files
  • Write a parity report comparing source layers with derived PMTiles and GeoParquet

Good to know

  • Requires native GDAL, tippecanoe, duckdb and jq on the operator's machine.
  • Layers that error or hit a hard transfer cap are logged and skipped.
  • Needs a PortalJS template that ships the geo showcase components.

Security check

B
  • Allowed to use Write, Edit without limitsIn SKILL.md

Checked automatically: skills/arcgis-to-portaljs/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: ReadWriteEditBash(ogr2ogr:*)Bash(ogrinfo:*)Bash(tippecanoe:*)Bash(duckdb:*)Bash(git:*)Bash(curl:*)Bash(jq:*)Bash(npx:*)Bash(node:*)Bash(mkdir:*)Bash(cp:*)Bash(wc:*)Bash(command:*)WebFetch

  • SKILL.md8 KB
  • references/reference.md5 KB
  • references/sync-and-cutover.md15 KB

Alternatives to arcgis-to-portaljs

All alternatives →
kaggle-cliKaggle
94

Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.

AAA Skill 7.7k
bigquery-bigframesgoogle
94

Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.

AAA Skill 25k
data-loadingmicrosoft
94

Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.

AAA Skill 18k
data-manager-api-setupgoogle
94

Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.

AAA Skill 25k
managed-airflow-dag-authoringgoogle
94

Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.

AAA Skill 25k
data-feedsdavila7
94

Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.

AAA Skill 34k

Compare with kaggle-cli, bigquery-bigframes or data-loading

arcgis-to-portaljs: common questions

Does this migration need server-side compute?

The source says it runs almost fully automated on the operator's machine with no server-side compute.

What happens if a FeatureService layer fails to export?

It is logged and skipped. The source suggests keyset paging or a customer File Geodatabase dump for that layer.

Which operating systems does it support?

The compatibility note lists macOS and Linux, with Windows supported through WSL.

How do I install arcgis-to-portaljs?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is arcgis-to-portaljs free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is arcgis-to-portaljs safe to use?

It scores 87 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.

What are alternatives to arcgis-to-portaljs?

Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.

arcgis-to-portaljs Install

Add to stack

Loading.