gitmap
by 14-tr
Web & Frontend DevelopmentBrief
Version control for ArcGIS web maps — exposed as native OpenClaw tools.
Description
What This Skill Does
GitMap wraps the `gitmap` CLI to expose Git-like version control for ArcGIS web maps as callable tools. It covers branch, commit, diff, push/pull, and map discovery against ArcGIS Online and Enterprise Portal. No local database is required.
ArcGIS Online has no native version history for web maps; GitMap adds branching, diffing, and commit history without requiring a local database.
When to Use It
- Tracking layer symbology changes before publishing to Portal
- Creating feature branches for experimental basemap updates
- Reviewing commit history of a shared team web map
- Syncing local map edits back to ArcGIS Online
- Discovering and filtering web maps owned by a specific user
Example Workflow
User asks: Commit my current web map edits and push them to Portal
- 1
Calls gitmap_status to show what changed in the local repo
- 2
Calls gitmap_commit with the user's message to snapshot the current map state
- 3
Calls gitmap_push to sync committed changes to ArcGIS Portal
Status summary, commit hash confirmation, and push result indicating the map is up to date on Portal
Requirements
- gitmap-core Python package (pip install gitmap-core)
- ArcGIS Online or Enterprise Portal account
- PORTAL_URL environment variable
- ARCGIS_USERNAME environment variable
- ARCGIS_PASSWORD environment variable (scoped API token preferred)
Installation
clawhub install 14-tr/gitmapRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.