Skip to content

registry: add ArcGIS Pro harness (cli-anything-arcgis-pro)#318

Merged
yuh-yang merged 2 commits into
HKUDS:mainfrom
Jasper0122:add-arcgis-pro-registry
May 31, 2026
Merged

registry: add ArcGIS Pro harness (cli-anything-arcgis-pro)#318
yuh-yang merged 2 commits into
HKUDS:mainfrom
Jasper0122:add-arcgis-pro-registry

Conversation

@Jasper0122

Copy link
Copy Markdown
Contributor

Type: New CLI (standalone repo, registry-only PR)

Adds an ArcGIS Pro harness to the CLI-Hub registry.

ArcGIS Pro is Esri's closed-source commercial GIS desktop app — the natural
counterpart to the existing QGIS harness, but it can't be auto-generated from
source, so this wraps the official ArcPy / ArcGIS Pro SDK instead.

Per CONTRIBUTING.md Option 2 (standalone repository), this PR only adds one
entry to registry.json. The harness lives at
👉 https://github.com/Jasper0122/CLI-Anything-Arcgis-Pro

What it provides

  • Headless CLI (cli-anything-arcgis-pro): info / project / layout
    (export + Map Series / map books) / data (query & edit) / gp (the whole
    ArcToolbox) / batch. JSON output on every command.
  • Live bridge + MCP (bonus): an in-process ArcGIS Pro .NET add-in exposes
    the open project over MCP (arcgis_ping / export_layout / zoom_to /
    query / run_gp) so an agent can drive the running session while the user
    watches — something external ArcPy can't do.

Requirements checklist (Option 2)

  • Installable: pip install git+https://github.com/Jasper0122/CLI-Anything-Arcgis-Pro.git
  • SKILL.md present (entry skill_md → raw URL)
  • Tests: test_core.py (no backend) + test_full_e2e.py (needs ArcGIS Pro) — 8 passing
  • registry.json entry added (this PR), source_url → the standalone repo
  • category: scientific (same as QGIS)

Verified on ArcGIS Pro 3.4 / ArcPy 3.4.3 / .NET 8.

🤖 Generated with Claude Code

@github-actions github-actions Bot added new-cli Adds a new CLI or generated harness cli-anything-hub Changes CLI-Hub, registries, or hub docs labels May 30, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d6efa638b6

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread registry.json Outdated
Jasper0122 added a commit to Jasper0122/CLI-Anything-Arcgis-Pro that referenced this pull request May 30, 2026
Addresses the Codex review on HKUDS/CLI-Anything#318: the CLI-Hub installs
harnesses with its own interpreter (sys.executable -m pip install), which won't
be ArcGIS Pro's arcgispro-py3 that provides arcpy — so the entry point would
fail at runtime.

The console entry point now re-dispatches into arcgispro-py3 (located via common
paths, the ESRI\ArcGISPro registry key, or CLI_ANYTHING_ARCGIS_PYTHON) when arcpy
is missing in the current interpreter. Verified: installing into a non-arcpy
Python (miniconda) and running `cli-anything-arcgis-pro --json info` correctly
re-dispatches and returns the live ArcInfo license.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@omerarslan0

Copy link
Copy Markdown
Collaborator

This is a standalone external repo, but the entry is going into registry.json. That registry is for in-repo agent-harness packages installed via pip install git+https://github.com/HKUDS/CLI-Anything.git#subdirectory=<name>/agent-harness. External standalone repos belong in public_registry.json — same convention we're holding #309 to.

Before re-review:

  1. Move the entry to public_registry.json and drop the registry.json change entirely.
  2. Confirm entry_point (cli-anything-arcgis-pro) matches the actual console script declared in the external repo's pyproject.toml/setup.py.
  3. Pin install_cmd and skill_md to a tagged release or commit SHA instead of main, so the registry entry stays reproducible.
  4. requires is good on the ArcPy/.NET side. Add the OS constraint explicitly (ArcGIS Pro is Windows-only) so agents can gate on platform.

@Jasper0122

Copy link
Copy Markdown
Contributor Author

Thanks @omerarslan0 — all four addressed in cec9243. The PR is now a clean +21/-0 to public_registry.json only.

  1. Moved to public_registry.json and dropped the registry.json change entirely — agreed, this is an external standalone repo, same as feat: add cli-anything-everything — agent-native CLI for Everything file search #309.
  2. entry_point confirmedcli-anything-arcgis-pro is the console script declared in the external repo's pyproject.toml ([project.scripts] cli-anything-arcgis-pro = "cli_anything_arcgis_pro.__main__:main").
  3. Pinned to a tag — cut release v0.1.0 (commit c045391); both install_cmd (...git@v0.1.0) and skill_md (.../blob/v0.1.0/SKILL.md) now point at it instead of main.
  4. OS constraint added"platform": "windows" for machine gating, plus an explicit "Windows only — ArcGIS Pro is Windows-only" note in requires.

Ready for re-review.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cec9243e1e

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread public_registry.json
@chatgpt-codex-connector

Copy link
Copy Markdown

To use Codex here, create a Codex account and connect to github.

Jasper0122 and others added 2 commits May 31, 2026 09:01
Address maintainer review (@omerarslan0):
- Move the entry from registry.json (in-repo agent-harness packages)
  to public_registry.json (external standalone repos), per the HKUDS#309 convention.
- Pin install_cmd and skill_md to the v0.1.0 tag instead of main for
  reproducibility.
- Add explicit Windows-only OS constraint (platform: windows + requires note)
  so agents can gate on platform; ArcGIS Pro is Windows-only.
- entry_point cli-anything-arcgis-pro matches the console script in the
  external repo's pyproject.toml.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@yuh-yang
yuh-yang force-pushed the add-arcgis-pro-registry branch from cec9243 to 4158fee Compare May 31, 2026 09:03
@yuh-yang
yuh-yang merged commit 597c170 into HKUDS:main May 31, 2026
1 check passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4158feee68

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread public_registry.json
yuh-yang pushed a commit that referenced this pull request Jun 2, 2026
Add a Real-World Demos entry for the arcgis-pro harness (listed in
public_registry.json, merged in #318): an agent driving a live ArcGIS Pro
session over the MCP bridge — read project, zoom to layers, run GP, export
layouts. GIF (860px/15fps, 3.3MB) generated from the local demo video with
the standard ffmpeg palette workflow.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli-anything-hub Changes CLI-Hub, registries, or hub docs new-cli Adds a new CLI or generated harness

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants