Provides Git-like version control tools for ArcGIS web maps, enabling branch management, commits, diffs, and sync with ArcGIS Portal using the gitmap CLI.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install gitmap或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install gitmap⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/gitmap/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
Version control for ArcGIS web maps — exposed as native OpenClaw tools.
GitMap provides Git-like version control for ArcGIS Online and Enterprise Portal web maps. This skill wraps the gitmap CLI as thin subprocess calls, exposing branch, commit, diff, push/pull, and map discovery as callable tools.
8 tools | Thin CLI wrapper | No local database | Requires: gitmap-core Python package
---
pip install gitmap-core
Set the following environment variables:
export PORTAL_URL="https://your-org.maps.arcgis.com"
export ARCGIS_USERNAME="your_username"
export ARCGIS_PASSWORD="your_password"
Security Note: Prefer using scoped API tokens over plaintext passwords when possible.
---
https://myorg.maps.arcgis.com)---
gitmap_list — List available web maps from Portal (with optional filters)gitmap_status — Show working tree status for a local GitMap repogitmap_log — View commit history for a repogitmap_commit — Commit current map state with a messagegitmap_branch — List or create branches in a repogitmap_diff — Show changes between commits or branchesgitmap_push — Push committed changes to ArcGIS Portalgitmap_pull — Pull latest map from ArcGIS Portal---
gitmap_listDiscover web maps in Portal.
gitmap_list(
query=None, # Search query (e.g., "title:MyMap")
owner=None, # Filter by owner username
tag=None, # Filter by tag
max_results=50, # Max results to return
portal_url=None, # Portal URL (or use PORTAL_URL env var)
username=None, # Portal username (or ARCGIS_USERNAME env var)
password=None, # Portal password (or ARCGIS_PASSWORD env var)
cwd=None, # Working directory (default: home)
)
gitmap_statusShow repo status.
gitmap_status(
cwd, # Path to GitMap repository (required)
)
gitmap_commitCommit current changes.
gitmap_commit(
message, # Commit message (required)
cwd, # Path to GitMap repository (required)
author=None, # Override commit author
)
gitmap_branchList or create branches.
gitmap_branch(
cwd, # Path to GitMap repository (required)
name=None, # Branch name to create (omit to list)
delete=False, # Delete the named branch
)
gitmap_diffShow changes between versions.
gitmap_diff(
cwd, # Path to GitMap repository (required)
branch=None, # Compare with this branch
commit=None, # Compare with this commit hash
)
gitmap_pushPush changes to Portal.
gitmap_push(
cwd, # Path to GitMap repository (required)
branch=None, # Branch to push (default: current)
portal_url=None, # Portal URL
username=None, # Portal username
password=None, # Portal password
)
gitmap_pullPull changes from Portal.
gitmap_pull(
cwd, # Path to GitMap repository (required)
branch=None, # Branch to pull (default: current)
portal_url=None, # Portal URL
username=None, # Portal username
password=None, # Portal password
)
gitmap_logView commit history.
gitmap_log(
cwd, # Path to GitMap repository (required)
branch=None, # Branch to show log for
limit=None, # Max commits to show
)
---
# Find maps owned by a user
gitmap_list(owner="john.doe", max_results=20)
# → returns table of maps with item IDs
# Then clone manually:
# cd ~/maps && gitmap clone <item_id>
# Check what changed
gitmap_status(cwd="~/maps/MyWebMap")
# Commit changes
gitmap_commit(message="Updated layer symbology", cwd="~/maps/MyWebMap")
# Push to Portal
gitmap_push(cwd="~/maps/MyWebMap")
# List branches
gitmap_branch(cwd="~/maps/MyWebMap")
# Create a feature branch
gitmap_branch(name="feature/new-basemap", cwd="~/maps/MyWebMap")
# After editing, commit and push feature branch
gitmap_commit(message="Added satellite basemap", cwd="~/maps/MyWebMap")
gitmap_push(cwd="~/maps/MyWebMap", branch="feature/new-basemap")
# Recent commits
gitmap_log(cwd="~/maps/MyWebMap", limit=10)
# What changed since main?
gitmap_diff(cwd="~/maps/MyWebMap", branch="main")
---
HTTP server at localhost:7400 (when running):
python server.py
Endpoints:
POST /tools/{tool_name} — Call a tool with JSON bodyGET /health — Health check---
Install command:
pip install gitmap-core
The skill uses the gitmap_core Python package directly for API access.
---
gitmap list doesn't require a local repo — it queries Portal directly. NOT implement clone, init,- This skill does merge, checkout, l, or setupsm, context-repos — call the CLI directly for those.
---
安装 Git-Map 后,可以对 AI 说这些话来触发它
Help me get started with Git-Map
Explains what Git-Map does, walks through the setup, and runs a quick demo based on your current project
Use Git-Map to git-like version control tools for ArcGIS web maps, enabling branch...
Invokes Git-Map with the right parameters and returns the result directly in the conversation
What can I do with Git-Map in my developer & devops workflow?
Lists the top use cases for Git-Map, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/gitmap/ 目录(个人级,所有项目可用),或 .claude/skills/gitmap/(项目级)。重启 AI 客户端后,用 /gitmap 主动调用,或让 AI 根据上下文自动发现并使用。
Git-Map 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Git-Map 可免费安装使用。请查阅仓库了解许可证信息。
Provides Git-like version control tools for ArcGIS web maps, enabling branch management, commits, diffs, and sync with ArcGIS Portal using the gitmap CLI.
Git-Map 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using Git-Map
Identifies repetitive steps in your workflow and sets up Git-Map to handle them automatically